The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Sat Jan 16, 2010 8:50 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Jan 16, 2010 8:38 am
Posts: 1
Hi,

I am new to Joomla and CMS packages (trying out Joomla out as educational/familiarisation step).

After my Joomla install on localhost, any Joomla page opened (including initial blank page after install from Joomla root) shows hundreds of following lines:

"Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/joomla15/libraries/joomla/import.php on line 29

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/joomla15/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/joomla15/libraries/joomla/import.php on line 32

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/joomla15/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in /opt/lampp/htdocs/joomla15/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/joomla15/libraries/loader.php on line 138"

etc., etc., etc........

Any ideas what maybe wrong?


Top
 Profile  
 
PostPosted: Sat Jan 16, 2010 9:52 am 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Wed Jun 07, 2006 9:10 am
Posts: 2454
Location: Brasov - Romania
You need to deactivate the display of PHP errors and warnings from your php.ini.
You could contact your hosting provider about it or you could do it yourself ( if you have access to that file ).
This topic might help:
viewtopic.php?f=429&t=271244

_________________
My latest project - http://www.extraglaze.co.uk/


Top
 Profile  
 
PostPosted: Sat Jun 12, 2010 8:30 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Wed Oct 11, 2006 1:12 pm
Posts: 5278
Location: Kristiansand, Norway
Alex wrote:
You need to deactivate the display of PHP errors and warnings from your php.ini.
You could contact your hosting provider about it or you could do it yourself ( if you have access to that file ).
If you not have access to the php.ini file you can try to edit your htaccess file. (You find this file in the root of your Joomla! installation. If the name is htaccess.txt, remember to rename it to .htaccess .

Write this to your .htaccess file
Code:
# supress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0

_________________
Kristian P. Granrud - Global Moderator

Joomla! i Norge => http://www.joomlainorge.no • Twitter => @sone12twitt


Top
 Profile  
 
PostPosted: Sun Feb 06, 2011 4:41 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Oct 17, 2010 4:48 pm
Posts: 3
sone12 wrote:
algis wrote:
You need to deactivate the display of PHP errors and warnings from your php.ini.
You could contact your hosting provider about it or you could do it yourself ( if you have access to that file ).
If you not have access to the php.ini file you can try to edit your htaccess file. (You find this file in the root of your Joomla! installation. If the name is htaccess.txt, remember to rename it to .htaccess .

Write this to your .htaccess file
Code:
# supress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0



This worked for me! I was wracking my brain trying to figure out why my php was giving me trouble, and I didn't have access to my php.ini file and this did the trick. THank you!


Top
 Profile  
 
PostPosted: Fri Feb 18, 2011 3:53 pm 
User avatar
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Mar 13, 2009 8:08 pm
Posts: 4
Location: Argentina
Thanks for the htaccess trick !!!
I have the same problem, Joomla in localhost with XAMPP 1.74 for testing purposes.


Top
 Profile  
 
PostPosted: Tue Feb 22, 2011 6:38 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Feb 22, 2011 5:52 pm
Posts: 1
I have the exact same problem , but the solution seems to be pretty vague , the htaccess.txt file already contains some text , do i paste the new code into it , or do i just replace it alltogether , and regarding the renaming , do i specifically rename it to .htaccess.txt


Top
 Profile  
 
PostPosted: Tue Feb 22, 2011 6:48 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Mon Sep 07, 2009 3:18 am
Posts: 1869
sone12 wrote:
Alex wrote:
You need to deactivate the display of PHP errors and warnings from your php.ini.
You could contact your hosting provider about it or you could do it yourself ( if you have access to that file ).
If you not have access to the php.ini file you can try to edit your htaccess file. (You find this file in the root of your Joomla! installation. If the name is htaccess.txt, remember to rename it to .htaccess .

Write this to your .htaccess file
Code:
# supress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0
http://forum.joomla.org/viewtopic.php?f=429&t=271244

http://docs.joomla.org/Htaccess_examples_(security )

_________________
coffee & smoke just fine

OOm Nezar


Top
 Profile  
 
PostPosted: Wed Mar 16, 2011 10:13 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 15, 2006 10:23 pm
Posts: 42
I change the .htaccess but I get white page on the front and back end.


Top
 Profile  
 
PostPosted: Thu Nov 17, 2011 6:30 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Nov 17, 2011 6:15 am
Posts: 1
Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 29

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 32

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 138

Strict Standards: Non-static method JRequest::clean() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 33

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\environment\request.php on line 463

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\environment\request.php on line 464

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\environment\request.php on line 465

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\environment\request.php on line 466

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\environment\request.php on line 467

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\environment\request.php on line 468

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 35

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 38

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 39

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 138

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 46

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 47

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 50

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 53

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 54

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 57

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\import.php on line 58

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 138

Strict Standards: Non-static method JFactory::getApplication() should not be called statically in C:\xampp\htdocs\E-Commerce\administrator\index.php on line 33

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 138

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 138

Strict Standards: Redefining already defined constructor for class JObject in C:\xampp\htdocs\E-Commerce\libraries\joomla\base\object.php on line 57

Strict Standards: Non-static method JApplication::getInstance() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\factory.php on line 46

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 138

Strict Standards: Non-static method JApplicationHelper::getClientInfo() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\application\application.php on line 130

Strict Standards: Declaration of JAdministrator::getRouter() should be compatible with that of JApplication::getRouter() in C:\xampp\htdocs\E-Commerce\administrator\includes\application.php on line 293

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 71

Strict Standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\E-Commerce\libraries\joomla\application\application.php on line 726

Strict Standards: Non-static method JFactory::_createConfig() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\E-Commerce\libraries\joomla\factory.php on line 73

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 186

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 138

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\joomla\registry\registry.php on line 19

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\xampp\htdocs\E-Commerce\libraries\loader.php on line 138

Strict Standards: Non-static method JUtility::getHash() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\E-Commerce\libraries\joomla\application\application.php on line 99

Strict Standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\E-Commerce\libraries\joomla\utilities\utility.php on line 111

Strict Standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\E-Commerce\libraries\joomla\application\application.php on line 384

Strict Standards: Non-static method JFactory::getSession() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\E-Commerce\libraries\joomla\application\application.php on line 764



please help me...


Top
 Profile  
 
PostPosted: Fri Nov 18, 2011 9:31 am 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Mon Sep 07, 2009 3:18 am
Posts: 1869
Already try to set it up in Global Configuration > Server > Error Reporting ?
http://docs.joomla.org/Help17:Site_Glob ... ion#Server

_________________
coffee & smoke just fine

OOm Nezar


Top
 Profile  
 
PostPosted: Fri Feb 24, 2012 6:32 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Feb 24, 2012 6:30 am
Posts: 1
Location: 北京, China
sone12 wrote:
Alex wrote:
You need to deactivate the display of PHP errors and warnings from your php.ini.
You could contact your hosting provider about it or you could do it yourself ( if you have access to that file ).
If you not have access to the php.ini file you can try to edit your htaccess file. (You find this file in the root of your Joomla! installation. If the name is htaccess.txt, remember to rename it to .htaccess .

Write this to your .htaccess file
Code:
# supress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0


You are the man. That did the trick for me too. Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 



Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group