Jump to content
xisto Community
mrdee

E_Strict Problem. How to turn this off (Plain English please)

Recommended Posts

Hi,
I use a program for making web forms called Simfatic Forms.

I was trying out the latest beta and uploaded a from to my local webserver (running via XAMPP).

There I got a bunch of errors, but the form was still displayed:

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forms\users\includes\users-lib.php on line 3143
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\forms\users\includes\users-lib.php on line 6878

Strict Standards: Redefining already defined constructor for class Crypt_Blowfish_ECB in C:\xampp\htdocs\forms\users\includes\users-lib.php on line 13104

Strict Standards: Declaration of FM_ThankYouPage::Process() should be compatible with that of FM_Module::Process() in C:\xampp\htdocs\forms\users\includes\users-lib.php on line 10476


According to the developer of the program, Simfatic Forms does not differentiate between online and offline storage (local or on the Internet), he said that, according to the error messages, I must have E_STRICT enabled, and advises me to turn it off.

He also sent me a Google search link, but the pages all those links refer to might as well have written in Chinese as far as I am concerned.

Here is what I did:

Now, in my php.ini file, I found a line saying: "error_reporting = E_ALL | E_STRICT"
I removed the "| E_STRICT" bit, just leaving E_ALL.

After restarting XAMPP, the error just remained.

Could someone please tell me "IN plain English" if that was the right way to turn off E_STRICT or if I should have done it differently?

Let me just re-iterate: I am running this server locally, using the latest version of XAMPP (version 1.7.4).

All help will be very much appreciated.

Share this post


Link to post
Share on other sites

Could someone please tell me "IN plain English" if that was the right way to turn off E_STRICT or if I should have done it differently?

Yes, you did the edit correctly. Since accodring to documentation E_STRICT is not included with E_ALL.
May be you could try setting "display_errors" in php ini file to "Off".

Or may be actually you did not edit the correct php.ini file. Long time ago when I used to user XAMPP I used to see 3 php.ini files in various directories within XAMPP directory. Since I never figured out which one was the one which did the trick, I used to edit all the three.

Share this post


Link to post
Share on other sites

Yes BCD,as you mention, I found php.ini, php.ini-production, php.ini-development and even php-pear.ini.I removed the |E_STRICT in php.ini, php.ini-development, but in the 2 others it did not appear.Now, when I run the form again, the error is still there.I think I will have to get in touch with the programmer again.But thanks for your help anyway.

Share this post


Link to post
Share on other sites

Hi Mrdee,I am a novice PHP programmer and don't have all the answers by any stretch but I have had similar errors before. In my case the "depreciated" errors popped up because I was using a newer version of PHP on my web server than the version that the application was actually written for. You should check the documentation of the application you are trying to use and see if the application was coded on an older version of PHP. If this is the case then the problem will probably continue until 1)the developer updates the application, or 2)you change the PHP version you are using to match the application.This was the case for me when "depreciated" errors plagued me. Hope it helps you :)

Share this post


Link to post
Share on other sites

Thank you, Nate.In the mean time I have sent the file which generated the errors to the programmer (especially since it is a beta version I am testing), and he is going to look into it.In the mean time, I will wait to see what it leads to.Thank you for your input.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.