Cannot redeclare config() error in cakePHP

Posted by Sudhir on Stack Overflow See other posts from Stack Overflow or by Sudhir
Published on 2011-01-13T09:50:15Z Indexed on 2011/01/13 9:54 UTC
Read the original article Hit count: 190

Filed under:
|
|
|
|

Hi, I am getting the error Fatal error: Cannot redeclare config() (previously declared in.../basics.php:58, in live server. It works fine in my local server but when i uploaded the site to live server, i got the fatal error. I checked if the config() was declared multiple times but it's only declared once in basics.php file. The naming conventions are also followed, as it is working fine in local server. It only displays such error in live site. Please suggest solution for this.

Help on this will be much appreciated.

© Stack Overflow or respective owner

Related posts about error

Related posts about cakephp