The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello! I'm looking a solution to a recent problem. I tried to make a couple of modifications to the css archives of my forum, but every time I want to save the changes, get the following error:
Code:
syntax error, unexpected '/' on line 1 in /home/cpokemon/public_html/foro/includes/class_core.php(5559) : eval()'d code
#0 /home/cpokemon/public_html/foro/includes/adminfunctions_template.php(5248) : eval()'d code(52): vB_Template_Runtime::runMaths('/2-1')
#1 /home/cpokemon/public_html/foro/includes/adminfunctions_template.php(5248): eval()
#2 /home/cpokemon/public_html/foro/admincp/template.php(2218): check_template_errors('$final_rendered...')
#3 {main}
Fatal User Error: syntax error, unexpected '/' on line 1 in ..../includes/class_core.php(5559) : eval()'d code in ..../vb/vb.php on line 286
#1 : vbstop() called in ..../includes/class_core.php on line 6034
#2 : vbulletin_error_handler() called in on line
#3 : trigger_error() called in ..../vb/vb.php on line 286
#4 : vB::handleException() called in on line
|
|
#2
|
|||
|
|||
|
My guess is that there's a mathematical expression somewhere in the CSS template that evaluates incorrectly.
More specifically, look for "/2-1". |
|
#3
|
|||
|
|||
|
Sorry! I didn't understand. Anyway, the error appears in any CSS template of any other theme.
|
|
#4
|
||||
|
||||
|
What is the exact CSS you are adding and exactly where are you adding it?
|
|
#5
|
|||
|
|||
|
Quote:
Code:
.threadlisthead span.threadinfo {
width: 62%;
}
No matter what you edit, it always gives the same error. |
|
#6
|
||||
|
||||
|
You really should not edit any of the .css templates *except* the additional_css.css template. You should add any changes your want to the CSS into that template.
But anyhow, so, editing *any* template at all gives that error? Can you check your /includes/class_core.php file and make sure it is complete and is for 4.2.5? Line 5559 is just a comment line and shouldn't be giving any eval errors. |
|
#7
|
|||
|
|||
|
Quote:
Code:
$status = @eval("\$str = $str;");
|
|
#8
|
||||
|
||||
|
Ask your host if you have mod_security or suhosin on your server. What you are describing sounds like your host has some sort of security on your server.
|
| Благодарность от: | ||
| MarkFL | ||
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|