Blank Paged After Update To 2.0 »  Show posts from    to     

Icy Phoenix


Old Support Topics - Blank Paged After Update To 2.0



Rene [ Thu 13 Dec, 2012 16:27 ]
Post subject: Blank Paged After Update To 2.0
Hello,

I just found some other error in my board after Upgrade to 2.0

The following menu links result in blank pages:

Album
Download
Personal Pics
Sitemap

Display of user profiles is also not possible.

What could be the problem here?


Joshua203 [ Thu 13 Dec, 2012 17:26 ]
Post subject: Re: Blank Paged After Update To 2.0
I think it would be best to provide a link to your website Rene


Rene [ Thu 13 Dec, 2012 19:22 ]
Post subject: Re: Blank Paged After Update To 2.0
Just as i want to add a new demo user I realize that the links are working now, maybe it was something with caching.

I only have to open issues:

- Sitemap is only displayed as XML, it says no stylesheet is referenced.

screenshot127

- In album page it seems that all images cannot be found. Do I have to change all path? I thought there was a point during the migration procedure, but i didn't know what path I had to replace exactly.

screenshot126


Joshua203 [ Thu 13 Dec, 2012 20:34 ]
Post subject: Re: Blank Paged After Update To 2.0
Rene wrote: [View Post]
- Sitemap is only displayed as XML, it says no stylesheet is referenced.

That is normal for a sitemap


Quote:
- In album page it seems that all images cannot be found. Do I have to change all path? I thought there was a point during the migration procedure, but i didn't know what path I had to replace exactly.

Please check the upgrade instructions and make sure you followed them exactly, especially point 8 in your case.. http://www.icyphoenix.com/docs/readme_english.html#upgrade_ip


Rene [ Fri 14 Dec, 2012 13:20 ]
Post subject: Re: Blank Paged After Update To 2.0
Hi, i changed the path during migration.

screenshot130

It seems that the path to the image is not correct in DB.

For example:

PicId 200
img src="album_thumbnail.php?pic_id=200

Entry in IP_album column pic_filename = 2/2/2/IMG_0045.JPG

Path on FTP: /public_html/board/files/album/users/2/IMG_0045.JPG


Joshua203 [ Fri 14 Dec, 2012 13:55 ]
Post subject: Re: Blank Paged After Update To 2.0
link please?


Joshua203 [ Fri 14 Dec, 2012 14:07 ]
Post subject: Re: Blank Paged After Update To 2.0
Make sure that you did these steps:

upgrade instructions wrote: 
17.Run install/database_update.php to update your DB (i.e. http://www.mysite.com/ip/install/database_update.php).
18.Run install/install.php since you need to run Add Uploaded Images To DB (Upgrading from Icy Phoenix 1.3 or above) to add all uploaded images to DB (i.e. http://www.mysite.com/ip/install/install.php).


Joshua203 [ Fri 14 Dec, 2012 14:24 ]
Post subject: Re: Blank Paged After Update To 2.0
..and:

Fresh install wrote: 
3.Set the permissions to CHMOD 777 to the following files and folders:
◦files/
◦files/album/
◦files/album/cache/
◦files/album/med_cache/
◦files/album/users/
◦files/album/wm_cache/
◦files/images/
◦files/thumbs/
◦files/thumbs/s/


TheSteffen [ Fri 14 Dec, 2012 15:41 ]
Post subject: Re: Blank Paged After Update To 2.0
Rene wrote: [View Post]
Entry in IP_album column pic_filename = 2/2/2/IMG_0045.JPG

The pfad is wrong:

Should be 2/IMG_0045.JPG
The 2 is the User-ID from the user how upload the pic.
So if you have other users than you, you have check this too.

My fix would be:
  1. Make a backup of your DB or at least for ip_album
  2. run the script for renaming all pfads (see below)


Code: [Hide] [Select]
UPDATE ip_album
SET pic_filename = REPLACE(pic_filename, '2/2/2/', '2/')
WHERE pic_filename LIKE '%2/2/2/%'


That should work




Powered by Icy Phoenix