Member
Member
SBee   2006-12-01, 03:39
#1

Hi -

i was able to upload everything - set persissions, it connects to the db and everything looks like it is going to work.
I click on administrate and then uploads pictures - select one or two small .jpgs and create a new album and hit upload - then i get this error:

+++++

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@shawnbee.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

++++

When i look on my server via ftp the album folder was created in 'album' folder, the .jpg file is in there... so some things are working. Also when i click on "view gallerys" I get this error:

Zenphoto error: Album does not exist.

I have been trying to understand what i am doing wrong for days - I like this gallery so well done, and i do not want to give up yet

Thanks
Shawna

here is a ink to the site:

http://www.shawnbee.com/zenphoto/

Member
Member
thinkdreams   2006-12-01, 04:40
#2

Shawna-

Are you running zenphoto using mod_rewrite on or off? The 500 error is sometimes caused by misconfiguration of the mod_rewrite stuff. I'd be glad to help troubleshoot if you could possibly post your zp_config.php file, and the .htaccess file your using. That will help diagnose what the problem might be.

Also, make sure you chmod the albums and cache dirs 777 (which I think you mentioned you did already - but just double check). And I usually chmod the htaccess 755 just to ensure it's not a permissions issue with the htaccess file. You can always return it to a more secure permissions setting once you have it tested.

And don't give up. We'll help you. That's what the forums are for.

Developer
Developer
trisweb   2006-12-01, 08:54
#3

Looks to me like both your .htaccess file and your index.php file are in the wrong directory.... they seems to be in the root folder of your web site, while the rest of zenphoto and its files are in the /zenphoto/ folder.

First, make sure both are in the /zenphoto/ directory along with the albums, cache, zen, and themes folders. Next, make sure you've edited .htaccess so the RewriteBase line reads:

RewriteBase /zenphoto

That should work, let us know if you still have problems. Alternatively, you could delete .htaccess for zenphoto, and edit zp-config.php to turn mod_rewrite off ($conf['mod_rewrite'] = false) if you still get the 500 error (or others).

Member
Member
SBee   2006-12-01, 17:49
#4

Thank you for all of these great suggestions. I did not move any of the files out of the zenphoto diectory so I want to make sure about this. I do have an index.php loose in the zenphoto directory, but there is no .htaccess file - did that come with the install files? MAybe for some reason it did not save up when i moved everything on my ftp. Or is it the main .htaccess file for my web server?

Thanks!
Shawna

Member
Member
thinkdreams   2006-12-01, 21:27
#5

Shawna. The .htaccess does come with the install package. It's not the same as the main .htaccess file for your web server. And there should be an index.php file in the root zenphoto directory. If your missing the .htaccess that could be one of two things:

  1. It's really not there.
  2. Or it's there, but your FTP client (or even file display interface such as windows explorer or ls command in Linux) is configured to NOT show hidden files. .htaccess by default is a hidden file, so if you're browsing your directories with show hidden files off it may not be showing. If you're using Linux, try an ls -la to show all the files in the directory. Windows Explorer, you can turn on "show hidden files" and in the FTP client, look for "show hidden files" option.

If the .htaccess file is not there, just like Tristan said, you can configure the mod_rewrite variable to false, and it won't matter anyway.

Let me know if that makes sense, and we'll go from there. Can you copy and paste your zp-config.php to the forum here so we can look at it? (Make sure you edit out your admin username and password!)

Thanks!

Developer
Developer
trisweb   2006-12-01, 21:47
#6

Hey again Shawna -- Take a look here: http://www.shawnbee.com/

It's the root of your domain, and Zenphoto's index.php is there, along with the .htaccess file and possibly others. I'm not saying this [i]could be[/i] the problem, I'm saying it definitely [b]is[/b]. I know my software inside and out :-)

The .htaccess is there, so it copied correctly, it's just in the wrong place, at the root folder. It still might be hidden in your FTP program as Craig said, so you might need to change its settings.

So there are two possibilities:

  1. Do you want to have Zenphoto there instead? In that case, change the RewriteBase in .htaccess to read RewriteBase /

  2. If you want it at the /zenphoto/ path, then you need to delete those files from the root directory, and re-upload zenphoto to the /zenphoto/ folder. If everything's already in the /zenphoto/ folder, you can just move the index.php and .htaccess there too.

It looks like this was just an uploading problem and some files got in the wrong place. No worries, easy to fix :-)

Member
Member
SBee   2006-12-02, 01:08
#7

Thank you for the information regarding "hidden files" I changes my ftp preferences and now i see a index.php and the .htaccess file in the zenphoto folder...

Here is the rub - I am on a MAC, OS 10.3.5 - so sadly any file that begins with a . is invisible and i don't think there is a way to change that...

Here is the config file - all my db info is correct in my actual file - thank you again!

++++++

++++++
[/list]
[/list]
[/b][/i]

Developer
Developer
trisweb   2006-12-02, 02:18
#8

YOU HAVE A COPY OF ZENPHOTO'S INDEX.PHP AND .HTACCESS FILE IN THE WRONG DIRECTORY. Delete them from your site's root folder and it should work.

This is NOT a problem with your zp-config.php, REPEAT this is NOT A PROBLEM WITH ZP-CONFIG.PHP.

This has NOTHING TO DO WITH ANYTHING IN THE /ZENPHOTO FOLDER. REPEAT, THE /ZENPHOTO folder is FINE.

Excuse my yelling, you didn't seem to notice my entire last post so I thought it might be helpful.

Please go up one post and read what I wrote, thank you. :-)

Member
Member
SBee   2006-12-02, 04:07
#9

Thank you for your patience - i did remove thefiles -

when i go here:

www.shawnbee.com/zenphoto/

i get this error:

Zenphoto error: Album does not exist.

I think i am getting close - thanks fornot giving up on me!

Shawna

Developer
Developer
trisweb   2006-12-02, 06:46
#10

Okay, thanks :-)

Are you absolutely sure you don't have another .htaccess file in the root directory of your site, one folder up from /zenphoto? If you find one, delete it.

Also, make sure you edit your /zenphoto/.htaccess file so that the RewriteBase line reads RewriteBase /zenphoto. Right now it's set to RewriteBase /zp which is part of the problem.

Fix those and let's see what we can do next.

Member
Member
SBee   2006-12-02, 19:09
#11

Yes - there was the .htaccess file on the root 2 emails ago - but it is definelty gone now.
I downloaded the .htaccess file from the zenphoto directory and changed the Rewrite Base...

nothing seems different yet...

Member
Member
SBee   2006-12-04, 18:52
#12

I hope I have not tried your patience too much. I wish this was working, I really like what you have created. I know I can't expect free support to this degree, I would be happy to send some $$ to a paypal account. I would sure like to get zenphoto working...

Thanks again-
Shawna

Member
Member
thinkdreams   2006-12-04, 19:09
#13

Shawna-

Would there be any way you'd be willing to work with me offline say over email? I'd be happy to help you troubleshoot your installation, and it may involve me connecting to your web server to look over your setup. It would be best to do that via email rather than posting on the forum, and then once we figure it out, we can post a summary of what happened on the forum here for everyone's benefit.

If you are interested, please email me at craig (at) thinkdreams.com.

Member
Member
thinkdreams   2006-12-04, 19:10
#14

And there won't be any cost for this support. I can't imagine there's really that much wrong.

Feel free to donate to Tristan once we get it working though.

Developer
Developer
trisweb   2006-12-05, 03:40
#15

Thanks Craig, come back and let us know what the problem was if you figure it out :-) Also feel free to email me if you need any more help.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.