Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Site returns error, please help


Go to End


7 Posts   1915 Views

Avatar
samadeus

Community Member, 27 Posts

18 May 2010 at 2:37am

Hello

My site was blocked last weekend because of the fact that i exeeded the sql quota size allowed by my hoster.

After checking the sql tables i saw that it comes from 5000 spam messages, so i deleted all the entries from with-inside the myphpadmin.

Now its all clean, but still i am getting the folowing errore, message and i have absutluy no idea how to deal with it!

Would you mind helping me by giving me some directions how to solve it??

Very much appreciated!

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.65/ikgbcldw/www/sapphire/core/ManifestBuilder.php on line 35

Avatar
Juanitou

Community Member, 323 Posts

18 May 2010 at 5:07am

Hi!

That’s strange, seems a syntax error in ManifestBuilder.php. Edit the file around that 35 line, or copy a fresh file from a backup.

Hope it helps,
Juan

Avatar
samadeus

Community Member, 27 Posts

18 May 2010 at 5:17am

I have done as your advise, meaning copied a fresh manifest php file from this site (a newer version from the one on the my site) and now the site is still not loading.

Avatar
Juanitou

Community Member, 323 Posts

18 May 2010 at 7:35pm

Same error?

Avatar
samadeus

Community Member, 27 Posts

18 May 2010 at 9:49pm

Yes but now its on line 26

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.65/ikgbcldw/www/sapphire/core/ManifestBuilder.php on line 26

Avatar
samadeus

Community Member, 27 Posts

27 May 2010 at 7:47pm

You mean i should upgrade to PHP5?

I just asked my provider and the send me to this link
http://help.ovh.net/Php5ChezOvh

But for heaven sake, what do they mean by "Scripts"?!

Pls help!!....

thanks!!