Solved

How to fix PHP errors related to timezone in my hosting site?

Posted on 2014-01-23
5
380 Views
Last Modified: 2014-01-24
I have joomla 1.5 website which is hosted in shared hosting. Now, I see the error log being enabled with this line,

[23-Jan-2014 16:43:44 Asia/Kolkata] PHP Strict Standards:  Non-static method JLoader::import() should not be called statically in /home/xtest/test/libraries/joomla/import.php on line 29

Open in new window


 Due to this error log, my site is locked after overwriting these warnings in the log file. So am unable to access the site.

Also hosting people says, you have to disable in your coding by upgrading the site.  Also they're not changing in php.ini for error log disable. They say, it will affect other sites.

Can anyone suggestion how to fix this further ?
0
Comment
Question by:Loganathan Natarajan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 300 total points
ID: 39802915
For a quick fix, try adding this statement to every page of the site (you can use a common file of some sort).

error_reporting(E_ALL ^E_NOTICE ^E_STRICT);

For a better fix, get a new hosting company.  What they are telling you indicates to me that they do not understand how to run shared hosting!

HTH, ~Ray
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 200 total points
ID: 39804161
I agree with Ray, get a new hosting company was my first thought.  Also... I believe Joomla 1.5 is an older version.
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 39805269
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 39805602
Thanks experts. You're points are valuable.

I think I have to change the hosting.
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 39806483
I agree with that assessment.  When you decide to move, have a look at this page.  Any of these companies could provide good hosting or recommend a good host:
http://www.php.net/thanks.php
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This article discusses how to create an extensible mechanism for linked drop downs.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question