Issues setting up Zenphoto (server & config errors)

Web hosting, FTP/database access, mirror services and hosted blogs
Post Reply
piXelatedEmpire
Posts: 15
Joined: Tue Jan 05, 2010 4:55 pm
Location: Mooroolbark, Vic

Issues setting up Zenphoto (server & config errors)

Post by piXelatedEmpire » Tue Jan 05, 2010 5:21 pm

Hi all

Today I activated my personal webspace as I wish to set up a gallery to display some of my photo's using http://www.zenphoto.org

I set up my url, http://home.exetel.com.au/pixelatedempire
I set up a database.
I transferred the zenphoto directory to my webspace using FireFTP in Firefox 3.5.6.
I navigated to the following link http://home.exetel.com.au/pixelatedempi ... /setup.php
I then entered the database details, and upon clicking submit I received a 500 Internal Server Error. I now receive this error when I navigate to http://home.exetel.com.au/pixelatedempire/zenphoto/

What do I do now?

Thanks in advance for your assistance.

Adam

Dazzled
Volunteer Site Admin
Posts: 6003
Joined: Mon Nov 13, 2006 1:16 pm
Location: Sydney

Re: Issues setting up Zenphoto (server & config errors)

Post by Dazzled » Tue Jan 05, 2010 5:35 pm

I think I'd start by checking if it is a suitable place for Zenphoto. Place a file in your web space, anywhere not barred to visitors, called phpinfo.php. It need contain only the line

Code: Select all

<? phpinfo(); ?>
and navigate to it in the browser. You will learn all the features of the site, as well as the server pathnames to various files (including phpinfo.php).

Be wary of absolute pathnames - use of environment and php SERVER[] variables is safer.

[Edit: I just noticed magic_quotes_gpc=on and Zenphoto uses .htaccess to call mod_rewrite RewriteBase]

piXelatedEmpire
Posts: 15
Joined: Tue Jan 05, 2010 4:55 pm
Location: Mooroolbark, Vic

Re: Issues setting up Zenphoto (server & config errors)

Post by piXelatedEmpire » Tue Jan 05, 2010 6:15 pm

Thanks for the info Dazzled.

It appears as tho perhaps this hosting isn't suitable for Zenphoto. I will delete the directory.

Do I need to do anything further in regards to the 500 Internal Server Error? Or will this disappear once the directory is removed?

EDIT: it appears as tho I am unable to delete the directory, as when I try it says the directory is not empty (although all visible files within are deleted). I'm assuming there are possibly hidden files within I don't have access to remove?

Dazzled
Volunteer Site Admin
Posts: 6003
Joined: Mon Nov 13, 2006 1:16 pm
Location: Sydney

Re: Issues setting up Zenphoto (server & config errors)

Post by Dazzled » Tue Jan 05, 2010 8:00 pm

Only NetworkAdmin can see what is there from the other side, as it were. What are you using for ftp? Firefox, even with an extension, is hardly an ftp client. Use gFTP, or Filezilla or the like.

Very good gallery scripts are quite plentiful, some with special effects, and you don't need a database manager for the smallish number of images you are likely to have stored in 200 MB.

A quick search shows that Phelum's home.exetel.com.au site even has the downloadable code for a simple-to-manage one - http://home.exetel.com.au/phelum/images.htm with a multi-level demo at http://phelum.net/images/

piXelatedEmpire
Posts: 15
Joined: Tue Jan 05, 2010 4:55 pm
Location: Mooroolbark, Vic

Re: Issues setting up Zenphoto (server & config errors)

Post by piXelatedEmpire » Tue Jan 05, 2010 8:43 pm

Never had any issues using Firefox with the FireFTP extension.

Thanks for your suggestion, I had searched and come across that thread, however it is a bit too simplistic for what I am looking for.

I think the easiest option may be for me to delete my webspace and start again, should I require it. For the time being, I'll just work locally.

Cheers

SysAdmin

Re: Issues setting up Zenphoto (server & config errors)

Post by SysAdmin » Wed Jan 06, 2010 8:47 am

FYI: None of your php files can be either group or world writeable. Setting them thusly will result in them not being run. This also goes for things such as .htaccess files.

Additionally, nothing in your website needs to be group or world writeable. Ignore any instructions that indicate that things must be either mode 666 or 777. If for some reason your application of choice insists on this, find another as letting every user on the server write to your files and directories isn't the best thing to do IMO.

Andrew

Post Reply