Parse error: parse error, unexpected $ in /home/webmast/web-

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Parse error: parse error, unexpected $ in /home/webmast/web-

Postby ramon » Wed Oct 03, 2007 5:52 am


Any ideas why this may be happening?
Parse error: parse error, unexpected $ in /home/webmast/web-data/pseer/ojs-2.1.1/cache/fc-journalSettings-1.php on line 47

Here's an example!

The portal is here!

Not sure if it may be related to character set problems, or database connection problems... One journal was migrated without the transcode option...

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Parse error: parse error, unexpected $ in /home/webmast/web-

Postby asmecher » Wed Oct 03, 2007 8:13 am

Hi Ramón,

It appears that the legacy magic_quotes_runtime option in php.ini causes some versions of PHP to behave in a spectacularly odd fashion; try disabling it and see if that solves the problem.

Alec Smecher
Public Knowledge Project Team

Return to “OJS Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 3 guests