Abyss server / mySQL / PHPadmin and zenphoto

I would very much like to run zenphoto on my own server. I have been using Abyss for quite some time now and it suits me fine. I just installed PHP, mySQL and PHPadmin. All went well. Then I created a database called zp and ran zenphoto setup. Again all went well. I was about to pat myself on the shoulder when things went wrong. The frontpage http://mydomain.com/zp is accessible and works, but that is about it. From there I cannot go to the admin section and I cannot view galleries. I just get blank pages. I must have overlooked something but it is driving me nuts. Please help

Comments

  • bart Member
    edit:
    Abyss doesn't allow .htaccess so I deleted the and changed the config.php:

    $conf['mod_rewrite'] = false;

    I can actually enter the webgalleries now! However I cannot see anthything but the titles of the images, so something else is not right.
    zp/zen/admin.php is still not accessible either :(
  • as for the admin page .. after you attempt to log in.. many people not using mod rewrite have been having problems where it is redirecting to the wrong location.
    admin url:
    domain.com/zp/zen/admin.php
    after i submit it redirects me to
    domain.com/zp/admin.php

    and as far at the images not showing up.. you said that you just installed php and all that other stuff.. did you activate the gd extension for image processing?

    Just retype the zen into the url and hit enter.. then hit refresh...
    since I am using IIS, I dont have mod reqrite either and this is what I have to do.
  • bart Member
    Thanks. I did forget to activate gd. Fixed that already.
    However I still can't get into the admin.php. Even when i manually type the url I get nothing. It really confuses me.

    I reinstalled zenphoto and it's database. Setup works fine. I then have a choice to view the gallery (which works fine) and going to the admin section. When I click the latter (I checked the url) I get a blank screen. I am about to cry :(

    On a sidenote. Not all thumbs seem to load all the time. I read in this forum people change the cache memory from 8 to 150mb, by adding two lines in the .htacces file. Maybe this is another dumb question but where can I change cache memory, I am not using the .htaccess file. Or could it be that the local server I am using is too slow to handle all this php and mySQL stuff. Please have patience with me I only started learning about setting up my own server :)
  • trisweb Administrator
    Don't cry!

    First, what you're talking about with "cache memory" is just the amount of memory PHP can use to manipulate images. The .htaccess lines and explanation can be found here:

    Oh, and as long as that file is in the directory, the server will pick it up. If you deleted your old one, just make a new file called .htaccess and change that one.

    http://www.zenphoto.org/support/topic.php?id=8

    That might help with images not appearing. I don't know what's wrong with the admin screen, but I need to see your gallery to try to diagnose it. Please give a URL to it if you don't mind.
  • bart Member
    Thanks. I actually changed the php.ini instead of adding the two lines to .htaccess. I suppose that should work as well....I hope :)

    My url:

    http://hoogenhoff.no-ip.com/zp/

    ps what kind of server specs do you need to run all this, if you are using say 1mb pics?
  • trisweb Administrator
    Ahh, right, you're running it on your home system I assume? It's going to be slower. Most servers are more optimized for this kind of thing, but then again, it runs fine on my 2GHz athlon desktop, and my 1.1 GHz PIII laptop... still slower than on my server though.

    The admin.php blankness is really unusual, I can't think of what it could be... Have to go now, but try deleting your cookies and re-logging in? That's the only thing that I could see stopping the page from loading... but even then, it should work... very weird. Try reinstalling?
  • bart Member
    Yep I am running it on a home system. I did try reinstalling but I will try once more tomorrow. Right now I am going to a pub for some well-deserved beers. Thanks for your help and I will let you know how it goes.
  • bart Member
    This is nuts! I reinstalled the whole thing including database. It's now at the root of the server. But still no admin pages. I am pretty sure this must be caused by something very obvious....but what :(
  • bart Member
    I gave up on abyss and installed XAMPP
    http://www.apachefriends.org/en/xampp-windows.html
    Admin.php works like a charm now!!
  • trisweb Administrator
    Yeah, I'm not sure how it will run not using Apache... even IIS has problems. Best to stick with the standard :) Good luck!
  • bart Member
    Thanks!! And it is actually a lot faster as well. YAY!!
  • Just noticed this topic...

    I also run my own server using Abyss Web Server. While my ZenPhoto gallery isn't yet live, I had not trouble getting it to work correctly (it and about 8 other php/mysql based galleries while comparing).

    Jeff
  • Just an FYI,

    Abyss 2.4 (both the free X1 version and the commercial X2 version) now support URL rewriting. It doesn't directly support the Apache .htaccess file, but the rules are easy to convert over to the Abyss-style configuration.

    I've successfully converted the ZenPhoto rewrite rules, and am happily chugging along with cruft-free URL's. WhoooHooo! ;^)

    Jeff
Sign In or Register to comment.