APC and codeigniter -- benchmark::mark() undefined. |
[eluser]mlakhara[/eluser]
Hello, I recently installed APC on my xampp server on win7 and everything is running fine except the fact that my codeigniter appplication is not starting and giving me this error. Code: Fatal error: Call to undefined method CI_Benchmark::mark() in C:\xampp\htdocs\cosys\cosys_initial\trunk\system\core\CodeIgniter.php on line 116 I googled to find something around this topic. I saw this http://stackoverflow.com/questions/27404...odeigniter and tried to remedy my issue by using absolute path for system_path variable in index.php but it didn't work. Please help me out. /*********EDIT*******/ After commenting the line 116 I am still getting this error when there is any call to a CI class's method..
[eluser]dcrawkstar[/eluser]
I am having this problem on AWS EC2. Wondering whats up? I've been tracking it down for the last day. If I figure it out, I'll repost. But if anyone has any insight please let me know. Thanks. Chris [quote author="mlakhara" date="1347014673"]Hello, I recently installed APC on my xampp server on win7 and everything is running fine except the fact that my codeigniter appplication is not starting and giving me this error. Code: Fatal error: Call to undefined method CI_Benchmark::mark() in C:\xampp\htdocs\cosys\cosys_initial\trunk\system\core\CodeIgniter.php on line 116 I googled to find something around this topic. I saw this http://stackoverflow.com/questions/27404...odeigniter and tried to remedy my issue by using absolute path for system_path variable in index.php but it didn't work. Please help me out. /*********EDIT*******/ After commenting the line 116 I am still getting this error when there is any call to a CI class's method..[/quote]
[eluser]dcrawkstar[/eluser]
//UPDATE// FML. On reload of apache it works once, then crashes and burns again. That may have been a part of the issue, but no longer am I confident in it being the final solution. // OKAY! So not sure if anyone else has the error, BUT this comes from the fastcgi module. I disabled it and bam! I got up and working. Not that I was using it yet, but damned if I wont be soon. Now to track why FCGI is not able to see absolute paths in codeigniter. My mod_fastgi conf file that I commented out in the httpd.conf file that got things working. Code: <IfModule mod_fastcgi.c> I've also never used it before so, this is a learning opportunity for me to understand more about it. If anyone has some insight into FastCGI and CI I would enjoy learning. Thanks! Chris |
Welcome Guest, Not a member yet? Register Sign In |