[Solved]Old images not displaying after update to RC3

Forum rules
Support ended: 31.12.2011

[Solved]Old images not displaying after update to RC3

Postby ScrapbookSupplies » Tue Dec 02, 2008 9:56 pm

Gallery Version: 0.4.0-RC3
phpBB Version: 3.0.2
Gallery Component: Update
Gallery-Link

PHP Version: 5.02
Database Version: MySQL


Errormessage:
    Code: Select all
    No error message - images show up as a red 'x'.  Not ALL images are affected, it appears that only the very old images have the problem, which are also images that (I think) were uploaded to our PhotoPost Gallery prior to converting to the phpBB Gallery, though they DID DISPLAY prior to installing the RC3 update.

Errordescription and message
I am having a problem with certain images not displaying - a red 'x' displays instead. As mentioned in the "error message" field, I think the affected images are only ones that were originally uploaded when we had the old gallery prior to converting, though we did not have this issue before upgrading.

Additionally, since we installed the update and now our webhost ran a script to update our file permissions because our site fell under another hack attempt. They scanned the site and found that certain permissions were too high or too low - files that were adjusted that pertain to the gallery were a ton from the "/gallery/upload/" and "/gallery/upload/cache". I can't say that this did or did not affect the problem, because I have not been online, but I thought it might be worth mentioning just in case - I read something about permissions in one of the known bugs (I didn't understand the post but I know permissions did come up once before).

Thank you so very much!
Jeanne
Last edited by ScrapbookSupplies on Tue Dec 02, 2008 10:41 pm, edited 1 time in total.
ScrapbookSupplies
Posts > 50
Posts > 50
 
Posts: 88
Topics: 27
Joined: Sun Apr 27, 2008 4:09 am

Re: Old images not displaying after update to RC3

Postby nickvergessen » Tue Dec 02, 2008 10:05 pm

sounds liek you didn't copy the files to the new directory after the update?
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Old images not displaying after update to RC3

Postby ScrapbookSupplies » Tue Dec 02, 2008 11:23 pm

nickvergessen wrote:sounds liek you didn't copy the files to the new directory after the update?


:o Which files Nick? Was I supposed to copy or move our images or just the mod files? I have the FTP open right now and can check it right away.


Thx
ScrapbookSupplies
Posts > 50
Posts > 50
 
Posts: 88
Topics: 27
Joined: Sun Apr 27, 2008 4:09 am

Re: Old images not displaying after update to RC3

Postby nickvergessen » Tue Dec 02, 2008 11:28 pm

http://code.bantux.de/svn/phpbb-gallery ... update.xml

last point in the copy files:
Copy: gallery/upload/*.*
To: gallery/images/upload/*.*

and the DIY-Instructions:
Browse to install/ and run the update-script

You need to move the files from gallery/upload/cache/ to gallery/images/cache/ .
You need to move the files from gallery/upload/ to gallery/images/upload/ .
:roll:
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Old images not displaying after update to RC3

Postby ScrapbookSupplies » Wed Dec 03, 2008 10:57 pm

I did not understand that the 4.0 was AFTER the 4.0RC3 - I did the "update_0_4_0-RC3_to_0_4_0" and followed it exactly as indicated in the XML - all of my code matched up - I had no problems.

However, now ALL of my images are showing up as red 'x's - nothing is in the gallery now. Do you know what would cause this?

I clicked on the "update" tab when I ran the install script instead of install - hope this is correct.
I have cleared the board cache, R
efreshed the template, theme and imageset,
Resynch'd the Album ID's, Refreshed the gallery thumbnails, Purged the gallery cache & Set the Permissions.
Oh, I also MOVED the images:
From /gallery/upload/ To: /gallery/images/upload/ and
From: gallery/upload/cache To: gallery/images/cache -
(without leaving a copy in the original folders).


Before I do anything else I thought it would be best to stop and ask. I also posted the reply to this ticket because it's so closely related - I know you are trying to get the support tickets organized.

Thank you Nick!


Hello Nick,
I have edited to add that when I look at the gallery via the FTP my cache folder is empty now - after I copied the pictures into it. I am not sure how the program works, so I don't want to copy them from my back up back into it until I hear from you, but as it is right now....

NO IMAGES show on the front of the site
In the .MODS tab (under gallery) that stats say that 1830 images in the gallery
There are a TON of images in the /gallery/images/upload/ directory
There are NO images in the /gallery/images/upload/cache directory (hence the name ''cache", perhaps? :oops: )

I don't know, so I would much prefer to make sure by confirming with someone like you that does know. ;)

PS. The gallery is here if you need to see: http://www.scrapbooksuppliesdirect.com/scrapchat/gallery/
ScrapbookSupplies
Posts > 50
Posts > 50
 
Posts: 88
Topics: 27
Joined: Sun Apr 27, 2008 4:09 am

Re: Old images not displaying after update to RC3

Postby ScrapbookSupplies » Wed Dec 03, 2008 11:41 pm

Please do not be angry for another reply - I did not want to edit my original reply again, but this is pertinant to the problem.

If I click on the "most recent" image icon, I get this error:

Code: Select all
Fatal error: Call to a member function bbcode_second_pass() on a non-object in /home/scrapcha/public_html/scrapbooksuppliesdirect/scrapchat/gallery/image_page.php on line 409


This icon was set to open the image page with comments and rates.


I broke it!!!

Thanks again Nick.
ScrapbookSupplies
Posts > 50
Posts > 50
 
Posts: 88
Topics: 27
Joined: Sun Apr 27, 2008 4:09 am

Re: Old images not displaying after update to RC3

Postby nickvergessen » Thu Dec 04, 2008 12:30 am

ScrapbookSupplies wrote:Please do not be angry for another reply - I did not want to edit my original reply again, but this is pertinant to the problem.
If I click on the "most recent" image icon, I get this error:
Code: Select all
Fatal error: Call to a member function bbcode_second_pass() on a non-object in /home/scrapcha/public_html/scrapbooksuppliesdirect/scrapchat/gallery/image_page.php on line 409

This icon was set to open the image page with comments and rates.
I broke it!!!
Thanks again Nick.

viewtopic.php?f=67&t=953

im getting: You are not authorised to access this area.
so maybe you didn't set the permissions correctly :!:
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Old images not displaying after update to RC3

Postby ScrapbookSupplies » Thu Dec 04, 2008 6:19 am

Well... I was able to get rid of the error message when you click on the last image icon but the images are still not showing up.

I fixed the permissions (for some reason the overall permissions - for the general albums) did not "stick" the first couple of times but they are in there and set now, so that's good.

I added the code referenced for @798 and @797 in the image_page.php file

I changed the code per the addon revision for "1.0.3 to 1.0.4 random images addon". However, because the images are showing as little red 'x's I temporarily reverted back to the version of my index.php with that little piece of code deleted, so the missing pictures were not right up in the front when people came to the forum.

BUT.... The images are still not showing.....

BUT!!! If I view the site with the web developer's bug in FireFox, the thumbnail pops up. This made me look at the file folder/directory permissions - which are all set to 755. I am thinking that my webhost maybe running that script to change some of the settings might have tweaked a little something that is causing this. That makes the most sense to me, as this install went in very, very smooth - and eventhough I can't prove it by my last install, I usually do not have such problems.

Do you by chance have any additional thoughts on this?

Thanks Nick! Am signing off for the evening,
:o)
Jeanne
ScrapbookSupplies
Posts > 50
Posts > 50
 
Posts: 88
Topics: 27
Joined: Sun Apr 27, 2008 4:09 am

Re: Old images not displaying after update to RC3

Postby shahin » Thu Dec 04, 2008 7:47 pm

Have you made the required changes for the index.php?

You need to have

Also do check if you have done the following

http://code.bantux.de/svn/phpbb-gallery ... update.xml

and let us know
shahin
Posts > 50
Posts > 50
 
Posts: 177
Topics: 1
Images: 0
Joined: Sat Nov 22, 2008 7:48 pm
phpBB.com: shahinavthal

Re: Old images not displaying after update to RC3

Postby ScrapbookSupplies » Thu Dec 04, 2008 7:56 pm

Yes, thanks for the help. I did make that change to the index page. Last night I put the index page up that did not have it included (because it looks bad with all the red x's) but I just re-posted it, and they're still red x's.

I keep going back to this post: viewtopic.php?f=58&t=996&hilit=safe+mode about safe mode and images not displaying. It seems strange to me that in Fire Fox some of the thumbnails will display, and that in the gallery/images/upload/ some images have permission attributes of 755 and some are 644. The directories are all 755. I'm thinking it has something to do with safe mode, permissions or a setting like that.

Everything else works - I can comment on images in the gallery, I can use the [album] button and post thumbnails from the gallery into the forum, and do everything as normal, except see the pictures (of course).

Thx,
Jeanne
ScrapbookSupplies
Posts > 50
Posts > 50
 
Posts: 88
Topics: 27
Joined: Sun Apr 27, 2008 4:09 am

Next

Return to Support & Administration

Who is online

Users browsing this forum: No registered users and 0 guests