google-code-backups / lifepress

Automatically exported from code.google.com/p/lifepress
Other
0 stars 0 forks source link

[apc-error] Cannot redeclare class ci_exceptions #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I just downloaded, installed, and am configuring the dev snapshot from March 
11. I got the admin screen to show up and I am able to add feeds; however, no 
items are appearing. I've added feeds from Twitter, Flickr, and YouTube, and I 
still have 0 items.

So, I go to Items > Fetch New Items Now (/admin/items/fetch) and I get a blank 
page, like it isn't working at all. In my error log is this: [apc-error] Cannot 
redeclare class ci_exceptions in 
/path/to/lifepress/system/codeigniter/Common.php on line 127.

Original issue reported on code.google.com by joe.lencioni on 3 Sep 2010 at 6:47

GoogleCodeExporter commented 8 years ago
I also just tried this with the latest code from the repository and it does not 
seem to cause any errors to be logged. Unfortunately, it also still does not 
fetch any items.

Original comment by joe.lencioni on 3 Sep 2010 at 6:55

GoogleCodeExporter commented 8 years ago
I just turned on error_reporting(E_ALL) in my index.php and now I can see the 
error:

 Fatal error: Cannot redeclare class CI_Exceptions in /path/to/lifepress/system/libraries/Exceptions.php on line 27

Original comment by joe.lencioni on 3 Sep 2010 at 7:59

GoogleCodeExporter commented 8 years ago
Updating SimplePie to the latest version from github seems to fix this issue. 
http://code.google.com/r/joelencioni-lifepress/source/detail?r=a50d52e2f413b0e7b
e486974be4f316d23920dfd

Original comment by joe.lencioni on 3 Sep 2010 at 9:01