absolute beginner has problems, please help

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.
Post Reply
tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

absolute beginner has problems, please help

Post by tezzerp » Mon Aug 20, 2018 1:54 pm

Hello
Just thrown my hat in to a forum and agreed to be the webmaster, my first time in that role! The Joomla software has had a glitch and no one has been able to sort it out.
Basically we have 1.5.26 and we have error logs (PHP error logs) that get bigger and bigger. (In Disk Usage / Logs)
In laymans terms (!) how can I disable the logs and make our life a bit easier?

Many Many thanks
Terry

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35206
Joined: Sat Apr 05, 2008 9:58 pm

Re: absolute beginner has problems, please help

Post by Webdongle » Mon Aug 20, 2018 3:17 pm

Install the latest Joomla and rebuild the site is your best option.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Mon Aug 20, 2018 3:39 pm

Thats not really an option as the old site is full of information. Just want to stop it logging. Have now tried various php.ini fixes but none seem to work
Anyone any ideas?
Thanks
Terry

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35206
Joined: Sat Apr 05, 2008 9:58 pm

Re: absolute beginner has problems, please help

Post by Webdongle » Mon Aug 20, 2018 4:23 pm

They won't work. Host's will keep upgrading their php version and 1.5 wont run on newer versions pf php. Your only option is to install the latest version of Joomla and rebuild the site. J2xml will help move the data/users you will just need to create the menus and install new extensions. There are other migration tools but trying to keep it 1.5 is not a viable option.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Mon Aug 20, 2018 5:04 pm

Thanks for the reply and ultimately that’s what we want to do, but for the moment we just want to stop the error logs. Surely there is a way. There must be a way.
Thanks
Terry

gws
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3416
Joined: Tue Aug 23, 2005 1:56 pm
Location: Kent / Sussex / Surrey border UK
Contact:

Re: absolute beginner has problems, please help

Post by gws » Mon Aug 20, 2018 5:15 pm

Have you considered a chron job to just delete them daily/weekly etc.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35206
Joined: Sat Apr 05, 2008 9:58 pm

Re: absolute beginner has problems, please help

Post by Webdongle » Mon Aug 20, 2018 6:10 pm

Fix the cause of the php errors and then they wont show in the error log ?
What are the errors ?

btw
There was a zero day exploit found after 1.5.26 became eol. A hotfix was produced ... see https://www.ostraining.com/blog/joomla/hotfixes/ for details
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Tue Aug 21, 2018 6:21 am

Webdongle wrote:
Mon Aug 20, 2018 6:10 pm

What are the errors ?
Errors are like this 750MB per day typical :-

[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::import() should not be called statically in /home/xx/public_html/xx/libraries/joomla/import.php on line 29
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::register() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 71
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::import() should not be called statically in /home/xx/public_html/xx/libraries/joomla/import.php on line 32
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::register() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 71
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::load() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 161
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::register() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 138
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::clean() should not be called statically in /home/xx/public_html/xx/libraries/joomla/import.php on line 33
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 463
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 464
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 465
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 466
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 467
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /home/xx/public_html/xx/libraries/joomla/environment/request.php on line 468
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::import() should not be called statically in /home/xx/public_html/xx/libraries/joomla/import.php on line 35
[21-Aug-2018 06:17:50 UTC] PHP Strict Standards: Non-static method JLoader::register() should not be called statically in /home/xx/public_html/xx/libraries/loader.php on line 71

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Tue Aug 21, 2018 6:23 am

Just noticed a few things the php file in Public html is named "php.ini2" ???? There was a server migration, is this the problem? should it be renamed php.ini?

Within that file Display Errors is set to ON

Thanks
Terry

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Tue Aug 21, 2018 7:45 am

Also I haven't got a line that starts error_reporting in php.ini2
I only have ;error_reporting with examples

Thanks
Terry

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Tue Aug 21, 2018 8:46 am

gws wrote:
Mon Aug 20, 2018 5:15 pm
Have you considered a chron job to just delete them daily/weekly etc.
Will try and fix first and then fall back on this, although not sure how to start?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35206
Joined: Sat Apr 05, 2008 9:58 pm

Re: absolute beginner has problems, please help

Post by Webdongle » Tue Aug 21, 2018 9:34 am

Global config >>> Server (tab) ... set 'error reporting' 'Simple' or 'None' ... does that help ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Tue Aug 21, 2018 9:48 am

Webdongle wrote:
Tue Aug 21, 2018 9:34 am
Global config >>> Server (tab) ... set 'error reporting' 'Simple' or 'None' ... does that help ?
Already set to none :-(

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Tue Aug 21, 2018 10:40 am

I am thinking, I should add a line in my php.ini2 file of :-
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

??????
Thanks

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35206
Joined: Sat Apr 05, 2008 9:58 pm

Re: absolute beginner has problems, please help

Post by Webdongle » Tue Aug 21, 2018 11:42 am

You can try but if the global setting is ignored then the local php.ini might also ignore it. Try
Use a text editor to modify the .htaccess file as follows:

To prevent PHP from displaying error messages, add the following line:

php_flag display_errors Off

To allow PHP to display error messages, add the following line:

php_flag display_errors On

Save the changes to the .htaccess file and exit the text editor.
To verify that the new setting is active, create a PHP test file that contains the following code in the same directory where the .htaccess file is located:

<?php phpinfo(); ?>

Load the test file in your web browser, and then search for the name of the directive. The Local Value column should display the new setting that you specified in the .htaccess file.
https://www.a2hosting.co.uk/kb/develope ... ccess-file
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Tue Aug 21, 2018 11:59 am

See later post

Cheers
Terry
Last edited by tezzerp on Tue Aug 21, 2018 1:24 pm, edited 1 time in total.

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Tue Aug 21, 2018 12:09 pm

Tried to alter the .htaccess file and the web site went down!

What next?

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Tue Aug 21, 2018 2:14 pm

I have found that the php is 5.6 and perhaps it should be rolled back to 5.3????

Thanks

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35206
Joined: Sat Apr 05, 2008 9:58 pm

Re: absolute beginner has problems, please help

Post by Webdongle » Tue Aug 21, 2018 3:53 pm

Site went down when you edited the.htaccess? Did it work when you undid the edit?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Wed Aug 22, 2018 8:26 am

Site now sorted. Had the host roll back the PHP

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35206
Joined: Sat Apr 05, 2008 9:58 pm

Re: absolute beginner has problems, please help

Post by Webdongle » Wed Aug 22, 2018 9:28 am

What happens when that version of php becomes obsolete? Perhaps find a fix not a work around?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

tezzerp
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Mon Aug 20, 2018 1:48 pm

Re: absolute beginner has problems, please help

Post by tezzerp » Wed Aug 22, 2018 4:41 pm

Yes accepted that now, and will learn how to migrate to Joomla 3.8
Thanks for trying
T


Post Reply

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