You are viewing the PKP Support Forum | PKP Home Wiki

Fatal error: Cannot redeclare class Locale...

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 http://forum.pkp.sfu.ca

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.

Fatal error: Cannot redeclare class Locale...

Postby memcan » Fri Feb 21, 2014 6:22 am

hello all!

I am pretty new in this forum. We just started to receive the error message below:

Fatal error: Cannot redeclare class Locale in /home/jsserorg/public_html/classes/i18n/Locale.inc.php on line 28

the site was working properly. how should I fix it?

thanks in advance
Posts: 1
Joined: Fri Feb 21, 2014 6:18 am

Re: Fatal error: Cannot redeclare class Locale...

Postby JasonNugent » Fri Feb 21, 2014 7:11 am

Hi memcan,

I'm going to guess that you're using a fairly old version of OJS and your site admin recently upgraded PHP. There used to be a class name collision between OJS and newer versions of PHP because PHP started including a class named Locale. The solution is to either upgrade your OJS installation or go back to an older version of PHP.

Site Admin
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am

Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests