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.

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Errors With Loss Of Php 5.6 On Hosting Company

K
5 posts
Thu Nov 05, 20 8:34 PM CST
My hosting company removed PHP 5.6 and replaced it with 7.3.11. I saw the Attention notice at the top of this support forum so I followed those instructions hoping it would help and it didn't change anything. I'm still getting all the same warnings. I'm planning on buying Sytist and discontinuing the use of photo cart, but I still really need to access the information from this site. Please help. I've attached a screenshot of the warnings I'm getting. Is there anything I can do?
Edited Thu Nov 05, 20 8:45 PM by Kelli Saunders
16,760 posts (admin)
Fri Nov 06, 20 10:22 AM CST
I don't see anything attached. Copy and paste the errors you see.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
K
5 posts
Fri Nov 06, 20 10:29 AM CST
Oh shoot, I uploaded a photo, but I guess it didn't work.

Warning: Use of undefined constant DATABASE_SERVER - assumed 'DATABASE_SERVER' (this will throw an Error in a future version of PHP) in /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/setup.php on line 10

Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/setup.php on line 31

Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/setup.php on line 32

Warning: session_start(): Cannot start session when headers already sent in /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/pc_head.php on line 4

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/setup.php:10) in /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/pc_head.php on line 6

Warning: Use of undefined constant DATABASE_SERVER - assumed 'DATABASE_SERVER' (this will throw an Error in a future version of PHP) in /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/functions.core.php on line 10

Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/functions.core.php on line 31

Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/functions.core.php on line 32

Warning: Use of undefined constant utf8_encode - assumed 'utf8_encode' (this will throw an Error in a future version of PHP) in /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/functions.core.php on line 269

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/functions.core.php on line 45

Fatal error: Uncaught Error: Call to undefined function mysql_error() in /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/functions.core.php:46 Stack trace: #0 /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/functions.core.php(108): dbConnect(NULL) #1 /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/pc_head.php(16): doSQL('pc_settings', '*', '') #2 /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/pc_main.php(4): require('/nfs/c06/h04/mn...') #3 /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/index.php(3): include('/nfs/c06/h04/mn...') #4 {main} thrown in /nfs/c06/h04/mnt/157658/domains/kellinicolephotography.com/html/proofs/functions.core.php on line 46
16,760 posts (admin)
Fri Nov 06, 20 11:35 AM CST
That looks like the PHP version is still PHP 7. The PHP version needs to be downgraded to PHP 5. 5.4 or 5.6.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
K
5 posts
Fri Nov 06, 20 11:42 AM CST
Thank you for taking time to respond! If the hosting company completely dropped 5.6 you think that would work? Is there a link describing how to downgrade to 5.6? I'm looking and maybe I'm dumb, but I can't figure it out.
16,760 posts (admin)
Fri Nov 06, 20 11:48 AM CST
If they completely dropped PHP 5.6 then you won't be able to get Photo Cart to work.

You will have to ask your host to change the PHP version.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
K
5 posts
Fri Nov 06, 20 11:56 AM CST
Ok thanks. It seems as though my only option is to get a dedicated server, so I'll try that for a few months, long enough to get all the information I need from the website before shutting it down. Is there anyway to transfer customer data/information from Photo Cart to Sytist?
7 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 1,518 times
Category: Error
 
Loading more pages
Loading more pages

Sign up for email promotions.

Your information is safe with us and won't be shared.

Thank you for signing up!

 
©2003 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close