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.

Curl Error: Nss: Client Certificate Not Found: _paypal_cert_key.txt

B
53 posts
Thu Apr 02, 15 7:55 PM CST
I have this error.

I moved my site to a new machine. Everything works fine, except this. All databases, SSL certificate, wordpress, etc.
I read the two other threads about this and tried the solutions there, specifically:

> I am using version 7.1.0
> I have the same API credentials on Paypal, nothing changed, I have not modified or revoked the cert
> I have a current Paypal Payments Pro account
> The file didn't change on move, was same one i've been using for 5 years and 2 other hosting moves
> I re-downloaded and uploaded it via FTP to make sure. Viewing the file, it had the full RSA PRIVATE KEY and CERTIFICATE sections
> I've tried both 755 and 644 permissions
> I tried without any .htaccess file
> You can see it's there caliphotography.com/photos/payment/_paypal_cert_key.txt

Is there anything else server side I should check? Any environment variables or settings? I am running the latest CentOS 6 64-bit version with Webmin/Virtualmin. The server is a Core i5 with 8GB ram and my photocart domain is the only thing on the server.

Thanks,
-brian
Edited Thu Apr 02, 15 7:57 PM by Brian Reynolds
16,196 posts (admin)
Fri Apr 03, 15 10:16 AM CST
Sounds like something to do with the cURL extension, but I don't know what. Here is a search on it that may shed some light:
https://www.google.com/search?q=CURL+ERROR%3A+NSS%3A+client+certificate+not+found&ie=utf-8&oe=utf-8
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
B
53 posts
Sat Apr 04, 15 1:13 AM CST
for anyone else with this problem, I solved it by changing the file:
/payment/functions.php line 343

from:
curl_setopt($ch, CURLOPT_SSLCERT, $cert_url);

to:
curl_setopt($ch, CURLOPT_SSLCERT, "./".$cert_url);
3 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 8,957 times
Category: Payment Options
 
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