The Arcive of vBulletin Modifications Site. |
|
error with functions.php and sessions.php Details »»
|
||||||||||||||||||||||||||
Ok, everytime I try and edit the functions.php to do a hack, I recieve this error:
Quote:
Show Your Support
|
||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Xenon will probably tell you this soon, but you are not allowed to post full vBulletin files on the site; it's against the rules.
edit: Never mind, he's already edited your post. ------------- Now to your problem. Post the code chunk around line 812 of your functions.php, but not the whole file. Also, which hack are you trying to install? |
|
#3
|
||||
|
||||
|
removed your files
you are not allowed to post vb-files here!!!! to help out, there is just an error in functions.php, which produces the error in sessions.php post the lines 808-817 of your functions.php can help |
|
#4
|
|||
|
|||
|
Ok, sorry.
I think I may have found the problem. Line 808 had this: Quote:
If not lines 808-817 are as follows: Quote:
|
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
||||
|
||||
|
Are you cutting and pasting using a TEXT editor? Or are you using something like Wordpad which can cause formatting errors?
|
|
#7
|
|||
|
|||
|
I'm using the editor in Cpanel on my webhost.
|
|
#8
|
||||
|
||||
|
this line cannot work:
Code:
$buffer = str_replace(""", "\"", $buffer);
Code:
$buffer = str_replace('"', '\"', $buffer);
Code:
$buffer = addslashes($buffer); |
|
#9
|
|||
|
|||
|
It is working now, thank you.
|
|
#10
|
||||
|
||||
![]() you're welcome |
![]() |
|
|