XAMPP 1.8.3.1-1 error after installation

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

XAMPP 1.8.3.1-1 error after installation

Postby okanime » 16. November 2013 13:44

Got this error after installing on top of 1.7.3:
Notice: Undefined variable: PHP_SELF in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang/en.php on line 166

Un-commented this line and it seems to be working fine. Don't know if I will run into issues later for this.
okanime
 
Posts: 3
Joined: 16. November 2013 13:31
Operating System: Mac OSX 10.9 Mavericks

Re: XAMPP 1.8.3.1-1 error after installation

Postby irisfd » 04. April 2014 23:34

Just to report that I have the same issue with XAMPP 1.8.3 / PHP 5.5.9 but in pt_br.php file

Notice: Undefined variable: PHP_SELF in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang/pt_br.php on line 167

First I try to rename others lang files to pt_br but the error still the same, only the number line changed to 166. Now I try okanime's tip and works for me. Thanks! :wink:
irisfd
 
Posts: 1
Joined: 04. April 2014 23:16
Operating System: OSX

Re: XAMPP 1.8.3.1-1 error after installation

Postby Nobbie » 06. April 2014 10:52

irisfd wrote:Notice: Undefined variable: PHP_SELF in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang/pt_br.php on line 167


Anyway, as you can see this is NOT an error, even not a warning. It is only a "notice", harmless and you may simply ignore it. Commenting out is like ignoring...
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: XAMPP 1.8.3.1-1 error after installation

Postby Altrea » 06. April 2014 20:02

$PHP_INFO is PHP 4 Slyle and relies an register globals.
Use the correct variable $_SERVER['PHP_SELF']
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 16 guests