Firefox loads download file main.php when image clicked. IE fails on click
|
james wynen
Joined: 2006-09-06
Posts: 22 |
Posted: Sat, 2007-03-10 16:01
|
|
OK - Gallery works fine except for this one album. Its very strange. Here is the scenerio - FTP'd images to the server. Added them to a new album called thewho, added using the local server directory. Symlink unchecked (what is this by the way? to locate pictures in their existing directory without moving to the gallery hierarchy?) then deleted the album. Recreated the album with the same name (thewho)then re-added items using local server directory. (I think using the same name made the problem appear) so now the album shows name icons of the file names when the album is viewed and when images are clicked (hit this link to see) http://www.vanwynen.com/gallery_multi/main.php?g2_itemId=38081 and when you click on the images, or click edit (when in admin) it gives the download dialog box in Firefox and in IE it just give an error. Physical Picture files are within the album in the right place. So I am unable to delete the album unfortunately. I re-created the album with a different name and used the applet to upload the pictures and it works fine. So how can I remove this album manually? I assume I will have to delete some table in the database. Before experimenting with this I thought I would ask for a little guidance. |
|
| Login or register to post comments |

Posts: 32324
this sounds just like symptom of a fatal php error. just like blank screens are.
please see:
FAQ: I get only a blank screen when trying to view my Gallery, what's wrong?
--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 22
Yes thats what it is. However, now that the album is corrupted somewhere and I can not click on edit (same fatal php errors) to delete the album how do I dump this album from the database? I will turn on the d-bug, but its not really worth attempting to repair the album since I have already created a new one with the same pictures in it. I just want the corrupted one gone. Is there a way to just delete some tables or data in the database to accomplish this?
thanks for you help.
James
Posts: 32324
did you look at the webserver's error log?
seeing the actual error could help diagnose and fix your problem.
--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 22
Well No PHP Errors... Either in server error log or when I have modified the main.php and also change php.ini to report errors... and chmod 666 to the error textfile.
This is the link to the album -
http://www.vanwylder.com/gallery_multi/main.php?g2_itemId=38081
as you can see it doesnt generate any thumbnails (even when i change size + re-create, although it says it is creating them)
When it loads up an item in the album, say the 2nd picture -
http://www.vanwylder.com/gallery_multi/main.php?g2_itemId=38086
it looks like a file not found in ie and in Firefox brings up the DL dialog with main.php as the file to be dowbloaded.
when clicking on edit while in admin - same results
I am getting ready to start messing with the database, after backup of course
Could you give me some guidance on what to delete to remove the display of this album manually?
thanks
James
Posts: 32324
deleting a whole album with all dependent items, derviatives (thumbs, resizes) and comments, ... by hand is error-prone. even more so if you don't know the database scheme very well.
i suggest you disable your gd, netpbm, exif and imagemagick modules in g2. maybe you can delete the album then.
--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 22
ROCKSTAR -
Worked. Thanks
Making a $30 donation now.
thanks
James
Posts: 32324
excellent, thanks
--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage