Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Security Errors and Cart Problems


Spaarky

Recommended Posts

I know I have to deal with one issue at a time but I'm mentioning both, because I suspect they may be related.

I'm just trying to get this set up so I can actually use it. It's not "live" yet. So it's a fresh install with only minor mods to a couple of files.

 

I can't put items in the cart. That's the issue.

However, I am getting error messages, one when I try to put things in the cart, and another one when I log in to the admin panel.

The error that I get in the admin panel right after logging in, is this:

OSC-AdminError.jpg.9a0ddcb4b9884474a8f6b58d891e29af.jpg

I've looked at this and the specific file listed, has permissions set at 0644. I believe that means I'm the only one that can write to that file.

As for the second sentence, if I go to the security checks, I just get a blank page.

The other error comes up when I try to add something to the cart:

OSC-SiteError.jpg.1098b866b778a6240213878cc6c2a287.jpg

NOTE: I have an SSL certificate and, the site comes up as https:
So I'm puzzled about the error.

And last but not least, the version: (also shows the https)

OSC-Version.jpg.2ec6cd6abacc65b0c597076983cbf65d.jpg

Any suggestions appreciated.

Link to comment
Share on other sites

2 hours ago, Spaarky said:

I've looked at this and the specific file listed, has permissions set at 0644.

The permissions should be 444.

 

2 hours ago, Spaarky said:

I have an SSL certificate and, the site comes up as https:

Be sure the links in the configure file are set to https. There will be two or three - each should be https and the enable ssl should be true. If that is the case there might be something on the page that is preventing the ssl from working. You can test that here.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

29 minutes ago, Jack_mcs said:

The permissions should be 444.

Be sure the links in the configure file are set to https. There will be two or three - each should be https and the enable ssl should be true. If that is the case there might be something on the page that is preventing the ssl from working. You can test that here.

OK, I set the permissions to 444.
Now I"m getting only the message that the site hasn't been security checked in over 30 days.
And if I click on the message I get a blank page on Security Checks.

 

Then I tried the link you supplied. I get the following:

OSC-SSL_Test.thumb.JPG.f7e06140c8b008ac3f28b2bf51460d15.JPG

I'm getting the impression from this that my SSL setup is OK.

Making the error message when I try to put things in the cart even more suspicious.

 

Link to comment
Share on other sites

OK, took a bit to figure out but I see it was just to add an 's' to the first define line to make it the same as the second. (But applying to http.)

 

No error now, and things go in the cart. Now to test the checkout.  

Link to comment
Share on other sites

You're going to have a lot of problems with that version of osCommerce. You can have a look at

It has updated code for php8 and a responsive framework, based on and has all the functionality of 2.3.4.1

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...