Advertisement
Instalation seemed OK, but
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Mon May 10, 2010 3:47 pm
Instalation seemed OK, but
I installed Joomla 1.5 and it went fine until I clicked on "Site" button. Then all I saw was messages similar to this:
Strict Standards: Non-static method JText::_() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Joomla15\administrator\templates\khepri\login.php on line 66
All the messages with "Strict Standards:" and ended with a line number.
Strict Standards: Non-static method JText::_() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Joomla15\administrator\templates\khepri\login.php on line 66
All the messages with "Strict Standards:" and ended with a line number.
Advertisement
- dhuelsmann
- Joomla! Master
- Posts: 19659
- Joined: Sun Oct 02, 2005 12:50 am
- Location: Omaha, NE
- Contact:
Re: Instalation seemed OK, but
Assuming you are on windows, xampp defaults to reporting all errors, warnings, and notices. The recommended setting in php.ini which is found in the xampp\php\ folder is:
You may need to stop and restart apache for it to take effect.
Code: Select all
error_reporting = E_ALL & ~E_NOTICE
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org
-
- Joomla! Fledgling
- Posts: 2
- Joined: Mon May 10, 2010 3:47 pm
Re: Instalation seemed OK, but
Thanks, That did the trick.
Lee
Lee
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Feb 15, 2011 3:22 pm
Re: Instalation seemed OK, but
Hi,
I am a Joomla and PHP newbie , experienced in other languages
I got the same problem and I have tried to fix it both in the
a) /etc/php5/apache2/php.ini
b) <project folder>/configuration.php
I do restart the server each time I make a change to the configuration
Still not winning
a) It appears that some components and modules overwrite an E_ALL on a component level and the strict warnings come from these components
- this looks like components using PHP in a non-OO way
is there a way to use a non OO PHP/Joomla
- must hundreds of these be manually changed?
- how can I set them to a single value e.g.
#define ERROR_LEVEL = E_ALL & ~E_NOTICE
- should I be using E_ALL & ~E_NOTICE
or error_reporting = E_ALL & ~E_NOTICE | E_STRICT
or error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
b) Joomla seems to go recursive - it has blown up to 256Mb memory on this error !!!!!
- surely there is an easy way to limit the stacktrace depth??
- options of limiting message length dont seem to work
ignore_repeated_errors = On
ignore_repeated_errors = Off
log_errors_max_len = 2048
c) The code is downloaded from a live running site as a zip + mysql dump,
- what could go wrong in the download to cause this?
- what could go wrong in the configuration of the server?
your help much appreciated
Chris
I am a Joomla and PHP newbie , experienced in other languages
I got the same problem and I have tried to fix it both in the
a) /etc/php5/apache2/php.ini
b) <project folder>/configuration.php
I do restart the server each time I make a change to the configuration
Still not winning
a) It appears that some components and modules overwrite an E_ALL on a component level and the strict warnings come from these components
- this looks like components using PHP in a non-OO way
is there a way to use a non OO PHP/Joomla
- must hundreds of these be manually changed?
- how can I set them to a single value e.g.
#define ERROR_LEVEL = E_ALL & ~E_NOTICE
- should I be using E_ALL & ~E_NOTICE
or error_reporting = E_ALL & ~E_NOTICE | E_STRICT
or error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
b) Joomla seems to go recursive - it has blown up to 256Mb memory on this error !!!!!
- surely there is an easy way to limit the stacktrace depth??
- options of limiting message length dont seem to work
ignore_repeated_errors = On
ignore_repeated_errors = Off
log_errors_max_len = 2048
c) The code is downloaded from a live running site as a zip + mysql dump,
- what could go wrong in the download to cause this?
- what could go wrong in the configuration of the server?
your help much appreciated
Chris
-
- Joomla! Apprentice
- Posts: 16
- Joined: Sun Aug 07, 2011 5:25 am
Re: Instalation seemed OK, but
Thank you, dhuelsmann, your info helped me with this error as well. ![Cheesy :D](./images/smilies/icon_cheesygrin.gif)
![Cheesy :D](./images/smilies/icon_cheesygrin.gif)
-
- Joomla! Intern
- Posts: 53
- Joined: Fri Mar 18, 2011 1:23 am
- Location: Ireland
Re: Instalation seemed OK, but
Sorry, I am a complete novice, but how do you make the changes above. I found the php.ini-development and php.ini-production file. Which do I open and do I opne them in notepad to edit them?dhuelsmann wrote:Assuming you are on windows, xampp defaults to reporting all errors, warnings, and notices. The recommended setting in php.ini which is found in the xampp\php\ folder is:You may need to stop and restart apache for it to take effect.Code: Select all
error_reporting = E_ALL & ~E_NOTICE
-
- Joomla! Apprentice
- Posts: 16
- Joined: Sun Aug 07, 2011 5:25 am
Re: Instalation seemed OK, but
You should also have a php.ini file. Open with notepad, use 'find' and type error_reporting
Bypass this one:
; error_reporting
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED
and click next to find this one:
error_reporting = E_ALL & ~E_NOTICE
Making sure it says as above after the =
If you don't have a php.ini, something's wrong! Mine is right above the two you listed, php.ini development; and production. Hope that helps.
Bypass this one:
; error_reporting
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED
and click next to find this one:
error_reporting = E_ALL & ~E_NOTICE
Making sure it says as above after the =
If you don't have a php.ini, something's wrong! Mine is right above the two you listed, php.ini development; and production. Hope that helps.
-
- Joomla! Intern
- Posts: 53
- Joined: Fri Mar 18, 2011 1:23 am
- Location: Ireland
Re: Instalation seemed OK, but
Thank you very, very, very much Laura - it worked
frankgill
frankgill
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Sep 04, 2011 6:54 am
Re: Instalation seemed OK, but
Wow Laura what a super response I have to agree with everything you have said, it would be so good to see Laura..Thanks
Advertisement