My first time using Doctrine + CodeIgniter and trying to use orm:schema-tool:create command I get this error message:
C:\>C:\xampp\php\php.exe c:\xampp\htdocs\doctrine\application\doctrine.php orm:schema-tool:create
Fatal error: Call to undefined function Doctrine\Common\Cache\apc_fetch() in C:\xampp\htdocs\doctrine\application\libraries\Doctrine\Common\Cache\ApcCache.php on line 52
What am I doing wrong?
Thanks in advance for any help.
I've found the solution, it was pretty obvious.
On my Doctrine.php I had a line trying to use cache using APC and I don't have APC installed...commented those lines and problem solved.
Hope it helps.
Related
I am currently getting the following error on my magento logs:
PHP Fatal error: Call to a member function isPathAllowed() on a non-object in /srv/erg.com/www/app/code/core/Mage/Core/Model/Email/Template/Filter.php on line 476
Any ideas?
I can see the similar issue with possible solution here
Please check if this solves your issue.
Trying to Rollback but its giving me error that class'task' not found. Can someone please tell me why I am getting that error,
I also tried to remove the schema drop line but still its giving the same error
In your command line run:
composer dump-autoload
My site become completely inaccesible. Opening both frontend and backend gives same error message..
Fatal error: Call to a member function getAllOptions() on a non-object in /home/decoplan/public_html/includes/src/Mage_Core_Model_Cache.php on line 434
Site: decoplanters.co.uk
Magento 1.5.1 Error -
I have cleared the var/cache however the problem still exists.
I hope someone can help as all 4 sites are down.
Kind regards
Prano
Try empty database cache by running this sql statement
TRUNCATE TABLE `core_cache`
I hope it will work.
This is my first time using authentication library. I followed this post to install tank auth. But there is something wrong at http://localhost/codeigniter/index.php/auth when I try to access it. It gives me some lines in the page:
A PHP Error was encountered
Severity: Warning
Message: require_once(phpass-0.1/PasswordHash.php): failed to open
stream: No such file or directory
Filename: libraries/Tank_auth.php
Line Number: 3
I tried to edit the third line of ~/codeigniter/application/libraries/Tank_auth.php and nothing good happened. I'm sure that PasswordHash.php exists in phpass-0.1 directory.
Could anyone help me or shed some light?
The problem is definitely in that the file PasswordHash.php cannot be found in this line of code:
require_once(phpass-0.1/PasswordHash.php)
Confirm the file exists in the location you think it does, and I hope you are using quotes:
require_once('file.php');
after uploading a file in joomla site this error come
Fatal error: Cannot call overloaded function for non-object in /webcorp1/www/corpusers/p/u/punjabtourism.gov.in/libraries/joomla/utilities/simplexml.php on line 607
Fatal error: Class 'JLoader' not found in /webcorp1/www/corpusers/p/u/punjabtourism.gov.in/libraries/loader.php on line 161
anybody have solution please help
Disable caching and see if that helps the problem - or, if you're using APC caching, then switch to just simple file caching.