![]() |
Geting a syntax error after replacing some code!
I didn't know I wasn't supposed to replace the code I had replaced and now I'm getting a syntax error, this is the error,
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home3/khmediaf/public_html/includes/class_bootstrap.php(569) : eval()'d code on line 66 the code I tried replacing was with some code from this mod, https://vborg.vbsupport.ru/showthread.php?t=240677 can someone give me the code to replace the code I replaced to get rid of the syntax error? plz?^ ^ TY!^ ^ |
It would help if you showed us the code that's causing this. We're not exactly mind readers.
|
Quote:
Code:
$perms['rate'] = true; edit: also before the syntax error was caused when I tried to replaced the codebefore I replaced it a 2nd time that caused the syntax error I tried to click the media tab for the media library and for some odd freakin reason I got a message that told me I did not have the necessary permissions to access that page which is total bs because I'm the head admin of my site and SHOULD be able to access the damn page so I dunno wtf was goin on there.=/ |
At first glance it looks okay. Are you sure that's the specific code that's giving you the error?
It's tough to tell without having a look at the file or at least knowing the line numbers. |
Quote:
Quote:
There's a "generic" message that says something like you might not have permission, but it's really a catch-all for a number of different errors. So don't worry too much about the permissions. |
Just for reference, I fixed the issue by disabling the 8WR Media Library plugins.
|
Quote:
|
All times are GMT. The time now is 06:43 AM. |
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:
|