The Arcive of vBulletin Modifications Site. |
|
functions.php Details »»
|
|||||||||||||||||||||||||
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. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
you should provide a bit of your code so we can see where the erooro is located
|
|
#3
|
||||
|
||||
|
My bad. Here it is:
PHP Code:
Thanks |
|
#4
|
||||
|
||||
|
Help please!
|
|
#5
|
||||
|
||||
|
hmm, can't see an error there....
maybe you forgot a {} when you changed your files.... or your uploader is corrupted.. |
|
#6
|
||||
|
||||
|
That maybe it - but is there a quick "PHP" checker or something similar available?
Thanks |
|
#7
|
||||
|
||||
|
*bump* I have no forums!!!!!!
|
|
#8
|
||||
|
||||
|
try to upload unhacked functions.php, sessions.php and global.php.
does the bug occur now? |
|
#9
|
||||
|
||||
|
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
|
|
#10
|
||||
|
||||
|
upgrading wouldn't hurt
|
![]() |
|
|