Page 1 of 2

Strange error

Posted: Mon Mar 14, 2011 2:20 pm
by sk8te-penguin
I get this error whenever I try to access the administration page.

I am hosting it locally because it's only a college project and doesn't require an actual server upload.

The error is too long to post here, so I'll attach it in a text file.

Re: Strange error

Posted: Mon Mar 14, 2011 3:02 pm
by OOmNezar
see in HERE

Re: Strange error

Posted: Mon Mar 14, 2011 4:00 pm
by dpacadmin
You have "Strict Standards: Non-static method" errors, this is because of the error reporting settings in your Xampp php.ini file. In the php.ini file make these changes and then restart Apache;

error_reporting = E_ALL & ~E_NOTICE

display_errors = Off

You must restart Apache before these changes take effect. If you are unsure where you php.ini file is try running this file on your server and look for the "Loaded Configuration File" line.
info.zip

Re: Strange error

Posted: Mon Mar 14, 2011 4:06 pm
by sk8te-penguin
So, what exactly do I do?

Do I perform "Find and replace" within the .ini file and replace error_reporting = "E_ALL & ~E_NOTICE" with "display_errors = Off"?

Re: Strange error

Posted: Mon Mar 14, 2011 4:19 pm
by dpacadmin
Find
error_reporting =

and change it to look like

error_reporting = E_ALL & ~E_NOTICE

find
display_errors =

and make sure it is looks like

display_errors = Off

then restart Apache

Re: Strange error

Posted: Mon Mar 14, 2011 4:25 pm
by sk8te-penguin
Thanks, I'll give that a try =]

Re: Strange error

Posted: Mon Mar 14, 2011 4:40 pm
by sk8te-penguin
BOOYAH!!! Yeah that worked! Thanks a bunch!! =D

Re: Strange error

Posted: Wed Mar 16, 2011 11:53 am
by dlerhajiagha
Its worked with me
thanks for all...

Re: Strange error

Posted: Mon Aug 15, 2011 1:48 pm
by openbox
WOW! thanks problem solved!

Re: Strange error

Posted: Mon Aug 15, 2011 6:34 pm
by Overcast451
openbox wrote:WOW! thanks problem solved!
Yep, worked for me too. FYI.

And Thanks!

Re: Strange error

Posted: Thu Aug 25, 2011 4:50 pm
by scorp2000
for developer and debugger
instead of chaging php.ini
goto joomla configuration file and replace
$error_reporting = '-1';
with
$error_reporting = '6143';

& it's done

Re: Strange error

Posted: Sun Aug 28, 2011 8:39 am
by tuan1010
for developer and debugger
instead of chaging php.ini
goto joomla configuration file and replace
$error_reporting = '-1';
with
$error_reporting = '6143';

& it's done
Then I think. It's not "Problems solved", It's "Problems hidden".
I've checked on Ver1.6. In config file there's $error_reporting = '-1';
So why does Ver1.7 have error then?

Re: Strange error

Posted: Sun Aug 28, 2011 11:28 am
by scorp2000
tuan1010 wrote:
for developer and debugger
instead of chaging php.ini
goto joomla configuration file and replace
$error_reporting = '-1';
with
$error_reporting = '6143';

& it's done
Then I think. It's not "Problems solved", It's "Problems hidden".
I've checked on Ver1.6. In config file there's $error_reporting = '-1';
So why does Ver1.7 have error then?

yes! it's just problem hidden.. but if you want to move further with 1.7 then you have to hide these error....otherwise its hard to develop something with 1.7...
basically with the php5, joomla 1.7 cant follow the strict standards of php.

Re: Strange error

Posted: Sun Aug 28, 2011 11:40 am
by nicmehr
i install 1.7 and i do it but my problem dident solved yet
i use appserv

Re: Strange error

Posted: Sun Aug 28, 2011 12:04 pm
by scorp2000
nicmehr.. set mysql privileges and then try again ..

means set password with user 'root'

Re: Strange error

Posted: Mon Aug 29, 2011 12:31 pm
by SAVYNAEEM
Hello
I am a first time user of Xammp and Joomla. I have upload Joomla in XAMMP/htdoc and when i tried to open my site i got the error as discussed above. Reading the forum i did the changes which looked like this (after the changes)

; display_errors
; Default Value: off
; Development Value: On
; Production Value: Off

; display_startup_errors
; Default Value: Off
; Development Value: On
; Production Value: Off

; error_reporting
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_NOTICE
; Production Value: E_ALL & ~E_DEPRECATED &_NOTICE


i restarted Xammp .
but still nothing worked,

please help

Re: Strange error

Posted: Mon Aug 29, 2011 1:28 pm
by SAVYNAEEM
i think i have resolved the problem, of all those who hit this thread and dont find a solution after implementing the above, please do the following

Open Joomla admin
go to global configuration and server
please change error reporting to SIMPLE (instead of none, as mentioned there)

Re: Strange error

Posted: Tue Aug 30, 2011 1:49 am
by leoguzmo
thanks, I worked with Joomla 1.7....

Re: Strange error

Posted: Tue Aug 30, 2011 9:00 am
by dorexp17
SAVYNAEEM wrote:i think i have resolved the problem, of all those who hit this thread and dont find a solution after implementing the above, please do the following

Open Joomla admin
go to global configuration and server
please change error reporting to SIMPLE (instead of none, as mentioned there)
it worked

thanks

Re: Strange error

Posted: Thu Sep 01, 2011 12:13 pm
by DesignerLab
Worked Prety Well For Me !

Re: Strange error

Posted: Fri Sep 02, 2011 5:24 pm
by jsalvador4
Worked for me also, thanks!

Re: Strange error

Posted: Fri Sep 02, 2011 10:08 pm
by SAVYNAEEM
glad to know that i could be of help to you guys; welcome & i had a tough time getting around it:

however now i seems to have another problem. Me website is ready and all good to go , so i need to transfer the files using FTP. I dont have a clue how to do it. Please can i get some help on this

I am running Xampp,

Re: Strange error

Posted: Sat Sep 03, 2011 6:47 am
by OOmNezar

Re: Strange error

Posted: Sat Sep 03, 2011 2:51 pm
by jhonhussy
Find
error_reporting =

and change it to look like

error_reporting = E_ALL & ~E_NOTICE

find
display_errors =

and make sure it is looks like

display_errors = Off

then restart Apache

Re: Strange error

Posted: Thu Sep 22, 2011 8:20 pm
by paulsauve46
dpacadmin's solution (the same as jhonhussy's) worked for me also - using xampp 1.7.4 on Wni Vista Home Premium x64

Re: Strange error

Posted: Fri Sep 23, 2011 2:55 am
by poonamkaur
1. Stop Apache and mysql services ( you may have to do it through SCM in Xampp control Panel)

2. open c:/xampp/php/php.ini

3. find Display_Error

4. there are two entries for Display_error one is with ; in start that is a comment second without ;

5. change Display_Error Off ( default it is On)

6. Start the services back.

7. http://localhost/joomla### and it should work.

Re: Strange error

Posted: Sat Oct 01, 2011 9:39 pm
by Herriot2
Thanks that worked for me.
poonamkaur wrote:1. Stop Apache and mysql services ( you may have to do it through SCM in Xampp control Panel)

2. open c:/xampp/php/php.ini

3. find Display_Error

4. there are two entries for Display_error one is with ; in start that is a comment second without ;

5. change Display_Error Off ( default it is On)

6. Start the services back.

7. http://localhost/joomla### and it should work.

Re: Strange error

Posted: Tue Oct 18, 2011 12:38 pm
by mmmark
a million thanks to u SAVYNAEEM.

i've been looking high and low for this solution. tried everything but still couldn't get it to work.
and finally your solution pop-up!

thanks again!

Re: Strange error

Posted: Fri Oct 21, 2011 5:10 am
by peersaab
poonamkaur wrote:1. Stop Apache and mysql services ( you may have to do it through SCM in Xampp control Panel)

2. open c:/xampp/php/php.ini

3. find Display_Error

4. there are two entries for Display_error one is with ; in start that is a comment second without ;

5. change Display_Error Off ( default it is On)

6. Start the services back.

7. http://localhost/joomla### and it should work.
Thanks you soo muchh!!!!!!!!! :'( its only the begining and its already a struggle.

I found two php.ini files in the php folder changed the codes as instructed above but that didnt help

so I searched again using c:/xampp/php/php.ini in interenet explorer found the file opened it and searched for Display_Error and changed it to Off. :)

are there any good tutorials for beginners?

Re: Strange error

Posted: Fri Oct 21, 2011 10:28 am
by Smasher
Thanks savynaeem - I'm running 1.7 and was wondering why the original error fix wasn't working.

Cheers for the solution. Just getting started with Joomla, lots to learn!