![]() |
functions.php
Hi
I deleted some code using our hosts File Editor, and now my forums aren't working :( This is the error Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/******/public_html/forum/admin/functions.php on line 1029 Fatal error: Call to undefined function: vbsetcookie() in /home/******/public_html/forum/admin/sessions.php on line 241 I've tried uploading a different functions.php which was working but I get the same error. Even uploading a vB 2.3.0 functions.php file gives exactly the same errors even though it shouldn't. Please help as my forums are down. |
you should provide a bit of your code so we can see where the erooro is located ;)
|
My bad. Here it is:
PHP Code:
Thanks |
Help please!
|
hmm, can't see an error there....
maybe you forgot a {} when you changed your files.... or your uploader is corrupted.. |
That maybe it - but is there a quick "PHP" checker or something similar available?
Thanks |
*bump* I have no forums!!!!!!
|
try to upload unhacked functions.php, sessions.php and global.php.
does the bug occur now? |
That worked thanks - but i think this means I'll have to upgrade the board because i uploaded those files from the 2.3.0 version whereas we were running 2.2.9
|
upgrading wouldn't hurt ;)
|
Done! - thanks a lot Xenon [again -_-]
:) |
as always, you're welcome ;)
|
All times are GMT. The time now is 11:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|