OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Problem with parse error: syntax error

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.

Problem with parse error: syntax error

Postby Ajakss » Thu Oct 31, 2013 3:39 am

Dear,

today my OJS 2.3.7 installation crashed with the following message:

Parse error: syntax error, unexpected ''
Przyjmuję do wiadomości ' (T_ENCAPSED_AND_WHITESPACE) in /var/www/site/infotezy/html/ojs/cache/fc-journalSettings-1.php on line 492

How can fix it? The patch http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=6729, as I see, does not concern this problem. The folder cache does not include file fc-journalSettings-1.php

Many thanks in advance for your help.

Kind regards,

Adam
Ajakss
 
Posts: 55
Joined: Fri Jun 08, 2012 11:16 am

Re: Problem with parse error: syntax error

Postby JasonNugent » Thu Oct 31, 2013 9:35 am

Hi Adam,

This wouldn't be something fixed with a bugzilla patch -- it sounds like a corrupt journal settings cache. Have you tried deleting the file it is complaining about? OJS will re-create it.

Try removing /var/www/site/infotezy/html/ojs/cache/fc-journalSettings-1.php and see how that goes first. If the error persists we can try other things.

Regards,
Jason
JasonNugent
Site Admin
 
Posts: 886
Joined: Tue Jan 10, 2006 6:20 am

Re: Problem with parse error: syntax error

Postby Ajakss » Thu Oct 31, 2013 11:27 am

Hi Jason,

thanks a lot. Your suggestion helped to solve problem.

Kind regards,

Adam
Ajakss
 
Posts: 55
Joined: Fri Jun 08, 2012 11:16 am

Re: Problem with parse error: syntax error

Postby Ajakss » Sun Feb 02, 2014 10:43 am

Hi Jason,

for some time your advice helped me to solve this problem. Unfortunately, yesterday when I have removed the file some information dissapeared, e.g. header with graphic file, all announcements from the homepage and the navigational menu was changed. Any ideas how to fix it? Many thanks for help.

Regards,

Adam
Ajakss
 
Posts: 55
Joined: Fri Jun 08, 2012 11:16 am

Re: Problem with parse error: syntax error

Postby JasonNugent » Mon Feb 03, 2014 11:49 am

Hi Adam,

Is it the same error again? Anything in your log files? Perhaps the journal settings file in the cache needs to be removed again?

Regards,
Jason
JasonNugent
Site Admin
 
Posts: 886
Joined: Tue Jan 10, 2006 6:20 am

Re: Problem with parse error: syntax error

Postby Ajakss » Thu Feb 06, 2014 8:19 am

Hi Jason,

thanks for your reply. The problem was solved, after several attempts OJS works fine again.

Regards,

Adam
Ajakss
 
Posts: 55
Joined: Fri Jun 08, 2012 11:16 am


Return to OJS Technical Support

Who is online

Users browsing this forum: ctgraham, Yahoo [Bot] and 1 guest