Yes, for people who are not familiar with programming language, this is a not obvious problem. Some language use // or /*, -- as comment lines (high level language such as C, verilog, VHDL,etc). In this case, it's ';' which is normally used in machaine (assembly) language.DaBuds wrote:Thank you Joomla! Master... that was the fix! You da man!
Webdongle wrote:Ah common easy mistake to makenotlocate
error_reporting =
And change the value to
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
locate
display_errors = On
And change the value to
display_errors = OffLook very closely and remember that files are often documented with comments. In this particular file the comments are preceded bylocate
;error_reporting =
And change the value to
;error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
locate
;display_errors = On
And change the value to
;display_errors = Off
;
The
;
Tells the computer the lines beginning with
;
are comments and not instructions.
error "Strict Standards:..............." in 1.6
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Wed Sep 07, 2011 3:35 pm
- Location: Netherlands
Re: error "Strict Standards:..............." in 1.6
Cheers, AYC
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Sep 16, 2011 5:47 pm
Re: error "Strict Standards:..............." in 1.6
thanks guys,
you made my day!
located and edited the lines and now it really looks fine to me!
greetings from berlin!
you made my day!
located and edited the lines and now it really looks fine to me!
greetings from berlin!
-
- Joomla! Apprentice
- Posts: 9
- Joined: Wed Oct 19, 2011 12:26 am
Re: error "Strict Standards:..............." in 1.6
Thank you a million!
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Oct 25, 2011 1:50 pm
Re: error "Strict Standards:..............." in 1.6
guys pleas help
i swear i updated the PHP.ini file as you requested
i still having the same problem (((((
note
i attached both the update in php file plus the error msgs i get on the site
note 2
i am using xampp 1.7 + joomla 1.7 both as localhost
i swear i updated the PHP.ini file as you requested
i still having the same problem (((((
note
i attached both the update in php file plus the error msgs i get on the site
note 2
i am using xampp 1.7 + joomla 1.7 both as localhost
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Oct 25, 2011 1:50 pm
Re: error "Strict Standards:..............." in 1.6
dear all
i solved the problem for XAMPP users by:
when installing xampp you first check if your system running 32 or 64 bit OS !
if 32 bit you should install the xampp on "xampp" root folder ! i mean when installing on C: or D: ...etc
it should be like this C:\xampp ...
if on a 64 bit ... it doesn't matter you can install on any directory ... like C:\ABC\xampp ...
before installing xampp also you have to disable the UAC for win vista and 7 users
and you can do that by doing the following :
Run Registry Editor (RegEdit).
Navigate to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
Locate the following REG_DWORD value:
EnableLUA
Set the value of EnableLUA to 0.
Optional step to suppress UAC consent prompt dialog, locate the following REG_DWORD value:
ConsentPromptBehaviorAdmin
Set the value of ConsentPromptBehaviorAdmin to 0 (optional).
Exit from Registry Editor and restart the computer to turn off UAC.
then install your joomla ... as regular
after this we should update the php.ini file on the xampp directory ?\xampp\php\php.ini
and do the following :
hope this is helpfull
i solved the problem for XAMPP users by:
when installing xampp you first check if your system running 32 or 64 bit OS !
if 32 bit you should install the xampp on "xampp" root folder ! i mean when installing on C: or D: ...etc
it should be like this C:\xampp ...
if on a 64 bit ... it doesn't matter you can install on any directory ... like C:\ABC\xampp ...
before installing xampp also you have to disable the UAC for win vista and 7 users
and you can do that by doing the following :
Run Registry Editor (RegEdit).
Navigate to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
Locate the following REG_DWORD value:
EnableLUA
Set the value of EnableLUA to 0.
Optional step to suppress UAC consent prompt dialog, locate the following REG_DWORD value:
ConsentPromptBehaviorAdmin
Set the value of ConsentPromptBehaviorAdmin to 0 (optional).
Exit from Registry Editor and restart the computer to turn off UAC.
then install your joomla ... as regular
after this we should update the php.ini file on the xampp directory ?\xampp\php\php.ini
and do the following :
it is necessary updating the lines after the ; because they are the functional codeslocate
;error_reporting =
And change the value to
;error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
locate
;display_errors = On
And change the value to
;display_errors = Off
hope this is helpfull
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Oct 26, 2011 12:30 pm
Re: error "Strict Standards:..............." in 1.6
Joomla Master,
I'm an absolute beginner and also having problems with:
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\Joomla\libraries\joomla\cache\cache.php on line 420
However I cannot find the file " C:\xampp\php\php.ini " on my PC, instead its "C:\xampp\php\php.ini-development"
Windows7 32 bit
Joomla 1.7.1
XAMPP 1.7.7
Please help!
I'm an absolute beginner and also having problems with:
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\Joomla\libraries\joomla\cache\cache.php on line 420
However I cannot find the file " C:\xampp\php\php.ini " on my PC, instead its "C:\xampp\php\php.ini-development"
Windows7 32 bit
Joomla 1.7.1
XAMPP 1.7.7
Please help!
- Webdongle
- Joomla! Master
- Posts: 44093
- Joined: Sat Apr 05, 2008 9:58 pm
Re: error "Strict Standards:..............." in 1.6
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 7
- Joined: Wed Sep 07, 2011 3:35 pm
- Location: Netherlands
Re: error "Strict Standards:..............." in 1.6
Hi masukela1893,masukela1893 wrote:Joomla Master,
I'm an absolute beginner and also having problems with:
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\Joomla\libraries\joomla\cache\cache.php on line 420
However I cannot find the file " C:\xampp\php\php.ini " on my PC, instead its "C:\xampp\php\php.ini-development"
Windows7 32 bit
Joomla 1.7.1
XAMPP 1.7.7
Please help!
Did you see a php file in the Windows explorer with type "configuration"? if so, that's the right file you should edit. The php with type "ini-development" or "ini-production" are not. Be careful!
good luck!
Cheers, AYC
- Webdongle
- Joomla! Master
- Posts: 44093
- Joined: Sat Apr 05, 2008 9:58 pm
Re: error "Strict Standards:..............." in 1.6
There are 2 php.ini files, the link in my previous Post shows how to locate the one to edit.ayc wrote:....
Did you see a php file in the Windows explorer with type "configuration"? if so, that's the right file you should edit. ....
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Oct 25, 2011 1:50 pm
Re: error "Strict Standards:..............." in 1.6
update the "php.ini-development" and save it at the same folder as php.inimasukela1893 wrote:Joomla Master,
I'm an absolute beginner and also having problems with:
Strict Standards: Accessing static property JCache::$_handler as non static in C:\xampp\htdocs\Joomla\libraries\joomla\cache\cache.php on line 420
However I cannot find the file " C:\xampp\php\php.ini " on my PC, instead its "C:\xampp\php\php.ini-development"
Windows7 32 bit
Joomla 1.7.1
XAMPP 1.7.7
Please help!
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Oct 26, 2011 12:30 pm
Re: error "Strict Standards:..............." in 1.6
I tried to edit the file with NOTEPAD but it didn't work. Can I find a replacement for the php file?
OR should I down-grade to earlier versions of XAMPP and Joomla? I need to get this going asap.
Please advise.
Thank you.
OR should I down-grade to earlier versions of XAMPP and Joomla? I need to get this going asap.
Please advise.
Thank you.
- Webdongle
- Joomla! Master
- Posts: 44093
- Joined: Sat Apr 05, 2008 9:58 pm
Re: error "Strict Standards:..............." in 1.6
The quickest way is to concentrate on locating the php.ini file that's being loaded. see my previous post.masukela1893 wrote:... I need to get this going asap.
.....
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- 3d web design
- Joomla! Apprentice
- Posts: 43
- Joined: Thu Jan 07, 2010 11:19 am
- Location: Bulgaria, Sofia
- Contact:
Re: error "Strict Standards:..............." in 1.6
Changes in php.ini will be used from server after next restartIT WORKS!!! I CAN NOT BELIEVE IT !!!
I dont touch anything
To hide errors in this way is not a decision for me, maybe joomla 1.7 developers must rewrite this part of code.
In all joomla 1.7 error is present - we have 1.7.0, 1.7.2 and 1.7.3 installations - this error is everywhere. If switch error reporting at development mode from global config is shown on screen.
We have joomla 1.7.3 based websites and is not normal that only one site with 50 unique visitors daily make 1gb cache
- fionaby
- Joomla! Enthusiast
- Posts: 163
- Joined: Fri Jul 27, 2007 2:03 pm
- Location: South Africa - Cape town
Re: error "Strict Standards:..............." in 1.6
Just remember to restart PC as service could still be running in windows 64bit.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Dec 11, 2011 5:12 am
Re: error "Strict Standards:..............." in 1.6
Thanks for a great thread. I was having the same problems installing joomla and was ready to pull my hair out until I came acoss this fix. Everything is running great now.
(just remember to restart)
(just remember to restart)
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Dec 14, 2011 4:29 pm
Re: error "Strict Standards:..............." in 1.6
THis was very helpful for me!!obzour wrote:dear all
when installing xampp you first check if your system running 32 or 64 bit OS !
if 32 bit you should install the xampp on "xampp" root folder ! i mean when installing on C: or D: ...etc
it should be like this C:\xampp ...
if on a 64 bit ... it doesn't matter you can install on any directory ... like C:\ABC\xampp ...
before installing xampp also you have to disable the UAC for win vista and 7 users
and you can do that by doing the following :
Run Registry Editor (RegEdit).
Navigate to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
Locate the following REG_DWORD value:
EnableLUA
Set the value of EnableLUA to 0.
Optional step to suppress UAC consent prompt dialog, locate the following REG_DWORD value:
ConsentPromptBehaviorAdmin
Set the value of ConsentPromptBehaviorAdmin to 0 (optional).
Exit from Registry Editor and restart the computer to turn off UAC.
then install your joomla ... as regular
hope this is helpfull
I did the changing in the php.ini but it still didn't work, but now having followed these steps, everything is working fine!
Thanks to everyone helping out here, it is a great work you do!
-
- Joomla! Fledgling
- Posts: 2
- Joined: Tue Dec 27, 2011 11:43 pm
Re: error "Strict Standards:..............." in 1.6
Hey, I don't know why it's not working for me. I found my php.ini and changed the values to the suggested ones, but it didn't changed a bit.
I can't really stop Apache or MySQL in my XAMPP for some reason, so I simply exit XAMPP and launched it again.
I run on Windows 7, so I don't know if it makes any difference. Can anyone tell me what else I can do? Thank you in advanced.
I can't really stop Apache or MySQL in my XAMPP for some reason, so I simply exit XAMPP and launched it again.
I run on Windows 7, so I don't know if it makes any difference. Can anyone tell me what else I can do? Thank you in advanced.
- Webdongle
- Joomla! Master
- Posts: 44093
- Joined: Sat Apr 05, 2008 9:58 pm
Re: error "Strict Standards:..............." in 1.6
Make sure you are editing the correct php.ini file
Make sure you are editing the commands not the comments.
Or in Joomla admin Global config ,,, server tab ... change the 'Error Reporting' setting
Make sure you are editing the commands not the comments.
Or in Joomla admin Global config ,,, server tab ... change the 'Error Reporting' setting
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Fledgling
- Posts: 3
- Joined: Mon Jan 02, 2012 8:02 pm
Re: error "Strict Standards:..............." in 1.6
yayyy..fixed it!
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Jan 10, 2012 7:08 pm
Re: error "Strict Standards:..............." in 1.6
Hi All,
Thanks for your solution.
It works.
Andrew
In the php.ini file
locate
error_reporting =
And change the value to
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
locate
display_errors = On
And change the value to
display_errors = Off
Stop then restart xampp for the new settings to take effect
(N.B. there are comments about error_reporting = as well as the command line.)
The pic shows how to find the file php.ini, yours will be different but it should help you
Attachment:
Search file location
c:/xampp/php/php.ini file.
Thanks for your solution.
It works.
Andrew
In the php.ini file
locate
error_reporting =
And change the value to
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
locate
display_errors = On
And change the value to
display_errors = Off
Stop then restart xampp for the new settings to take effect
(N.B. there are comments about error_reporting = as well as the command line.)
The pic shows how to find the file php.ini, yours will be different but it should help you
Attachment:
Search file location
c:/xampp/php/php.ini file.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Apr 01, 2012 12:43 pm
Re: error "Strict Standards:..............." in 1.6
Hi allnewwung wrote:Hey, I don't know why it's not working for me. I found my php.ini and changed the values to the suggested ones, but it didn't changed a bit.
I can't really stop Apache or MySQL in my XAMPP for some reason, so I simply exit XAMPP and launched it again.
I run on Windows 7, so I don't know if it makes any difference. Can anyone tell me what else I can do? Thank you in advanced.
Have followed this thread with interest as it helped me with a few issues.
One thing I have noticed is that posters have noticed that problems are only being fixed after a reboot.
"simply exit XAMPP and launched it again" wouldn't work for me as I had chosen to run Apache, mySQL etc as a service.
One of my installation issues may suggest why.
I run Windows 7, and rarely run an Administrator user. When I install new software, I am prompted for my Administrator user/password.
XAMPP was installed as an Administrator, and when I tried to use the XAMPP Control Panel as my usual non-Administration user nothing happened.
The trick is to set up "xampp-control.exe" with Administrator privileges.
To do this open the Properties on "xampp-control.exe" in c:\xampp (Right-mouse-click). On the "Compatability" tab click box "Change Settings for all Users". You will be prompted for an Administrator user/password. Once supplied the "Run this program as an Administrator" option will be enabled. Make sure it is checked ON, and Apply the changes.
Now, whenever you start up XAMPP Control Panel in a non-Adminstrator user, you will be prompted for the Administrator user/password.
Alternatively you can RMC your shortcut to XAMPP Control Panel, and chose the "Run as Administrator" option.
Once the the Administrator user/password has been supplied, you will have full Administrator functionality in the XAMPP Control Panel.
HTH
GRAPL
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Apr 23, 2012 1:41 pm
Re: error "Strict Standards:..............." in 1.6
I have the same error as reported in the beginning of the thread. i tried the solutionns but to no avail!:(
m using xamp 1.7.7 on windows 7 . urgently need smbdy's help
m using xamp 1.7.7 on windows 7 . urgently need smbdy's help
- Webdongle
- Joomla! Master
- Posts: 44093
- Joined: Sat Apr 05, 2008 9:58 pm
Re: error "Strict Standards:..............." in 1.6
Then you didn't apply the instructions accuratelyshan_nit wrote:I have the same error as reported in the beginning of the thread. i tried the solutionns but to no avail!...
Common errors
Editing the wrong php.ini file
Editing the comments not the commands
Not stopping restarting the services.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 13
- Joined: Tue Sep 02, 2008 7:54 pm
Re: error "Strict Standards:..............." in 1.6
Thanks a lot. I am using Joomla 1.5.26 and it is my production site.pensake wrote: error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
display_errors = Off
Since there was no php.ini file exists, I just created a new file (php.ini) with above lines and save it inside Joomla administrator folder.
My problems were resolved. Now, there is no lengthy "Strict Standards errors" at my back end. ;-)
The important note is that you will see the result only if you restart your server.
Sardhar
http://www.hi5sys.com
- Webdongle
- Joomla! Master
- Posts: 44093
- Joined: Sat Apr 05, 2008 9:58 pm
Re: error "Strict Standards:..............." in 1.6
If your Hosting package allows you control to reboot the server then you probably will have access to the main php.ini filesardhar wrote:...
The important note is that you will see the result only if you restart your server.
...
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 13
- Joined: Tue Sep 02, 2008 7:54 pm
Re: error "Strict Standards:..............." in 1.6
The above solution worked with Joomla 2.5.6 as well, without restarting the Apache server ;-)sardhar wrote: error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
display_errors = Off
Since there was no php.ini file exists, I just created a new file (php.ini) with above lines and save it inside Joomla administrator folder.
My problems were resolved. Now, there is no lengthy "Strict Standards errors" at my back end. ;-)
The important note is that you will see the result only if you restart your server.
Sardhar
http://www.hi5sys.com
- stgeorge
- Joomla! Enthusiast
- Posts: 208
- Joined: Fri Jan 30, 2009 4:32 pm
- Location: UK
Re: error "Strict Standards:..............." in 1.6
Actually this is a common error on Web servers also.
Rather than mess with ini files, just use your joomla backend admin:
Joomla Administration Backend:
Global Configuration->Server->Error Reporting->None.
The settings on install is 'System Default'.
Rather than mess with ini files, just use your joomla backend admin:
Joomla Administration Backend:
Global Configuration->Server->Error Reporting->None.
The settings on install is 'System Default'.
-
- Joomla! Apprentice
- Posts: 25
- Joined: Tue May 22, 2012 3:42 am
Re: error "Strict Standards:..............." in 1.6
Im having the same issue. I have changed the php.ini file as you requested. Ive uninstalled the template which I think did some damage. But nothing has changed.
Im using XAMPP 2.5
Im using XAMPP 2.5
- Webdongle
- Joomla! Master
- Posts: 44093
- Joined: Sat Apr 05, 2008 9:58 pm
Re: error "Strict Standards:..............." in 1.6
Then you did one of the followingabydos71 wrote:... I have changed the php.ini file as you requested. ... But nothing has changed.
Im using XAMPP 2.5
- Edited the wrong php.ini file
- Edited the correct php.ini file but edited the comments not the commands
- Forgot to stop/restart xampp
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Nov 08, 2012 11:05 am
Re: error "Strict Standards:..............." in 1.6
I tried all the steps above but still the same issue i get displaying all the errors i changed the proper command instruction
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
and
display_errors = Off
and restarted xampp. but still the issue s not resolved.
i use xampp 1.8.1 and joomla 1.5.26 not getting installed.
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
and
display_errors = Off
and restarted xampp. but still the issue s not resolved.
i use xampp 1.8.1 and joomla 1.5.26 not getting installed.