website not working on xampp 1.7.4, works on xampplite 1.7.3

Problems with the Windows version of XAMPP, questions, comments, and anything related.

website not working on xampp 1.7.4, works on xampplite 1.7.3

Postby Zinu » 05. April 2011 16:55

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?
Zinu
 
Posts: 3
Joined: 20. March 2011 15:21

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

Postby WilliL » 05. April 2011 17:21

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
Willi
WilliL
 
Posts: 660
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1

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

Postby Zinu » 05. April 2011 19:47

That did it indeed, thank you very much!
Zinu
 
Posts: 3
Joined: 20. March 2011 15:21


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 85 guests