[SOLVED] error log file problem

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
User avatar
Claudiox
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Nov 07, 2011 11:40 am
Location: Italy

[SOLVED] error log file problem

Post by Claudiox » Thu Aug 28, 2014 9:52 pm

Greetings to all,
I have a little problem with an old site in Joomla 1.5 which despite being set in the Global Configuration -> Server value to the Report item no errors are still generates the error-log file, and gradually gain weight until saturate the space reserved for the domain .
In the file configuration.php the variable appears to be consistent with what is set in the back end it is $ error_reporting = '0';
Does anyone have any idea what this inconsistency is due and how to put off error reporting without putting their hands in php.ini?
Thanks in advance
Last edited by Claudiox on Tue Sep 02, 2014 11:06 pm, edited 1 time in total.

User avatar
dpacadmin
Joomla! Champion
Joomla! Champion
Posts: 6029
Joined: Sat Aug 16, 2008 1:46 pm
Location: the Bat Cave
Contact:

Re: error log file problem

Post by dpacadmin » Mon Sep 01, 2014 2:00 am

In Joomla 1.5 find the "System - Log" plugin and disable it. If that doesn't work; in the Global Configuration settings, under the System tab, change the path to the "logs" folder so it is incorrect and see if that stops the logging.

User avatar
Claudiox
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Nov 07, 2011 11:40 am
Location: Italy

Re: error log file problem

Post by Claudiox » Mon Sep 01, 2014 9:32 am

Hi dpacadmin,
many thanks for your kindly reply.
The System log plg was already disable, the path in Global Configuration under System tab is /home/mydomain/public_html/logs but the error_log file that I find is in /home/mydomain/public_html/

User avatar
dpacadmin
Joomla! Champion
Joomla! Champion
Posts: 6029
Joined: Sat Aug 16, 2008 1:46 pm
Location: the Bat Cave
Contact:

Re: error log file problem

Post by dpacadmin » Mon Sep 01, 2014 5:35 pm

Could be a server file, can you find the source of the errors and repair it, that should shrink the file. Could also be an extension you have added that created and uses the log file, you may be able to disable logging in the extension if that is the case.

User avatar
Claudiox
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Nov 07, 2011 11:40 am
Location: Italy

Re: error log file problem

Post by Claudiox » Mon Sep 01, 2014 8:54 pm

Sorry but I can't understand, I find the error_log file in public_html dir for 4 or 5 old sites Joomla 1.5.26
So I don't think it can be an extension added, because I have not changed any thing from a long time in these sites.
About server files, you thinks that is possible that files is made from the server ?
I must search the solution on my server?

I apologize if I did not understand :'(

User avatar
Claudiox
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Nov 07, 2011 11:40 am
Location: Italy

Re: error log file problem

Post by Claudiox » Tue Sep 02, 2014 11:05 pm

ok dpacadmin,
maybe I've answered too much fast.
The errol log file in public_html is created by /usr/local/lib/php.ini on my apache server, probably the old site in Joomla 1.5 dont work very well with the new version of PHP server.
However I can set in php.ini the value off for log_error for solve my problem.
right?

User avatar
dpacadmin
Joomla! Champion
Joomla! Champion
Posts: 6029
Joined: Sat Aug 16, 2008 1:46 pm
Location: the Bat Cave
Contact:

Re: [SOLVED] error log file problem

Post by dpacadmin » Tue Sep 02, 2014 11:22 pm

Yes if it is the php error log then disabling logging of errors in the php.ini file should stop it. Unless the Host has an override on that setting, so if it doesn't work ask them why it didn't work.

User avatar
Claudiox
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Nov 07, 2011 11:40 am
Location: Italy

Re: [SOLVED] error log file problem

Post by Claudiox » Tue Sep 02, 2014 11:29 pm

Ok Ray ;)
many thanks for your useful help.


Locked

Return to “General Questions/New to Joomla! 1.5”