Advertisement

Instalation seemed OK, but

Joomla version 1.5 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

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.
Locked
lrobinson378
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon May 10, 2010 3:47 pm

Instalation seemed OK, but

Post by lrobinson378 » Mon Feb 14, 2011 9:06 pm

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.

Advertisement
User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Instalation seemed OK, but

Post by dhuelsmann » Mon Feb 14, 2011 9:08 pm

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:

Code: Select all

error_reporting = E_ALL & ~E_NOTICE
You may need to stop and restart apache for it to take effect.
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

lrobinson378
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon May 10, 2010 3:47 pm

Re: Instalation seemed OK, but

Post by lrobinson378 » Mon Feb 14, 2011 9:22 pm

Thanks, That did the trick.
Lee

crowse
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Feb 15, 2011 3:22 pm

Re: Instalation seemed OK, but

Post by crowse » Tue Feb 15, 2011 3:43 pm

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

laura3gsd
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Sun Aug 07, 2011 5:25 am

Re: Instalation seemed OK, but

Post by laura3gsd » Sun Aug 07, 2011 5:30 am

Thank you, dhuelsmann, your info helped me with this error as well. :D

frankgill
Joomla! Intern
Joomla! Intern
Posts: 53
Joined: Fri Mar 18, 2011 1:23 am
Location: Ireland

Re: Instalation seemed OK, but

Post by frankgill » Fri Aug 26, 2011 10:14 pm

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:

Code: Select all

error_reporting = E_ALL & ~E_NOTICE
You may need to stop and restart apache for it to take effect.
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?

laura3gsd
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Sun Aug 07, 2011 5:25 am

Re: Instalation seemed OK, but

Post by laura3gsd » Fri Aug 26, 2011 10:55 pm

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.

frankgill
Joomla! Intern
Joomla! Intern
Posts: 53
Joined: Fri Mar 18, 2011 1:23 am
Location: Ireland

Re: Instalation seemed OK, but

Post by frankgill » Mon Aug 29, 2011 11:58 am

Thank you very, very, very much Laura - it worked
frankgill

Name Badges
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Sep 04, 2011 6:54 am

Re: Instalation seemed OK, but

Post by Name Badges » Sun Sep 04, 2011 7:00 am

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

Locked

Return to “Installation 1.5”