I have donwloaded zenphoto in the same directory where my web page is, unzipped the file,modified config.php, before that I created a database in mysql using cpanel...
I uploaded all the diectory file by ftp at the same directory where my web page files are, the directory is public_html... Now I am trying to access setup.php and nothing happens ! Before that I have been trying to make a test but it says there is no connection to the database, so what should I do ??
Please I need help !
I hope anyone can answer.. My web is : wwww.guasuntosonline.com
Thanks
Comments
Let us know if that helps, and if not we'll see what else we can try.
<?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.guasuntosonline.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'] = "armandi";
$conf['mysql_pass'] = "my pasword";
$conf['mysql_host'] = "guasuntosonline.com"; // Won't need to change this 90% of the time.
$conf['mysql_database'] = "guasunto_Zenfhoto";
// 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['Gente-Farras-Fiestas'] = "Guasuntos";
// 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'] = "cta18abz1";
// The email for the admin user. Used to send notification emails.
$conf['admin_email'] = "webmaster@guasuntosonline.com";
////////////////////////////////////////////////////////////////////////////////
// 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;
// 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_crop'] = true;
$conf['thumb_crop_width'] = 85;
$conf['thumb_crop_height'] = 85;
$conf['thumb_size'] = 100;
// 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;
?>
That is correct? is the information from my DB ..
Is it uploade correcly according to my directory, or where should i uploade?
thanks