Page 1 of 1

error reporting

PostPosted: 17. February 2011 21:17
by nikooo777
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.

Re: error reporting

PostPosted: 17. February 2011 21:23
by Altrea
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

Re: error reporting

PostPosted: 17. February 2011 21:39
by nikooo777
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!

Re: error reporting

PostPosted: 17. February 2011 21:55
by Altrea
Backups backups backups!
Backups all the way and even more backups!

I can't emphasize that enough how important that is!

Re: error reporting

PostPosted: 17. February 2011 22:58
by nikooo777
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