Jump to content

Question


mricklefs

Recommended Posts

Those are not errors, they are warnings.  A warning *could be a problem* but it might not be.  As it's unlikely you are going to patch a 3rd party script that you don't understand the simplest answer for you is to turn down the error setting so that the server does not display warnings, and furthermore, on a production server you should not be displaying errors to the end users, as this can leak important internal information to attackers.

 

In the case of your warnings, most if not all of them appear to be related to uninitialized variables.  Since this appears to be related to a shopping cart, it's not surprising that you would have uninitialized variables because nothing is in the user's cart yet. 

 

This is a nice blog entry that covers the topic:

 

http://wheel.troxo.com/2007/06/21/php-error-reporting-on-production-and-development-servers/

 

They are doing the settings in .htaccess but you could do them in the php.ini directly assuming this is a server you control and admin.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.