Attention
If your Photo Cart is suddenly getting a 500 error or only displaying a blank page then you or your hosting company has updated the PHP (programming language) to PHP 7 which Photo Cart is not compatible with (and will not be compatible with) mainly because of the removal of the my_sql functions which are replaced with my_sqli functions.
You would need to have the PHP version downgraded to 5.6 in order for Photo Cart to work. If downgrading the PHP doesn't work then you may have to update Photo Cart to the last version of 7. Download Photo Cart 7 upgrade files. Upgrade instructions.
Photo Cart was retired in 2015. Check out Sytist.
Help! Thumbnails Not Showingup In Gallery
My Email Address: info@picturespro.com
$setup['pc_db_location'] = "xxxxxxxxxxxxx"; // database hostname or location
$setup['pc_db'] = "xxxxxxx"; // The name of the database
$setup['pc_db_user'] = "xxxxxxxxx"; // username to the database
$setup['pc_db_pass'] = "xxxxxxxxxxx"; // password to the database
/* ADMIN folder - if you change this you will have to rename the admin folder to this value. */
$setup['admin_folder'] = "admin";
/* ## The PATH and URLs below normally DO NOT need to be changed. ## */
$setup['path']= dirname(__FILE__);
if(!empty($setup['photo_cart_folder'])) {
$setup['url'] = "http://".$_SERVER['HTTP_HOST']."/".$setup['photo_cart_folder']."";
$setup['secure_url'] = "https://".$_SERVER['HTTP_HOST']."/".$setup['photo_cart_folder']."";
} else {
$setup['url'] = "http://".$_SERVER['HTTP_HOST']."";
$setup['secure_url'] = "https://".$_SERVER['HTTP_HOST']."";
}
/* Remove the // at the beginning of the following 2 lines to create
your own PHP session handling */
// ini_set('session.gc_maxlifetime', 1800);
// ini_set('session.save_path', $setup['path']."/sessions");
ini_set('memory_limit', '100M');
// ini_set("log_errors", "on");
// ini_set("error_log", $setup['path']."/errors.txt");
// ini_set('sendmail_from', 'user@domain.com');
// ini_set("smtp","mail.mydomain.com");
// ini_set("smtp_port","25");
// $db_user_array[] = "user_name1"; //enter 1st user name
// $db_user_array[] = "user_name2"; //enter 2nd user name
// $db_user_array[] = "user_name3"; //enter 3rd user name
// date_default_timezone_set('America/Los_Angeles');
// DO NOT EDIT BELOW HERE
$setup['gallery_folder'] = "photos";
?>
My Email Address: info@picturespro.com
$setup['photo_cart_folder'] = "html/photocart";
My Email Address: info@picturespro.com
Loading more pages