Looking at your HTML source, there's simply no <img src> trying to call an image. This suggests that it doesn't see anything in the database. To give useful advice I'd have to know what version you were upgrading from, but from some ancient versions you may need to run the attachments importer which the upgrade linked to at the end of the first run. You can go back to it manually by visiting attachimport.php. I just checked that for you and it seems to not change anything, though.
Go into phpmyadmin and click on the wsngallery_attachments table, then go to the "browse" tab. How many records does it show? Is that the number of images you expect to have? If so, check if the filename field is filled in for them. If not, run this SQL: SELECT * FROM wsngallery_links WHERE filename != ''; Does that give any results?
'scan001211.jpg', 'scan0012.jpg'
This part of your record suggests that attachimport.php didn't run successfully -- when it runs, it's supposed to remove the file names from the wsngallery_links table after transfering them to the wsngallery_attachments table. I can't recall which version needed attachimport.php, but it was several years ago so it's possible the file has broken since then. I'll try to test it but I don't know what version number I should be testing.
Also, turn debug mode off -- images won't load with debug mode on and there are no mysql warnings involved so it's not helping.
Please try to stay within a year of current, it's virtually impossible to ensure that upgrades are easy beyond that timeframe. Though I'm going to be writing an importer to handle everything from the pre-4.1 era the same as if it were importing from another script, soon.
0/5
1
2
3
4
5
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on After Upgrade - no images...
Member
Usergroup: Customer
Joined: Jan 19, 2006
Total Topics: 7
Total Comments: 18
yes
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Looking at your HTML source, there's simply no <img src> trying to call an image. This suggests that it doesn't see anything in the database. To give useful advice I'd have to know what version you were upgrading from, but from some ancient versions you may need to run the attachments importer which the upgrade linked to at the end of the first run. You can go back to it manually by visiting attachimport.php. I just checked that for you and it seems to not change anything, though.
Go into phpmyadmin and click on the wsngallery_attachments table, then go to the "browse" tab. How many records does it show? Is that the number of images you expect to have? If so, check if the filename field is filled in for them. If not, run this SQL:
SELECT * FROM wsngallery_links WHERE filename != '';
Does that give any results?
'scan001211.jpg', 'scan0012.jpg'
This part of your record suggests that attachimport.php didn't run successfully -- when it runs, it's supposed to remove the file names from the wsngallery_links table after transfering them to the wsngallery_attachments table. I can't recall which version needed attachimport.php, but it was several years ago so it's possible the file has broken since then. I'll try to test it but I don't know what version number I should be testing.
Also, turn debug mode off -- images won't load with debug mode on and there are no mysql warnings involved so it's not helping.
Please try to stay within a year of current, it's virtually impossible to ensure that upgrades are easy beyond that timeframe. Though I'm going to be writing an importer to handle everything from the pre-4.1 era the same as if it were importing from another script, soon.