Page 1 of 4
Error Log
Posted: Mon Jan 02, 2017 2:15 pm
by ErrorLost
I am currently experiencing errors on my live site that I wasn't getting while developing locally. Is there an Error Log that I can download?
Re: Error Log
Posted: Tue Jan 03, 2017 1:09 pm
by joemuller
Indeed there is! Using either ftp.sonic.net or shell.sonic.net, your logs should be in the following location:
/var/log/httpd/YOUR_SONIC_USERNAME/
Re: Error Log
Posted: Tue Jan 03, 2017 1:45 pm
by ErrorLost
Thank you. It looks like according to my php.info file that I don't have Error Reporting turned on. So there is nothing in that directory. Is there a way to edit the INI file?
Re: Error Log
Posted: Tue Jan 03, 2017 2:30 pm
by joemuller
You can set php.ini settings one of two ways:
1.) Set up a .user.ini file to override the default php.ini settings (
http://php.net/manual/en/configuration. ... r-user.php)
Code: Select all
display_errors = on
error_reporting = E_ALL
2.) Use php_value inside an .htaccess file (
http://php.net/manual/en/configuration.changes.php)
Code: Select all
php_flag display_errors on
php_value error_reporting E_ALL
Re: Error Log
Posted: Tue Jan 03, 2017 2:52 pm
by Error Log
Wonderful! Thank you!
Re: Error Log
Posted: Tue Jan 03, 2017 3:16 pm
by ErrorLost
Strange. I am getting error 550: Permission Denied.
Re: Error Log
Posted: Tue Jan 03, 2017 5:01 pm
by joemuller
I'd be happy to take a quick look, but I'm not sure which website you're working on. Could you let me know the username and/or domain name?
Re: Error Log
Posted: Wed Jan 04, 2017 12:40 pm
by Error Log
That'd be great. The domain is crystalsilenceleague.org
I am working as a contractor helping a friend. Unfortunately, I did not set up the original site. Any insight would be greatly appreciated!
Re: Error Log
Posted: Wed Jan 04, 2017 12:49 pm
by ErrorLost
It looks like a User.INI file required PHP version 5.3.0 and this site is still running 5.2.11. Here is a link to the php info
http://crystalsilenceleague.org/info.php
Re: Error Log
Posted: Wed Jan 04, 2017 1:41 pm
by Guest
Here is a link on how to change to a different version of php. I'm not sure if 5.5 is the latest version though.
https://wiki.sonic.net/wiki/Php5