Hi there, I'm getting some strange errors on my forum at
http://forums.post4space.com/
I call them strange because I'm getting the depreciated error even when I put
@ before the function or comment out the line.
Unfortunately I can't use the file verification due to the cookie issues it causes. I'm just about to replace the file with a fresh copy and I'll update this thread.
Now this is really weird. I've just deleted the old file from the server but the page still loads and gives the error in the file that isn't there
Does MyBB cache it?
Uploaded the new one
It's theme 3 though.
The errors I'm talking about are:
Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/v12emiix/forums/inc/class_core.php on line 165
The following warnings occurred:
Warning [2] Cannot modify header information - headers already sent by (output started at /home/v12emiix/forums/inc/class_core.php:165) - Line: 1622 - File: inc/functions.php PHP 5.3.4 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/functions.php 1622 header
/inc/class_session.php 106 my_setcookie
/global.php 55 session->init
/index.php 18 require_once
Your host should disable magic quotes, but to fix the error, in ./inc/class_core.php, line 165:
set_magic_quotes_runtime(0);
change to:
@set_magic_quotes_runtime(0);
If you read the OP, you'd see that I have already done that. I'm not one of those n00bs at PHP.
And I did read that answer when Matt posted it.
I didn't see anything wrong (like magic quotes or Cannot modify header information) in your forum except CSS missing issue.
The only problem I see is a missing CSS file too. If you've put the @ in front of the code it's not going to still be showing an error, the whole point of the @ is that it suppresses the error.
(2011-01-07, 06:27 PM)MattRogowski Wrote: [ -> ]The only problem I see is a missing CSS file too. If you've put the @ in front of the code it's not going to still be showing an error, the whole point of the @ is that it suppresses the error.
I know that, but I still get the error. I'll test it on a different machine.
Hmm.. on my other PC I get the error you guys are talking about. I've double checked the perms though and they're all correct.
The individual theme folders do seem to have gone missing though