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/
Comments
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.
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).
Thanks!
Shawna
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!
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 could be the problem, I'm saying it definitely is. 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 :-)
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!
++++++
<?php /* PUT NOTHING BEFORE THIS LINE, not even a line break! */
$conf = array();
define("DEBUG", false);
/** Do not edit above this line. **/
/**********************************/
/////////// zenPHOTO Configuration Variables //////////////////////////////
// After you're done editing this file, load
// http://www.yoursite.com/zenphotodir/zen/setup.php
// to run the setup (of course, replacing the paths where needed).
// NOTE: web_path and server_path are no longer needed! If you're having problems
// with the auto-detected paths, you can override them at the bottom of this file.
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
// Database Information (the most important part!)
////////////////////////////////////////////////////////////////////////////////
$conf['mysql_user'] = "username";
$conf['mysql_pass'] = "password";
$conf['mysql_host'] = "mysql.mysite.com"; // Won't need to change this 90% of the time.
$conf['mysql_database'] = "databasename";
// If you're sharing the database with other tables, use a prefix to be safe.
$conf['mysql_prefix'] = "";
////////////////////////////////////////////////////////////////////////////////
// General Gallery Configuration
////////////////////////////////////////////////////////////////////////////////
// What you want to call your photo gallery.
$conf['gallery_title'] = "my photos";
// If you're in a different time zone from your server, set the offset in hours:
$conf['time_offset'] = 0;
// Tags allowed in comments
$conf['allowed_tags'] = "<i><b>
";
// If you have Apache mod_rewrite, put true here, and you'll get nice cruft-free URLs.
// MAKE SURE TO EDIT THE .htaccess FILE with your path information.
$conf['mod_rewrite'] = true;
// Admin interface username (also required for running setup).
$conf['adminuser'] = "admin";
// This isn't that secure, so don't put anything here you don't want anyone to see...
// (but make sure you change it to something other than 1234...)
$conf['adminpass'] = "1234";
// The email for the admin user. Used to send notification emails.
$conf['admin_email'] = "user@somewhere.com";
// If you're running a secure server, change this to 'https' (Most people will leave this alone)
$conf['server_protocol'] = "http";
// The character encoding to use internally. Leave at UTF-8 if you're unsure.
$conf['charset'] = 'UTF-8';
////////////////////////////////////////////////////////////////////////////////
// Image Processing Configuration
////////////////////////////////////////////////////////////////////////////////
// JPEG Compression quality for all images and thumbnails (respectively):
$conf['image_quality'] = 85;
$conf['thumb_quality'] = 75;
// Default image display width (themes will be able to control this
// to an extent in the future, but for now you may have to adjust it to fit your theme).
$conf['image_size'] = 595;
// If this is set to true, then the longest side of the image will be $image_size.
// Otherwise, the *width* of the image will be $image_size.
$conf['image_use_longest_side'] = true;
// Allow images to be scaled up to the requested size? This could result in loss
// of quality, so it's off by default.
$conf['image_allow_upscale'] = false;
// Default thumbnail size and scale:
// If $thumb_crop is set to true, then the thumbnail will be a centered portion of the image
// with the given width and height after being resized to $thumb_size (by shortest side).
// Otherwise, it will be the full image resized to $thumb_size (by shortest side).
// NOTE: thumb_crop_width and height should always be less than or equal to thumb_size
$conf['thumb_size'] = 100;
$conf['thumb_crop'] = true;
$conf['thumb_crop_width'] = 85;
$conf['thumb_crop_height'] = 85;
// Paging options:
// Control of their display is done in the theme, so you might need to change these
// after switching themes to make it look better.
$conf['albums_per_page'] = 5;
$conf['images_per_page'] = 15;
////////////////////////////////////////////////////////////////////////////////
// Path Overrides
////////////////////////////////////////////////////////////////////////////////
// Uncomment the following two lines ONLY IF YOU'RE HAVING PROBLEMS.
// These allow you to override Zenphoto's detection of the correct paths
// on your server, which might work better on some setups.
////////////////////////////////////////////////////////////////////////////////
// define('WEBPATH', '/zenphoto');
// define('SERVERPATH', '/full/server/path/to/zenphoto');
/** Do not edit below this line. **/
/**********************************/
$_zp_conf_vars = $conf;
?>
++++++
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. :-)
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
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.
I downloaded the .htaccess file from the zenphoto directory and changed the Rewrite Base...
nothing seems different yet...
Thanks again-
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.
Feel free to donate to Tristan once we get it working though.