error reporting

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

error reporting

Postby nikooo777 » 17. February 2011 21:17

Hello,
first of all, i googled many hours, i also used the search function.

well i have a problem on my CMS.
the error reporting value is wrong.

i change my php.ini (placed in /opt/lampp/etc/) to:

; error_reporting
Default Value: E_ALL & ~E_NOTICE
Development Value: E_ALL & ~E_NOTICE
Production Value: E_ALL & ~E_NOTICE


the errors go away but i get an error while starting:

Starting XAMPP for Linux 1.7.4...
PHP: syntax error, unexpected '&' in /opt/lampp/etc/php.ini on line 190
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Another FTP daemon is already running.
XAMPP for Linux started.


also it seems that the config stops loading because my max upload size goes back to 2MB instead of 40 that i set

what am i doing wrong? what can i do to fix it?
i'd really appreciate getting helped out of this error.
nikooo777
 
Posts: 8
Joined: 15. March 2010 18:21

Re: error reporting

Postby Altrea » 17. February 2011 21:23

nikooo777 wrote:
; error_reporting
Default Value: E_ALL & ~E_NOTICE
Development Value: E_ALL & ~E_NOTICE
Production Value: E_ALL & ~E_NOTICE


These lines are just comments / examples what the value could be.
So please comment them out again.

The right place to set error_reporting is some lines below
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: error reporting

Postby nikooo777 » 17. February 2011 21:39

oh god... i am such an idiot :P

thank you alot! you just solved many problems.

let's go back to my forum... where i just lost 1 month of activity cause i am an idiot who doesn't make backups & deleted databases without doublethinking.

have a good night and thank you again!
nikooo777
 
Posts: 8
Joined: 15. March 2010 18:21

Re: error reporting

Postby Altrea » 17. February 2011 21:55

Backups backups backups!
Backups all the way and even more backups!

I can't emphasize that enough how important that is!
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: error reporting

Postby nikooo777 » 17. February 2011 22:58

infact i just setup a daily backup crontab, i really don't want this to happen again, it's an horrible feeling to see 1 month of posts deleted :s
nikooo777
 
Posts: 8
Joined: 15. March 2010 18:21


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 18 guests