WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Attached images do not appear

Version: 3.20
printPrint


Page: 1 2

Attached images do not appear
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 08/07/05 - 09:52 AM:
quote post
#16
I installed 3.22 on separate server - attachments work fine - I tried running upgrade.php and it gives me blank page, so I assume the system checks the current version installed and runs the upgrade if it is old. That's why I'm getting blank upgrade page on my main server since I did upgraded it an the current version is the last one. Is this the case why I'm getting blamk upgrade page? I'm still trying to figure what I need to do to make attachments work in the upgraded version - I have a feeling something went wrong with the db fields and I need re-do its structure. I tried importing data into the freshly installed 3.21, but it was giving me errors since I have additional fields in the tables.. so I imported the whole DB and attachments don't work either, so I know it has to do with the incorrectly upgraded DB and not the files. Is there a way to run upgrade on the DB separately?

Real Estate Business Directory
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6339
Posted 08/07/05 - 03:21 PM:
quote post
#17
I assume the system checks the current version installed and runs the upgrade if it is old.

No. The version you're using has nothing to do with upgrade.php, upgrade.php is designed to be version-independent so that it works properly and causes no harm when run on any database 2.40 to present.

Is there a way to run upgrade on the DB separately?

That's what I wrote upgrade.php for. Are you supressing errors, can you get any debug output?

The attachments importer is another file, something like attachimporter.php, linked at the end of upgrade. But if upgrade isn't completing you don't have all the fields/tables you require.

Edited by Paul on 08/07/05 - 03:23 PM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Posts: 200
Posted 08/08/05 - 07:31 AM:
quote post
#18
No I'm not supressing errors ?debug=1 gives me all the queries and errors on other pages, but upgrade.php?debug=1 - blank page.

BTW, I ran attachimporter.php and to my big surpise it moved one image to the attachments table - I have no clue how it got there because I have probably 100 attachments... I tried to attach additional images through the edit page, but it keep saying I can attach only 0 files which I aready mentioned before.. - all the permissions set to attach 5 files..

Real Estate Business Directory
Search thread for
Download thread as

Page: 1 2



You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.