Got It installed -- But........

Okay I worked my way through the installation of Zen Photo.... and learned a bit in the way. I can now access the admin panel at http://www.webfuel.ca/cgypc/zen/admin.php - note that I renamed 1 directory. Now when I try and view my test gallery, I go back to the root URL: http://www.webfuel.ca. I am sure there is a good reason why this is happening. Maybe because I renamed 1 directory?

Les :-)

Comments

  • Don't know for sure, but renaming a (any) directory isn't a good idea unless you really know what you're doing.
    If you can, set the directory name back to the original and see if it works.
    If it still doesn't work, I would re-install ZP from scratch. Get it to work without changing anything at all and then go from there.
  • Hey "rickindy" Ya that helped... But before I reinstall... Have a look at how the album shows: http://www.webfuel.ca/zenphoto/

    I appreciate the help & Advice - Les
  • The albums don't show. All I get is straight HTML without the stylesheet.

    In the long run, it will take you longer to dink around with it than it would just to re-install.

    My .02
  • Ya I agree - Will reinstall when I have some personal time ----- gotta remember to save that config file!

    Les :-)
  • Well I did a complete reinstall.... I had to disable the .htaccess file - :-) --- Still get straight HTML when I go to http://www.webfuel.ca/zenphoto/. My config file must be okay. Otherwise I'd get nothing. and the setup went flawlessly.....

    Dunno - Any ideas out there?

    Les
  • I looked at the gallery and it's not referencing the stylesheet properly.

    You might try setting the WEB_PATH by putting a line like this in functions.php:

    define('WEBPATH','/zenphoto');

    There's already some code close to the top of the file that sets the WEB_PATH. Comment that code out and the insert the above line.

    Also, make sure the mod_rewrite variable in config.php is set to false;
  • He "rickindy" - Slowly but surely we are getting there. I can now load Zenphoto by going here: http://www.webfuel.ca/zenphoto/. However it does not find the theme. You can see it loading them...... Take a look and hover over the links.... I named my album "sandbox". So when you click it you go the actual website " www.sandbox.com". This tells me my problem is still with the configuration.

    Again many thanks for your help and support.

    Les
  • It does look like something in your config file, probably the web path. Do you have two slashes in front of the web path name?

    Did you define the web path as "/zenphoto" or did you define it as "/" or what?

    The gallery really will work, but I'm at a complete loss on your problem.
  • You've apparently changed something, but I have no idea what. The HTML that your gallery puts out is really strange. /zenphoto doesn't appear anywhere, and the index.php, which triggers the album display is also not in the code.

    Look at my galleries (http://galleries.dustbunny.com/rick/) and check the source code when the page displays.

    I wish I could be more help, but I'm stumped on this one.
  • Hi Rick ---- First things first - great pics! You have done a great job of capturing some beautiful locations. And have also put ZenPhoto to good use.

    Ya - I am stumped also. The only thing I can think is that it is either the config.php or the functions.php files. Would you be willing to send me copies of yours (minus the password!)? That way I can compare things. I am not a PHP programmer. So I think I have messed something obvious. My e-mail is les@webfuel.ca.

    Now I really want this thing to work!

    Best!

    Les
  • If you are using dreamhost make sure you follow the dreamhost guide. I had a problem similar to yours using dreamhost.
  • ok, I had the exact same problem that you are having and I fixed it by using the define webpath solution that Rickindy suggested. I commented out the previous define webpath except I put the entire web address insted of just /zenphoto so my code looked like this:

    define('WEBPATH','http://www.yourwebsite.com/zenphoto');

    this worked for me and I hope it helps.

    ps I use godaddy and I set the mod rewrite to false in the config file.
  • anty Member
    I put this in another post as well, but seeing as it seems to be a common problem, I'll just post my "fix" for this problem.

    I came accross this bug when I was browsing the bug reports and decided I'd give it another go. Instead this time I just named it "gallery" and omitted the word "zen" at all and didn't touch any of the scripts at all. Since then it's worked multiple times on my web server. I don't know if this works for everyone else but it worked for me under my myriad of subdomains.

    When I browsed the forums, it seems those who have theme and stylesheet misdirects all have their folders named something like zenphoto or zen.

    Let me know if this works before I post too much on all the other posts I see like this.
  • My gallery looked similar to yours when I first installed ZP. But I stumbled upon a post and after following the fix, my gallery worked fine.
    "Installed, but styles and links fail"
    You're right, Joomlales, the bug is in the functions.php. After redefining your webpath, the gallery should be good.
  • trisweb Administrator
    That's the bug alright. I've already fixed it in SVN, just waiting for the release this week. We're trying to fix a few more bugs first.

    For now, either define the webpath manually or don't name the zenphoto folder with "zen" in it. :)
Sign In or Register to comment.