![]() |
|
links to album not working - 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: links to album not working (/thread-876.html) |
links to album not working - pyrofenix - 2006-11-08 I have installed zenphoto 1.0.3 and can get into the admin area where I was able to create a new album and upload a few test photos. When I view the main page I see the album with it's thumbnail but when I click on that album I get a 404 error. I know WHY, I just don't know how to fix it. http://www.pyrofenix.com/gallery/ Thanks! links to album not working - Jeff - 2006-11-09 Hello, I have the same probleme. How is possible to change this ? Thank you links to album not working - carasmo - 2006-11-09 This happened to me. What I did to fix it was to open the .htacess file and make sure the line next to "RewriteBase" is correct. It wasn't. Don't put in a trailing slash. !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!RewriteBase /gallery So the line in the file should be: RewriteBase /gallery This is for people using a folder named "gallery" if you are using a different folder name, change the rewrite path to reflect that. links to album not working - trisweb - 2006-11-10 Jeff and pyrofenix - A lot of people make the mistake that the directories in the folder are how the URL's should look, but that's not even the case. Everything in the URL is translated by mod_rewrite if your server supports it, and they don't have anything to do with the folders except for the names. They're actually arguments to the script. :-) So carasmo is exactly right, you just have to be sure your .htaccess is configured correctly. links to album not working - Jeff - 2006-11-10 OK, Thank You, All is OK, The problem was this one, with my FTP I could't see .htacces, Thank You links to album not working - carasmo - 2006-11-11 Mac OS 10 can't see .htacess (all files with a period in front are invisible), so what I do is upload it to the server and then download back and rename it at the same time to htacess.txt You can see things with your terminal set up or by the way I did it (there's another way, but I can't remember how to turn on invisibles, I can search for them, but can't make them appear yet. There's too much stuff to learn and not enough time. links to album not working - pyrofenix - 2006-11-11 Yup, I realized my mistake yesterday evening. it's working now. Thanks for the help carasmo! links to album not working - trisweb - 2006-11-11 I might change the .htaccess in the archive to a plain htaccess (no dot). It's an extra install step to rename it, but that can go in the instructions. An alternative is automatic creation in the install, which I will definitely move toward in the future. Eventually I want to have zp-config.php contain only database info, the rest in a real options interface. links to album not working - cynthiamiur - 2007-01-31 Hello there, Im a newbie here and it seems Im having a similar problem. This error appears: The page cannot be found. What Am I missing? Thanks in advance! links to album not working - DarrellD - 2007-01-31 @cynthiamiur links to album not working - cynthiamiur - 2007-01-31 Hi Gamedudex, thanks for the reply. I'm following the checklist but Im stucked in the point 4 (Change your rewrite-base in your .htaccess file to your root zenphoto path) since I dont understand how to change it. What should I modify exactly and for what? links to album not working - thinkdreams - 2007-01-31 @cynthiamuir- In your .htaccess file (should be included with the zenphoto distributon you downloaded - although it may be considered a "hidden" file), look for these lines: `# htaccess file for zenphoto NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.RewriteEngine On !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!RewriteBase /zenphoto` The last two lines in this file is what you are looking for. You need to change this to your root path for zenphoto. Now generally, by default, most people install into /zenphoto from their webserver. This can be anything you want, as long as it's consistent, so other examples could be: /zp, /gallery I would suggest for starters using the /zenphoto default, and later on you can get fancier if you want after you get the hang of it.... One big note is that if you aren't using mod_rewrite for pretty URLs (see zp_config file for this code // MAKE SURE TO EDIT THE .htaccess FILE with your path information. $conf['mod_rewrite'] = false;` Let us know if you have additional questions, and we'll be glad to help. links to album not working - cynthiamiur - 2007-02-04 Thanks Thinkdreams, I already fixed the problem: IIS does not support .htaccess or mod_rewrite. I changed it to false and now it works =) Thanks a lot for your help links to album not working - tshawn - 2007-04-03 I have the same problem. I have placed zenphoto at www.knisely.org/zenphoto RewriteEngine On !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!RewriteBase /zenphoto I have mod_rewrite enabled in Apache2. I have chmod 777 albums and cache: I have left owner/group as root/root, is that perhaps causing the issue? I can create an album, but when I click the link for the album I get a "The requested URL /zenphoto/march2007/ was not found on this server" error. I know this ground has been covered but I just don't see what I am missing and was hoping for a second set of eyes. Thanks, links to album not working - trisweb - 2007-04-03 Well tshawn, mod_rewrite isn't working... Check to see that you allow .htaccess overrides (AllowOverride directive) in your Apache config. If you don't, it won't pick up the mod_rewrite settings for zenphoto. Do you have any other apps installed that use mod_rewrite? links to album not working - tshawn - 2007-04-03 Thank you. I got it sorted out. I had an entry from some other photo gallery software. I got rid of that and corrected the and now I get to the album! That is the good news. The bad news is that I get an error "GD Library is not installed". I have not researched that issue yet, but I am making progress. Thanks for your help! links to album not working - tshawn - 2007-04-03 OK!! I got it, I should not have even posted that last bit. I found my answer and on my server did "apt-get install php5-gd", restarted apache and now all seems to be in order! Thanks! links to album not working - Guest - 2007-04-29 The user and all related content has been deleted. |