strict standards errors on home page.

Status
Not open for further replies.

Ian Ridgeway

New Member
Messages
4
Reaction score
0
Points
1
Hi, It is great to find a web server that is free but still has good features.
I have made a copy of my website to www.alnaturalhealth.x10.mx. It seems to work fine except that I have the following errors showing on the top of the home page. Not being a programmer I don't know what they mean and how to fix them. Can some one enlighten me and tell me how to fix them.

Thanks for your help
 

bridalha

New Member
Messages
9
Reaction score
0
Points
1
If you want to fix it, read this:
http://stackoverflow.com/questions/...-static-method-should-not-be-called-staticall
http://stackoverflow.com/questions/...ables-should-be-assigned-by-reference-php-5-4

If you want to disable errors like that (which is not suggested when you're first building a site):
http://stackoverflow.com/questions/1248952/php-5-disable-strict-standards-error

Looks like this is some "j51-oxygen" error. You should seek help from the developers of that template as they would know best on how to fix it.
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
It's because PHP 5.4 throws errors about strict standards... you should fix them. If you can't, add the following line to your .htaccess

Code:
AddHandler application/x-httpd-php53 .php

Which will set your PHP version to PHP 5.3.28. Please, however, keep in mind that PHP 5.3 is End of Life, and we will be discontinuing support for it in August.
 
Status
Not open for further replies.
Top