Page 1 of 1

website not working on xampp 1.7.4, works on xampplite 1.7.3

PostPosted: 05. April 2011 16:55
by Zinu
As the topic title states, I have a problem hosting a specific website on my system running XAMPP 1.7.4. If I run the exact same website on XAMPPLite 1.7.3 it works fine. As you can see on the screenshot below, I get a bunch of 'Undefined index' errors. I have no idea why. It isn't the code, since it is working on another XAMPP installation.

Image

I've already thought of replacing some of the files in the 1.7.4 install with files from the 1.7.3 install, but which would that be?

Re: website not working on xampp 1.7.4, works on xampplite 1

PostPosted: 05. April 2011 17:21
by WilliL
your website works fine.

In Xampp 1.7.3 is another setting in php.ini as in XAMPP 1.7.4 "error_reporting " it doesn't shows notices.
http://php.net/manual/en/errorfunc.configuration.php
in your script you can use:
Code: Select all
error_reporting( 0 ); // on production server
error_reporting(E_ALL | E_STRICT); // on developement server setting in XAMPP 1.7.4


I prefer the settings in 1.7.4 and advise you to fix the error in your script. (undefined indexes)
To keep your script in future it will be better to use an other function than ereg - it is deprecated and will be dropped out in future.
http://php.net/manual/en/function.ereg.php

Re: website not working on xampp 1.7.4, works on xampplite 1

PostPosted: 05. April 2011 19:47
by Zinu
That did it indeed, thank you very much!