More installation problems.

Ok.. I'll try and explain everything I've done to the best of my abilities.

I tried installing normally without making any of the alternations in the functions.php as has been stated here. Didn't work.

I commented out the top portion of the functions.php file and replaced it with

define('SERVERPATH', '[full path]/zenphoto');
define('WEBPATH', '/zenphoto');
define('SERVERCACHE', SERVERPATH . "/cache");
define('WEBCACHE', WEBPATH . "/cache");

with the appropriate path's typed out.

I've tried it with the apache module as true and false. I've edited the .htaccess file appropriately in each case.

Nothing works.

The absolute best I've yet to do with this is get it to the point where when I load the site it gives me the error about my albums directory either not existing or can't be found or whatever.

Help?

Comments

  • trisweb Administrator
    Yeah, so if you're getting the error "The albums directory cannot be found or is not readable" -- it means one of two things.

    1. Your SERVERPATH is wrong.
    2. The permissions are wrong on the albums dir. They need to be 777, so either chmod or change them through FTP.

    If 2 is done and it still doesn't work, then 1 is without a doubt the culprit. Make sure you have that path correct!
  • the albums permissions were set correctly..

    this is my path setup

    define('SERVERPATH', '/public_html/stuntbuddha/');
    define('WEBPATH', '/');
    define('SERVERCACHE', SERVERPATH . "/cache");
    define('WEBCACHE', WEBPATH . "/cache");

    I'm still receiving the same error so here are some more details.

    My main domain is on my hosting plan. Stuntbuddha.com, an addon domain, is the domain I'm trying to run zen from, and is parked on the hosting plan and therefore is a directory within the main public_html folder.

    Do I have this setup incorrectly?

    Thanks for your help
  • trisweb Administrator
    The server path is the FULL server path. It should be like,

    `/home/username/public_html/stuntbuddha/photos`

    Also, you might have trouble if you're trying to run it at the root of a site. I'm going to get that fixed soon, but it doesn't work yet. For now, just put it in a subdirectory. That's a different problem from this one though.
  • Gives me the same error no matter what I do. Guess I'll give up for the time being. Sucks, this one was looking nice.
  • trisweb Administrator
    Dude, you just need to get that server path right. If you have shell access to the server, just go in and do a `pwd`. FTP should tell you too.
  • Yeah, according to PWD via FTP I have my serverpath set correctly.. no dice. :/
  • ok well perhaps a little progress....

    its at least loading the index.php now but when I click on a photo album its looking for the directory within /pics rather than /pics/albums
  • trisweb Administrator
    The paths in the browser don't match the directories -- if you have mod_rewrite turned on in config.php, then there will be pretty URLs that look like directories, but they aren't.

    Try turning off mod_rewrite, or if your server supports it, edit the .htaccess file with the correct webpath (/pics)
Sign In or Register to comment.