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  [ 108 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
PostPosted: Fri Sep 02, 2011 6:58 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 29, 2011 12:55 pm
Posts: 20
hi Kev261266
thanks for your solution but i use appserver
how can i find php.ini

_________________
http://www.dr-shadabi.ir
http://www.zarvansaffron.ir


Top
 Profile  
 
PostPosted: Thu Sep 22, 2011 10:11 pm 
Joomla! Intern
Joomla! Intern

Joined: Thu Sep 22, 2011 9:15 pm
Posts: 50
houldsworth1 wrote:
sitelerinsitesi wrote:
Ok, I am sorry. I have the same problem as the first poster.


Don't be sorry - that's what forums are for.

Have you tried modifying your php.ini file?

Mine was as follows (using lampp)

Code:
Change /opt/lampp/etc/php.ini
set error_reporting to E_ALL & ~E_NOTICE
display_errors = Off


Then (very important because I missed this at first) you need to stop and start the lampp server (if you are not using lampp then bounce whichever webserver you are using).

I hope that helps.


Hi, thanks, it is extremely helpful to mention the stop and restart part!
I am using XAMPP, and I attempted many times by just exiting and restarting XAMPP, but however you need to stop Apache and MySql, and restart them!


Top
 Profile  
 
PostPosted: Sun Sep 25, 2011 2:05 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Sep 10, 2011 2:18 pm
Posts: 2
judy2segev,
Thank you so much for your post. Solved my problem as soon as I found the file. Edited it with notepad from -1 to 6135. Works like a charm. Thanks.

_________________
>> Dennis


Top
 Profile  
 
PostPosted: Wed Nov 09, 2011 11:02 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Nov 09, 2011 10:47 am
Posts: 1
Thank you all for your kind replies to OP. I spent a good two hours trying all this. Some body mentioned that you should restart your computer, I thought that was a silly thing to do as clearing all browsing history should be satisfactory.

However, I ended up restarting it with my fingers crossed and what do you know, it worked straight off after restarting. Made an account to tell you this, in case you're in a position similar to I was.

I modified php.ini (located in xampp>>php>>php.ini (a config. file)

open with notepad

line without the ";" change it to the following:

"set error_reporting to E_ALL & ~E_NOTICE"

then go to joomla config. file (xampp>>htdocs>>Joomla15*>>configuration.php

open with notepad

half way across first line change the $error_reporting value to "6135" from "-1"

restart xampp, restart computer. Good luck.



*your joomla folder, joomla15 recommended in Joomla setup guide


Top
 Profile  
 
 Post subject: Re: Strict standards
PostPosted: Fri Nov 11, 2011 10:47 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Nov 11, 2011 10:20 am
Posts: 1
I did the following and it worked correctly:

Changed the following in php.ini

From: error_reporting = E_ALL | E_STRICT
To: error_reporting = E_ALL & ~E_STRICT

From: display_errors = On
To: display_errors = Off

Also in configuration.php file
Changed: var $error_reporting = ‘-1′; to var $error_reporting = ’6135′;

You can try it also. Have fun with joomla.


Top
 Profile  
 
PostPosted: Wed Dec 21, 2011 8:16 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Mar 28, 2011 2:43 pm
Posts: 12
Hi There,

I found the quote bellow on Apache Friends' forum, and this solved the issue for me. I know it is an old issue, but I recently encountered this problem. Well, I'm happy - hope it can help someone else. ;D


"geethupendra is correct and what you need to do is change the following line in the php.ini file:

Line 516: error_reporting = E_ALL | E_STRICT

TO

Line 516: error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

Save that and restart Apache and you should be good to go with installing and working with Joomla! on XAMPP 1.7.4"


http://www.apachefriends.org/f/viewtopic.php?p=182516

_________________
Francois du Toit
Webpreneur
Latest Niche Site: http://www.health2u.co.za/during-pregnancy
http://www.ezywebsites.co.za


Top
 Profile  
 
PostPosted: Sat Jan 14, 2012 4:06 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 05, 2011 2:29 am
Posts: 21
I have tried all of the changes to the code above and still I get the Strict standards errors. I have set up a site on Joomla 1.7 with these corrections and they have worked fine, but I can't get it to work on the 1.5

What is happening? Help.


Top
 Profile  
 
PostPosted: Tue Jan 17, 2012 1:49 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Aug 07, 2010 12:03 pm
Posts: 32
Location: East Coast US
arobert wrote:
I Think most of people makes the same mistake I made.
Actually, in php.ini (provided with EasyPhp3 (at last)) 'error_reporting' and 'display_errors' appear twice in the file ... So be care to edit the last one, because default value for this variables are :
Code:
error_reporting = E_ALL | E_STRICT
display_errors = On

despite what is written at the first begginig of this file.
So the Full answer to this problem is :
In Apache php.ini (For easyPhp in %EASYPHP_HOME%/conf_files/php.ini
1/ change
Code:
error_reporting = E_ALL | E_STRICT
by
Code:
error_reporting = E_ALL & ~E_STRICT

2/ change
Code:
display_errors = On
by
Code:
display_errors = Off

Warning : Be sure your error_reporting and display_errors variables are the last one to be read in the php.ini file, else yours could be overwritten by default values.
Furthermore, you can leave var $error_reporting = '-1'; unchanged in joomla configuration.php


I can't thank you enough for providing this final solution. I wasted a lot of time till I got to your post.


Top
 Profile  
 
PostPosted: Mon Feb 06, 2012 6:34 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 05, 2011 2:29 am
Posts: 21
thanks for all the information. I was only looking for the changes at the top, but I found there was the same information further down that also needed to change. I used the "find" function on my notepad. All's well!


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 12:25 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 15, 2012 8:28 pm
Posts: 10
http://forum.joomla.gr/viewtopic.php?f=103&t=23547

Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\joomla\libraries\joomla\cache\cache.php on line 420

Here is an elegant solution:

Go to ..\xampp\htdocs\joomlaxxx\configuration.php and change
public $error_reporting = 'maximum';

or from joomla backpanel

1. http://localhost/joomlaxxx/administrator/ --> menu...
2. Site --> Global Configuration --> ...Server....
3. Error Reporting = maximum;


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 11:50 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 23363
Location: @Webdongle
@tsaimsbond

That solution does not work for 1.5 and this is a 1.5 forum

_________________
http://weblinksonline.co.uk/joomla-faq.html


Top
 Profile  
 
PostPosted: Fri Mar 30, 2012 11:27 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed May 12, 2010 1:00 pm
Posts: 1
8) Hi thanks a lot for the advice. adding this code to index.php in both admin folder and site woked for me:

error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING );


Top
 Profile  
 
PostPosted: Fri Jul 27, 2012 11:42 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Jul 27, 2012 10:50 am
Posts: 1
igrimpe wrote:
E_SCRIPT ???

E_ALL = E_ERROR | E_WARNING | E_PARSE | E_NOTICE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_RECOVERABLE_ERROR

Since E_STRICT is not in E_ALL, one has to OR it in.
If you don't want E_NOTICE you have to ANDNOT it out.

Simply set $error_reporting in configuration.php to 6135 if you want all errors except E_NOTICE and E_STRICT


Hi, Thanks for the solution.I am new to Joomla, I've encounter this kind of error(may be not) and i changed the php.ini file error_reporting it didn't worked may be I did something wrong .But when i changed the $error_reporting in configuration.php from 'default' to 6135 .I got the problem solved.My question is what happened here :( ?What is the reason of this kind of Error :( here ( Please forgive my English :-[ ].belowis the screenshot of my login screen(i've cropped the login part)


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Sun Jul 29, 2012 8:12 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 23363
Location: @Webdongle
In 2.5 the error reporting can be set in Global config to override the server setting. But IMHO it's best to leave Global config error setting at it's default value and edit the xampp php.ini file correctly.

_________________
http://weblinksonline.co.uk/joomla-faq.html


Top
 Profile  
 
PostPosted: Thu Dec 06, 2012 9:28 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu May 12, 2011 4:16 am
Posts: 1
Thanks mdias,
It works for me. No more errors. :)
But thing I would like to know is
Will it affect to somewhere if put like that?
What's the reasons why those error came out?

Hope anyone can help to answer these questions. Thank you! :)



mdias wrote:
Put this right after "define( '_JEXEC', 1 );" on index.php:
Code:
error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING );


You may need to do that on your administrator folder too.


Top
 Profile  
 
PostPosted: Fri Apr 19, 2013 5:11 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Apr 19, 2013 5:02 pm
Posts: 1
Location: Sweden. UK.
These are most common Joomla errors under PHP >5.3

The easiest way is to add (or change to) following in php.ini configuration file:

date.timezone = UTC
display_startup_errors = off
display_errors = off
html_errors = off
docref_root = 0
docref_ext = 0

If there's no access to php.ini, then you can add corresponding directives to .htaccess :

# 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

Also, in configuration.php change following value to:

var $error_reporting = '6135';

Cheers!


Top
 Profile  
 
PostPosted: Fri Apr 19, 2013 8:06 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Mon Oct 03, 2011 9:52 am
Posts: 72
Ok... this is my first time not creating a Joomla! website online; I'm using WAMP.

So I was having the same problem on 2.5.9 with the Web Links facility.
Attachment:
wamp_err.jpg

I followed the instructions and the issue is gone.

1. In php.ini, amend the line
Code:
error_reporting = E_ALL
to show
Code:
error_reporting = E_ALL & ~E_NOTICE
and save the file.

3. In configuration.php, amend the line
Code:
public $error_reporting = 'default'
to show
Code:
public $error_reporting = '6135'
and save the file. NOTE: the value you see may not be 'default' but '-1', as mentioned in earlier posts.

4. Stop and restart your WAMP server.


You do not have the required permissions to view the files attached to this post.

_________________
Ess'iele
... seeing things.


Top
 Profile  
 
PostPosted: Fri Apr 19, 2013 8:11 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Mon Oct 03, 2011 9:52 am
Posts: 72
essiele wrote:
Ok... this is my first time not creating a Joomla! website online; I'm using WAMP.

So I was having the same problem on 2.5.9 with the Web Links facility.
Attachment:
wamp_err.jpg

I followed the instructions and the issue is gone.

1. In php.ini, amend the line
Code:
error_reporting = E_ALL
to show
Code:
error_reporting = E_ALL & ~E_NOTICE
and save the file.

3. In configuration.php, amend the line
Code:
public $error_reporting = 'default'
to show
Code:
public $error_reporting = '6135'
and save the file. NOTE: the value you see may not be 'default' but '-1', as mentioned in earlier posts.

4. Stop and restart your WAMP server.


I wondered where my "2." went! Here goes my erratum:

2. Still in php.ini, amend the line
Code:
display_errors = On
to show
Code:
display_errors = Off
and save the file.

_________________
Ess'iele
... seeing things.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 108 posts ]  Go to page Previous  1, 2, 3, 4



Who is online

Users browsing this forum: komiatid_1970, LysanderSpooner and 7 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