You are viewing the PKP Support Forum | PKP Home Wiki

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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

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
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests