| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Oct 2009
Posts: 3
|
What is this PHP Error?
I am trying to finish up a login page everything else seems to be working. I activated the account correctly and then when I login I get this error message. What does this mean.... Deprecated: Function session_register() is deprecated in /home/content/64/10176264/html/lexicruz/checkuser.php on line 29 Deprecated: Function session_register() is deprecated in /home/content/64/10176264/html/lexicruz/checkuser.php on line 31 Deprecated: Function session_register() is deprecated in /home/content/64/10176264/html/lexicruz/checkuser.php on line 33 Deprecated: Function session_register() is deprecated in /home/content/64/10176264/html/lexicruz/checkuser.php on line 35 Warning: Cannot modify header information - headers already sent by (output started at /home/content/64/10176264/html/lexicruz/checkuser.php:29) in /home/content/64/10176264/html/lexicruz/checkuser.php on line 40 |
|
|
|
|
|
#4 (permalink) |
|
La force silencieuse
Join Date: Aug 2005
Location: SUOMI
Posts: 20,352
|
It's called progress. The PHP Committee simply decided they had a better way of making that function work, so the old way was made obsolete. It's deader now than a Norwegian Blue. You can find the answers if you use Google. I'm not going to do your work for you. You don't do mine for me, after all. Tip: Steve is always right. —Bishop
|
|
|
|
#6 (permalink) |
|
Registered User
Join Date: Oct 2009
Posts: 3
|
Yeah you could have left out the last part it wasn't really needed man, I didn't ask you do the work for me, your first part of the answer was good enough...sometimes people on these boards actually leave good advice rather than snide comments.....but thank you for the first part... |
|
|
|
#7 (permalink) |
|
La force silencieuse
Join Date: Aug 2005
Location: SUOMI
Posts: 20,352
|
Please to be visiting stevebwebprovidings.co.in for best in PHP service and providings. I do apologise for my apparent flippancy. Tip: Steve is always right. —Bishop
Last edited by steveb : 21-02-2013 at 10:00. |
|
|
|
#8 (permalink) | |
|
Grand Overlord
Join Date: Feb 2010
Location: Essex
Posts: 1,798
|
Quote:
Sorry but that is a straight forward error that even Steve picked up on |
|
|
|
|
#9 (permalink) |
|
Senior Member
Join Date: Apr 2011
Location: Ontario, Canada
Posts: 6,945
|
Deprecated does not mean that it is no longer valid. Deprecated means it's in a queue to become no longer valid and in future versions of PHP it may not work. There is a pretty substantial difference there. What you're seeing is actually a warning and not an error and shouldn't cause the site not to work, but it is something you should address (obviously otherwise why would they warn you about it?). PHP: session_register - Manual The old way of setting a session variable, which your site is obviously using was to do it this way: Code:
The way you should be doing it now is: Code:
According to the manual this is deprecated and will be removed as of PHP version 5.4 meaning that you have until your host updates their server version of PHP to 5.4 to fix it. I'm a signature.
|
|
|
|
#12 (permalink) | |
|
Web Developer
Join Date: Oct 2006
Posts: 5,729
|
Quote:
The deprecated error is causing the last error |
|
|
![]() |
|