![]() |
|
Upgrading to 1.0.0 - path errors - Help!! - 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: Upgrading to 1.0.0 - path errors - Help!! (/thread-211.html) Pages:
1
2
|
Upgrading to 1.0.0 - path errors - Help!! - ayutheos - 2006-01-11 Upgraded to 1.0b from 0.9b but the all the images and css style files are not loaded. What I'm getting is a barebone html file with text and empty image placeholders. The respective albums show up on the page, but without images and styling. All links are broken e.g link to album is shown as Same goes for all links (portion of source of loaded webpage) `` [img]//zen/i.php?a=2005-12-06&i=IMG_6237.JPG&s=thumb[/img] 2005-12-06 ` Edited config.php as instructed, not using mod_rewrite. Admin page loads fine. Images in admin pages load fine. Help!!!~~ Upgrading to 1.0.0 - path errors - Help!! - peh - 2006-01-11 For what it's worth... I have same problem. Upgrading to 1.0.0 - path errors - Help!! - legobuff - 2006-01-11 I have the same problem... I do not know what the ultimate fix would be, but I did the following to get it to work for now. in config.php I changed I also added the following: and then in in my zenphoto directory, I renamed the .htaccess so that it no longer works. now it at least works. -Jamie Upgrading to 1.0.0 - path errors - Help!! - Chilifrei64 - 2006-01-11 I to ran into the same problem. I did what legobuff did and this worked for me. http://beta.chilifrei.net/zenphoto1 Just a few things... Really everything else works great.. My first install with .9 on IIS was troublesome.... this install was quick and clean.. the problem listed above was the only problem and it was easily fixed.. so far everything else works Great job!!! Upgrading to 1.0.0 - path errors - Help!! - DarrellD - 2006-01-12 Yep, Ran into the same exact problem, but did what legobuff said above and it works great! Upgrading to 1.0.0 - path errors - Help!! - Aneesah - 2006-01-12 I'm having the same problem, and already changed mod_rewrite to false. But where exactly do I put in this? define('SERVERPATH', '[full path]/zenphoto'); In config.php too? Upgrading to 1.0.0 - path errors - Help!! - Chilifrei64 - 2006-01-12 for me, I put it in the config.php right under where I set mod rewrite to false. Not sure if it makes to much of a difference "where you put it, as long as you dont tie it in with the actual code they got in there. Upgrading to 1.0.0 - path errors - Help!! - Aneesah - 2006-01-12 I entered that bit in config.php but now it just says "Error: The 'albums' directory cannot be found or is not readable." I just had to change "zenphoto" to what I named my zenphoto folder, right? Mine's "gallery". Hmmm. Upgrading to 1.0.0 - path errors - Help!! - DarrellD - 2006-01-12
define('WEBPATH', '/zenphoto'); define('SERVERCACHE', SERVERPATH . "/cache"); define('WEBCACHE', WEBPATH . "/cache");`
5)The next line would point to your cache directory (which should be inside your zenphoto directory), so if you have [i]not[/i] moved the location of your cache folder, you can leave the last two lines alone. If you [i]have[/i] moved them, make sure you change the last two lines to reflect those changes. Upgrading to 1.0.0 - path errors - Help!! - trisweb - 2006-01-12 Sounds like the path resolution changes were not too good... sorry about that. The fix GameDudeX posted should indeed work to set the paths manually, but that means you have to know what they are. I'll definitely look into this problem before the final release. Upgrading to 1.0.0 - path errors - Help!! - Aneesah - 2006-01-13 Thanks GameDudeX, now the gallery and album pages show up, but the individual photo pages are broken links. =/ And I'm not sure the URL is wrong, either, for instance http://aneesah.pixelled.com/gallery/index.php?album=photos&image=blown.jpg is the address for an image in the photos album, but I get the broken image icon. Upgrading to 1.0.0 - path errors - Help!! - snkhan - 2006-01-14 Works beautifully, thanks! I had to make a slight alteration to i.php again, at line 88: $fp=fopen($newfile,"w");fclose($fp); Upgrading to 1.0.0 - path errors - Help!! - snkhan - 2006-01-14 Regular links on the page are now being tranformed from (example) friends.php : http://www.thekhans.me.uk/friends/gallery/Shimla+Pinks/origami.php Which subsequently yields 'image not found' error. Oddly enough, the source code reveals that the link is indeed friends.php - so I'm not sure why the browsers are loading another address. Saj Upgrading to 1.0.0 - path errors - Help!! - icco - 2006-01-16 I currently am having issues with this too. I just install version 1.01 and tried to fix the problem by adding the above, which got everything working except for images, which are still borked. Any suggestions? Upgrading to 1.0.0 - path errors - Help!! - Chilifrei64 - 2006-01-16 make sure the albums directory and cache directory are chmod 777 Upgrading to 1.0.0 - path errors - Help!! - icco - 2006-01-16 ya they are edi: created new post for my problem Upgrading to 1.0.0 - path errors - Help!! - Jan - 2006-01-26 Any updates on this issue? Is there a fix on the way? PS. Thanks for such a lovely gallery! Upgrading to 1.0.0 - path errors - Help!! - biffta - 2006-01-26 I think there is a much easy way of fixing this issue that GameDudeX's solution and it allows you to keep MOD_REWRITE switched on. I have posted this a few times already and it seemed to help people so I will post it again: Keep the config.php file standard then edit the zen/functions.php file as follows Upgrading to 1.0.0 - path errors - Help!! - dansroka - 2006-01-27 Thanks Biffta. That's a great fix to have! Upgrading to 1.0.0 - path errors - Help!! - Jan - 2006-01-27 @Biffta: Thanks, got it to work now. |