ZenphotoCMS Forum
Migrating - problem with image urls - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Migrating - problem with image urls (/thread-6608.html)



Migrating - problem with image urls - kiwus - 17-02-2010

Hi I recently migratet from one server to another. On the first one ZenPhoto was installed in root directory, in the second one it is within a folder /top-parkiet/

The problem is with $tburl which basically isn't relative.
Links look like /top-parkiet/albums/....
when they should be like /albums/...

can someone assist? There probably is another variable for this i just cannot find it.




Migrating - problem with image urls - acrylian - 17-02-2010

Did you run setup? Is the htaccess file correct?




Migrating - problem with image urls - kiwus - 17-02-2010

why should i run setup again if i am migrating? I didn't. I copied all the files and exported database




Migrating - problem with image urls - dazkeirle - 17-02-2010

run it, it will fix all the bad paths.




Migrating - problem with image urls - kiwus - 17-02-2010

ok I did, the images work, but there's still issue with thumbnails

http://kiwus.vizz.pl/top-parkiet/index.php?album=zdj-cia&page=1
this is the actual page, as you can see all the thumbnails url's are beginning with /top-parkiet/




Migrating - problem with image urls - acrylian - 17-02-2010

Please see: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#40