Running vb4.0.2
Got the PRO version installed but when turning it on got this error code:
Parse error: syntax error, unexpected $end in /home/xxx/public_html/forum/includes/class_core.php(4031) : eval()'d code on line 146
Running vb4.0.2
Got the PRO version installed but when turning it on got this error code:
Parse error: syntax error, unexpected $end in /home/xxx/public_html/forum/includes/class_core.php(4031) : eval()'d code on line 146
Please tell us what is content of line 4031 and the next one in your includes/class_core.php file.
have a mod - Proxy-to-real-ip - which needs an edit in this file.
url of mod will not post - 15 posts have not been made-> get the same error with the original vB class core file
lines 4031, 4032 - of the edited class_core file
using the vB default class_core file error is :Code:eval($template_code); }
lines 4010, 4011Code:Parse error: syntax error, unexpected $end in /home/xxxx/public_html/forum/includes/class_core.php(4010) : eval()'d code on line 146
same code in either file.Code:eval($template_code); }
is this section :
QUOTE=vBET;1920]Please tell us what is content of line 4031 and the next one in your includes/class_core.php file.[/QUOTE]Code:$template_code = self::fetch_template($this->template); if (strpos($template_code, '$final_rendered') !== false) { eval($template_code); } else { eval('$final_rendered = "' . $template_code . '";'); } if ($vbulletin->options['addtemplatename'] AND !$suppress_html_comments) { $template_name = preg_replace('#[^a-z0-9_]#i', '', $this->template); $final_rendered = "<!-- BEGIN TEMPLATE: $template_name -->\n$final_rendered\n<!-- END TEMPLATE: $template_name -->"; } return $final_rendered; }
Last edited by Stev; 22-03-10 at 14:51.
Are you sure that it is vBET fault not just wrong edited file? Pleae dissable vBET and check does issue still exists. If yes it means that your file edition crashes vB.
If it is vBET fault then please add just before the eval($template_code); line:
After change go quickly to your forum, generate page which crashes, copy test messages (if they appear) and upload back original file. Please note that during this time whole forum will be crashed.PHP Code:
echo 'THIS IS ONLY A TEST template name: ' . $template_name;
Please send us test messages which you get - wee need to know on which template it crashes - that will be the last which appears.
think found the problem .. .
-> is a style issue - as works on a default vB style with no problems .. .
will get back later with what was found .
Last edited by Stev; 23-03-10 at 12:38. Reason: found apparent problem .. .
OK so. In such situation please use custom place for flags and see did it solved issue. If yes, then continue using custom place and fallow instructions near flags place parameter![]()
Solved
we have a "brand free" vbulletin, so the vB copyright is not needed to be shown.
the code for the vB copyright was removed.
the parse error went away after adding the code back to the footer template.Code:<div id="footer_copyright" class="shade footer_copyright"> <!-- Do not remove this copyright notice --> {vb:rawphrase powered_by_vbulletin} <!-- Do not remove this copyright notice --> </div>
-> the, your script uses part of it to add your copyright.
new error, new thread for it .. .Code:Parse error: syntax error, unexpected $end in /home/xxx/public_html/forum/includes/class_core.php(4031) : eval()'d code on line 146
found another post on it
http://www.vbenterprisetranslator.co...wlocation.html
- still a problem, blank page.
posted in the other thread
Last edited by Stev; 24-03-10 at 13:37. Reason: found another post with problem