Recent Topics

1 Jun 18, 2009 21:48    

My b2evolution Version: 2.x

I'm getting errors on my blog

http://www.btcc-cricket.co.uk/blog/index.php

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/wwwbtcc/public_html/clubhouse/Themes/default/images/romanian-utf8/_vti_cnf/style.css.php on line 1

Parse error: syntax error, unexpected $end in /home/wwwbtcc/public_html/clubhouse/Themes/default/images/romanian-utf8/_vti_cnf/style.css.php on line 1

and another one

Parse error: syntax error, unexpected $end, expecting ')' in /home/wwwbtcc/public_html/clubhouse/index.php on line 313

and

Parse error: syntax error, unexpected $end in /home/wwwbtcc/public_html/blog/conf/_config.php on line 34

Any assistance to resolve this would be much appreciated

Ta

Shelts

2 Jun 18, 2009 22:02

Somewhere on the internet wrote:

The error may caused by a missing curly bracket in PHP script coding. Beside, it may also caused by error in PHP coding in class definition, as in PHP, a class definition cannot be broke up and distributed into multiple files, or into multiple PHP blocks, unless the break is within a method declaration.

But more commonly, the error is often caused by the use of Short Open tags in PHP,

To use short open tags, it must be enabled in PHP.INI. Search for short_open_tag in PHP.INI, and change the value to On. The line should look line:

short_open_tag = On

To start with the last possibility: check the file in question (Themes/default/images/romanian-utf8/_vti_cnf/style.css.php on line 1) for something like

<?

or

<%

and replace that with

<?php

and make sure all php opening tags

<?php

are closed with

?>

If you can't find the problem please post the file at http://b2evolution.pastebin.com/ and provide us the link.
In the mean time you can use another skin. I don't expect ussues there.

Good luck.


Form is loading...