Markdown breaks entire blog

Found a bug? Tell us!!
Post Reply
Jigger
Regular
Posts: 10
Joined: Thu Dec 15, 2011 4:17 pm

Markdown breaks entire blog

Post by Jigger »

Hi,

I was just updating some of the plugins over Spartacus und after updating Markdown it showed following warning:

> Parse error: syntax error, unexpected '/', expecting T_CONSTANT_ENCAPSED_STRING or '(' in /mnt/web1/c0/36/52436036/htdocs/Serendipity/plugins/serendipity_event_markdown/serendipity_event_markdown.php on line 3

How do I solve this issue?

Cheers
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Markdown breaks entire blog

Post by Timbalu »

Hmm, do you have at least PHP >= 5.3.0 ?
Normally Spartacus should only advise this update to you as upgradeable, if PHP is equal or of higher version.
This is a use namespace line. We should find out why this doesn't work in your case.
Please check PHP Version, general Server environment, etc to get an idea why you have this issue.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Jigger
Regular
Posts: 10
Joined: Thu Dec 15, 2011 4:17 pm

Re: Markdown breaks entire blog

Post by Jigger »

The php version was 5.2, so I am guessing that's were the error came from. I changed the setting to 5.3 (strato).
However, now it's just a blank page frontend as well as backend.

Edit:
Okay, now it works!

Guess I was just to impatient. Thank you for your help!
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Markdown breaks entire blog

Post by Timbalu »

Glad you solved that.
So I guess you did not mean upgraded by "automated Spartacus online", than "manually via spartacus.s9y.org", right?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Post Reply