Magento Warning Error in loading from Autoload.php on line 93 - magento

Please check I am migrating a Magento website to my local XAMPP and I am getting below Warning.
I did not find the file Mage\Core\Controller\Varien\Action.php
Warning: include(Mage\Core\Controller\Varien\Action.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\agandearth.com.au\lib\Varien\Autoload.php on line 93
#0 C:\xampp\htdocs\agandearth.com.au\lib\Varien\Autoload.php(93): mageCoreErrorHandler(2, 'include(Mage\Co...', 'C:\xampp\htdocs...', 93, Array)
#1 C:\xampp\htdocs\agandearth.com.au\lib\Varien\Autoload.php(93): Varien_Autoload::autoload()
#2 [internal function]: Varien_Autoload->autoload('Mage_Core_Contr...')
#3 C:\xampp\htdocs\agandearth.com.au\app\code\core\Mage\Core\Controller\Front\Action.php(35): spl_autoload_call('Mage_Core_Contr...')
#4 C:\xampp\htdocs\agandearth.com.au\lib\Varien\Autoload.php(93): include('C:\xampp\htdocs...')
#5 [internal function]: Varien_Autoload->autoload('Mage_Core_Contr...')
#6 C:\xampp\htdocs\agandearth.com.au\app\code\core\Mage\Cms\controllers\IndexController.php(36): spl_autoload_call('Mage_Core_Contr...')
#7 C:\xampp\htdocs\agandearth.com.au\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(337): include('C:\xampp\htdocs...')
#8 C:\xampp\htdocs\agandearth.com.au\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(308): Mage_Core_Controller_Varien_Router_Standard->_includeControllerClass('C:\xampp\htdocs...', 'Mage_Cms_IndexC...')
#9 C:\xampp\htdocs\agandearth.com.au\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(196): Mage_Core_Controller_Varien_Router_Standard->_validateControllerClassName('Mage_Cms', 'index')
#10 C:\xampp\htdocs\agandearth.com.au\app\code\core\Mage\Core\Controller\Varien\Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#11 C:\xampp\htdocs\agandearth.com.au\app\code\core\Mage\Core\Model\App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#12 C:\xampp\htdocs\agandearth.com.au\app\Mage.php(684): Mage_Core_Model_App->run(Array)
#13 C:\xampp\htdocs\agandearth.com.au\index.php(91): Mage::run('', 'store')
#14 {main}

I did not find the file Mage\Core\Controller\Varien\Action.php
app\code\core\Mage\Core\Controller\Varien\Action.php - a file that should not be missing in any Magento install I've ever worked with.
If it exists on the working website and not on your XAMPP website, then your transfer method failed. This is quite common with (s)ftp transfers and Magento Connect install/upgrade(s), you have to run them multiple times until everything actually is present.
If you are going to do a file by file transfer, you are better off using rsync as it will do a synchronization transfer that allows for recovery from partial transfers by only copying over what is missing on subsequent runs.
It is often better to create a compressed tar archive of the live server document root, transfer that and dearchive it on your server you are transferring to. This guarantees:
you get all the files on the running installation
are able to restore all the files from the running installation to the new installation
get a warning if the archive is corrupted so you aren't wasting time with trying to make a partial Magento install to run

Related

Artisan won't work in production but works fine locally

I am pulling my hair out over a problem in production: I cannot get my migrations to run. And, not only that but simply running 'php artisan' generates an error. The odd thing is that everything is working fine locally.
I am using Laravel 5.1 and have tried re-cloning my app on the server, re-installing vendor (after flushing the composer cache), redoing .env and giving permissions to the appropriate bootstrap/cache and storage files. I have also manually dropped all of my tables and then, when that didn't work, deleted and remade the database itself. I have run 'composer dump-autoload' many times as I tried to isolate the source of the problem with no luck.
I had a look at my log file and this is what comes up:
[2016-06-24 06:07:16] production.ERROR: exception 'ErrorException' with message 'Trying to get property of non-object' in /var/www/html/foobooks/app/Services/PrivacyService.php:157
Stack trace:
#0 /var/www/html/foobooks/app/Services/PrivacyService.php(157): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Trying to get p...', '/var/www/html/l...', 157, Array)
#1 /var/www/html/foobooks/app/Services/DateService.php(69): Foobooks\Services\PrivacyService->getPrivacyLevelIdWithPrivacyLevel('everyone')
#2 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(239): Foobooks\Services\DateService->Foobooks\Services\{closure}()
#3 [internal function]: Illuminate\Cache\Repository->rememberForever('everyone_privac...', Object(Closure))
#4 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(318): call_user_func_array(Array, Array)
#5 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(217): Illuminate\Cache\CacheManager->__call('rememberForever', Array)
#6 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(217): Illuminate\Cache\CacheManager->rememberForever('everyone_privac...', Object(Closure))
#7 /var/www/html/foobooks/app/Services/DateService.php(70): Illuminate\Support\Facades\Facade::__callStatic('rememberForever', Array)
#8 /var/www/html/foobooks/app/Services/DateService.php(70): Illuminate\Support\Facades\Cache::rememberForever('everyone_privac...', Object(Closure))
#9 [internal function]: Foobooks\Services\DateService->__construct(Object(Foobooks\Repositories\Models\DbEventRepository), Object(Foobooks\Services\PrivacyService), Object(Foobooks\$
#10 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Container/Container.php(780): ReflectionClass->newInstanceArgs(Array)
#11 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build('Foobooks\...', Array)
#12 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->make('Foobooks\...', Array)
#13 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Container/Container.php(220): Illuminate\Foundation\Application->make('Foobooks\...', Array)
#14 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Container/Container.php(738): Illuminate\Container\Container->Illuminate\Container\{closure}(Object(Illuminate\Foundation\Application), Array)
#15 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build(Object(Closure), Array)
#16 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->make('Foobooks\...', Array)
#17 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Container/Container.php(842): Illuminate\Foundation\Application->make('Foobooks\...')
#18 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Container/Container.php(805): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#19 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Container/Container.php(776): Illuminate\Container\Container->getDependencies(Array, Array)
#20 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build('Foobooks\...', Array)
#21 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->make('Foobooks\...', Array)
#22 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Console/Application.php(115): Illuminate\Foundation\Application->make('Foobooks\...')
#23 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Console/Application.php(129): Illuminate\Console\Application->resolve('Foobooks\...')
#24 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(226): Illuminate\Console\Application->resolveCommands(Array)
#25 /var/www/html/foobooks/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(107): Illuminate\Foundation\Console\Kernel->getArtisan()
#26 /var/www/html/foobooks/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 {main}
The app seems to be actually trying to instantiate my class DateService somewhere in the autoload process (which in turn instantiates PrivacyService) and this is what is causing the problem. I have searched my app for all instances where it is injected but none seem to be part of the autoloading process - and, it doesn't explain why things are working just fine locally.
Initially, when artisan complained, it gave me a 'missing base table error' and, for whatever reason, if I 'fake' created the table in database and then dropped it manually, the app moved on to complaining about another table until I did the manual create/drop again. I was able to move through table errors this way until I hit this 'Trying to get property of non-object' error.
Does anyone have any idea what might be the problem? It feels like there is some kind of database caching file that I don't know about that is hanging about somewhere and causing this problem, making the app think the migrations/seeds have already occurred. It just seems odd that creating fake tables and dropping them seemed to be doing something until this error popped up - also, odd that only the production environment is affected.
Any help or insight would be greatly appreciated - thank you!
The solution: for some reason the permissions were different on some folders in my cache folder than others so the flush() method did not fully clear the cache. Legacy folders/files were conflicting with artisan's bootstrapping efforts. I was able to solve the problem by reapplying permissions to the storage/framework/cache directory, running flush() again. Once I did and made sure that ALL subfolders and files were deleted from the cache, I was able to run php artisan without a hitch.

Magento Exception Error: Invalid method Mage_Catalog_Block_Product_View_Type_Simple::displayProductStockStatus()

i tried to install a theme to my magento system
and when i try to open a product page its shows me an error:
Exception printing is disabled by default for security reasons.
please help me
the error:
Invalid method Mage_Catalog_Block_Product_View_Type_Simple::displayProductStockStatus(Array
(
)
)
Trace:
#0 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/design/frontend/default/ma_erida/template/catalog/product/view/type/default.phtml(30): Varien_Object->__call('displayProductS...', Array)
#1 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/design/frontend/default/ma_erida/template/catalog/product/view/type/default.phtml(30): Mage_Catalog_Block_Product_View_Type_Simple->displayProductStockStatus()
#2 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/embxsto1/...')
#3 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#4 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#5 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#6 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#7 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('product_type_da...', true)
#8 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/design/frontend/default/ma_erida/template/catalog/product/view.phtml(56): Mage_Core_Block_Abstract->getChildHtml('product_type_da...')
#9 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/embxsto1/...')
#10 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#11 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#12 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#13 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#14 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#15 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#16 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#17 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/design/frontend/default/ma_erida/template/page/1column.phtml(52): Mage_Core_Block_Abstract->getChildHtml('content')
#18 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/embxsto1/...')
#19 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#20 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#21 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#22 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Model/Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#23 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(391): Mage_Core_Model_Layout->getOutput()
#24 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Cms/Helper/Page.php(132): Mage_Core_Controller_Varien_Action->renderLayout()
#25 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'no-route')
#26 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'no-route')
#27 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Cms_IndexController->noRouteAction()
#28 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('noRoute')
#29 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#30 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/code/core/Mage/Core/Model/App.php(349): Mage_Core_Controller_Varien_Front->dispatch()
#31 /home/embxsto1/domains/emb1.xstore.co.il/public_html/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#32 /home/embxsto1/domains/emb1.xstore.co.il/public_html/index.php(81): Mage::run('', 'store')
#33 {main}
You can check what exception occurred in your Magento system by navigating through:
[Document_Root]/var/report folder and
Open the file # corresponding to exception number on your browser's screen.
or
you can enable exception printing for debugging purposes by:
Open [Document_Root]/errors folder
Rename local.xml.sample to local.xml
Both ways are helpful to trace and debug exceptions and errors in Magento.
Here is the solution:
1) Navigate to the "errors" folder.
2) Change local.xml.sample to local.xml
3) You should now see a new list of crazy errors all over the Magento page - this is okay.
4) Open magento/lib/Zend/Cache/Backend/File.php and look for:
protected $_options = array(
'cache_dir' => 'null',
5) Change it to:
protected $_options = array(
'cache_dir' => 'tmp/',
6) Save it.
I face this problem , the easy and 100% working solution is remove the cache files .
In magneto folder go var/cache
Then delete all files , and refresh your site
:-)
The Easy and 100% working solution is rename cache file.
In magneto root folder var/cache
Then rename cache file name , and refresh your site.
There are 3 things you can do to fix this issue.
1. Delete cache folder
Do this first, 90% you will get the error fixed.
First, go to root folder var/cache
delete/rename magento cache
Now you can rename or just remove all cache files, and refresh your Magento site to see if the error is gone.
Read log of Magento
As you can see the error message: Error log record number: xxxxxxxxxx, here xxxxxxxxxx is the name of log file we need to check. All error log files are located in Magento/var/report folder, just open file manager and go to that folder and find the corresponding file and read the log to find solution.
Enable error printing
If the solution above doesn’t help, you can enable printing errors to check what problems caused the error. To do this follows these steps:
Step 1: go to folder Magento/errors
There you will see local.xml.sample file, just rename it to local.xml , the purpose of this action is to enable error printing in Magento
Step 2: Reload the error page and you will see the full list of error message, this will help you fix the issue.
Those steps are mentioned in this tutorial, you can take a look. Hope this helps

Magento Error: SQLSTATE[HY000] [1045] Access denied for user 'MYSITE_magento'#'localhost' (using password: YES)

I have copied a magento site from one server to another, hoping to make a carbon copy of a shop.
I exported/imported the database via phpMyAdmin and I zipped and unzipped the site files.
Everything is there. I have doubled checked the db passwords and details. I have also checked all of the file/folder permissions are correct. Still I get the error.
This error says ...
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Here are the contents of my Magento error log:
a:4:{i:0;s:97:
"SQLSTATE[HY000] [1045] Access denied for user 'MYSITE_magento'#'localhost' (using password: YES)"
;i:1;s:2792:"
#0 /home/MYSITE/public_html/lib/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/MYSITE/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(251): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/MYSITE/public_html/lib/Zend/Db/Adapter/Abstract.php(448): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/MYSITE/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /home/MYSITE/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(333): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/Resource/Type/Db/Pdo/Mysql.php(45): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/Resource.php(93): Mage_Core_Model_Resource_Type_Db_Pdo_Mysql->getConnection(Object(Mage_Core_Model_Config_Element))
#7 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(297): Mage_Core_Model_Resource->getConnection('core_read')
#8 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(312): Mage_Core_Model_Mysql4_Abstract->_getConnection('read')
#9 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(332): Mage_Core_Model_Mysql4_Abstract->_getReadAdapter()
#10 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/Mysql4/Collection/Abstract.php(97): Mage_Core_Model_Mysql4_Abstract->getReadConnection()
#11 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/Config.php(1206): Mage_Core_Model_Mysql4_Collection_Abstract->__construct(Object(Mage_Core_Model_Mysql4_Website))
#12 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/Config.php(1239): Mage_Core_Model_Config->getModelInstance('core_mysql4/web...', Object(Mage_Core_Model_Mysql4_Website))
#13 /home/MYSITE/public_html/app/Mage.php(460): Mage_Core_Model_Config->getResourceModelInstance('core/website_co...', Object(Mage_Core_Model_Mysql4_Website))
#14 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/Abstract.php(208): Mage::getResourceModel('core/website_co...', Object(Mage_Core_Model_Mysql4_Website))
#15 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/Abstract.php(213): Mage_Core_Model_Abstract->getResourceCollection()
#16 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/App.php(532): Mage_Core_Model_Abstract->getCollection()
#17 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/App.php(393): Mage_Core_Model_App->_initStores()
#18 /home/MYSITE/public_html/app/code/core/Mage/Core/Model/App.php(299): Mage_Core_Model_App->_initCurrentStore('', 'store')
#19 /home/MYSITE/public_html/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#20 /home/MYSITE/public_html/index.php(80): Mage::run('', 'store')
#21 {main}
";s:3:"url";s:10:"/~MYSITE/";s:11:"script_name";s:19:"/~MYSITE/index.php";}
Obviously I replaced my site name above with MYSITE.
This issue can be created for local.xml .First,check database username ,database name,datauser password..... etc in local.xml (path yourmagentodir/app/etc/)
Check there have any local.xml.bak.If exits then delete local.xml.bak.
check database permission issue for database user.
Clear cache from cache folder (path yourmagentodir/var/cache/)
It was in deed a corrupt database. Thanks for drilling this into me guys as it forced me to keep rechecking the db

Error Processing Request: Mage registry key "_singleton/inchoo_notes/feed_updates" already exists

I get this error message whenever im trying to login to magento admin after installation of inhcoo featured 2.0 (magento extension) through magento connect:
There has been an error processing your request
Mage registry key "_singleton/inchoo_notes/feed_updates" already exists
Trace:
#0 /home/.../public_html/app/Mage.php(222): Mage::throwException('Mage registry k...')
#1 /home/.../public_html/app/Mage.php(476): Mage::register('_singleton/inch...', false)
#2 /home/..../public_html/includes/src/__default.php(20995): Mage::getSingleton('inchoo_notes/fe...')
#3 /home/...../public_html/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#4 /home/..../public_html/includes/src/__default.php(13663): Mage::dispatchEvent('controller_acti...', Array)
#5 /home/..../public_html/includes/src/Mage_Adminhtml_Controller_Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch()
#6 /home/..../public_html/includes/src/__default.php(13543): Mage_Adminhtml_Controller_Action->preDispatch()
#7 /home/..../public_html/includes/src/__default.php(17899): Mage_Core_Controller_Varien_Action->dispatch('login')
#8 /home/..../public_html/includes/src/__default.php(17456): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#9 /home/..../public_html/includes/src/__default.php(20033): Mage_Core_Controller_Varien_Front->dispatch()
#10 /home/..../public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#11 /home/..../public_html/index.php(89): Mage::run('', 'store')
#12 {main}
Error log record number: 214959287644
how can I fix this problem? please help
This specific error happens when a singleton (model or helper) is attempted to be invoked but cannot be mapped. Based on the path which I'm seeing in the stack trace, it looks as though you have compilation enabled. You should disable compilation while attempting to install this module, which can be done in the admin GUI at System > Compilation.

How to create directory from magento in the root of cpanel?

I am working in magento. I want to create a directory in the root of cpanel. But it gives me a error like this:
Warning: mkdir() [function.mkdir]: Permission denied in /home/testing/public_html/indies_installer/app/code/local/Indies/Installer/controllers/Adminhtml/InstallerController.php on line 53
#0 [internal function]: mageCoreErrorHandler(2, 'mkdir() [saveAction()
#3 /home/testing/public_html/indies_installer/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('save')
#4 /home/testing/public_html/indies_installer/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#5 /home/testing/public_html/indies_installer/app/code/core/Mage/Core/Model/App.php(349): Mage_Core_Controller_Varien_Front->dispatch()
#6 /home/testing/public_html/indies_installer/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#7 /home/testing/public_html/indies_installer/index.php(80): Mage::run('', 'store')
#8 {main}
I am using
mkdir("/home/testing/public_html/test/",0777);
to create a directory from magento module. So, please help me to solve this issue.
The hosting not allowed to create a folder under that folder. If you need you can create a folder inside Magento root directory.

Resources