Error : Warning: include(Mage\Venustheme\Brand\Model\System\Config\Source\ListBrand.php) - magento

Magento shows below error when i click on product to edit.
Warning: include(Mage\Venustheme\Brand\Model\System\Config\Source\ListBrand.php) [function.include]: failed to open stream: No such file or directory in ..\lib\Varien\Autoload.php on line 93
i am looking for any trick/method which can help me debug this error, actually i want to know from which file it is coming

Related

Getting errors after shifting live site to local

Warning: include(Mage/Core/Model/App.php): failed to open stream: No such file or directory in /var/www/html/sitename/lib/Varien/Autoload.php on line 93
Warning: include(): Failed opening 'Mage/Core/Model/App.php' for inclusion (include_path='/var/www/html/sitename/app/code/local:/var/www/html/sitename/app/code/community:/var/www/html/sitename/app/code/core:/var/www/html/sitename/lib:.:/usr/share/php:/usr/share/pear') in /var/www/html/sitename/lib/Varien/Autoload.php on line 93
Fatal error: Class 'Mage_Core_Model_App' not found in /var/www/html/sitename/app/Mage.php on line 589
I have tried vhost also, but getting same errors.
Have you tried to update dependencies with composer?
cd /var/www/html/sitename/
composer update
Could also be useful to check db settings table for any absolute roots.

magento CE1.7.0.2 gives error while installing live site backup on local workstation

i am facing below errors while installing live site backup on local workstation. I imported database backup too in mysql.
Renamed "local.xml.sample" to "local.xml".
renamed cache folder.
But yet it gives below error.
1. Warning: include_once(Mage/Core/functions.php): failed to open stream: No such file or directory in C:\wamp\www\app\Mage.php on line 50
2. Warning: include_once(): Failed opening 'Mage/Core/functions.php' for inclusion (include_path='C:\wamp\www\app\code\local;C:\wamp\www\app\code\community;C:\wamp\www\app\code\core;C:\wamp\www\lib;.;C:\php\pear') in C:\wamp\www\app\Mage.php on line 50
3. Warning: include(Mage\Core\Model\App.php): failed to open stream: No such file or directory in C:\wamp\www\lib\Varien\Autoload.php on line 93
4. Warning: include(): Failed opening 'Mage\Core\Model\App.php' for inclusion (include_path='C:\wamp\www\app\code\local;C:\wamp\www\app\code\community;C:\wamp\www\app\code\core;C:\wamp\www\lib;.;C:\php\pear') in C:\wamp\www\lib\Varien\Autoload.php on line 93
5. Fatal error: Class 'Mage_Core_Model_App' not found in C:\wamp\www\app\Mage.php on line 670
The most probable answer - you have incorrect hierarchy of your project files, ie you didn't copy whole project to your workstation. You need to check if app\code\core\Mage\Core folder is present and contains all the mentioned files.

Fatal error: Class 'Varien_Autoload' not found

During deployment of a Magento site I got the following warning and error:-
Warning: include_once(Varien/Autoload.php): failed to open stream: No such file or directory in /home/xxx/subdomain/stage/app/Mage.php on line 50
Warning: include_once(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='/home/xxx/subdomain/stage/app/code/local:/home/xxx/subdomain/stage/app/code/community:/home/xxx/subdomain/stage/app/code/core:/home/xxx/subdomain/stage/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/subdomain/stage/app/Mage.php on line 50
Warning: include(Varien/Autoload.php): failed to open stream: No such file or directory in /home/xxx/subdomain/stage/app/code/core/Mage/Core/functions.php on line 68
Warning: include(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='/home/xxx/subdomain/stage/app/code/local:/home/xxx/subdomain/stage/app/code/community:/home/xxx/subdomain/stage/app/code/core:/home/xxx/subdomain/stage/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/subdomain/stage/app/code/core/Mage/Core/functions.php on line 68
Fatal error: Class 'Varien_Autoload' not found in /home/xxx/subdomain/stage/app/Mage.php on line 53
I have already set permission to 777 and set the include_path correctly and there is lib folder inside includes too but its not working.
Please suggest how to solve this error. Thank you.

Magento Autoload.php cannot find other PHP scripts

I keep getting this kind of error since I moved Magento from my server to clients server:
exception 'Zend_Validate_Exception' with message 'Validate class not found from basename 'NotEmpty'' in /lib/Zend/Validate.php:244
Caused by:
Warning: include(NotEmpty.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /lib/Varien/Autoload.php on line 93
This one I get when I try to finish my order.
I got one similar yesterday when trying to create an attribute.
Warning: include(StringLength.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /lib/Varien/Autoload.php on line 93
I checked for permissions and all the files referred by the error have 777 and all the folders from root to those files have also 777.
Any thoughts?
EDIT:
I followed the hint from the comments and I managed to find the path of the file causing the error. The NotEmpty.php is called from the root of Magento though it should have been in /lib/Zend/Validate/.
Any idea how to get the right path?

Warning: require_once(PHPUnit/Autoload.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 49

This is my complete error message:
Warning: require_once(PHPUnit/Autoload.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 49
Fatal error: require_once(): Failed opening required 'PHPUnit/Autoload.php' (include_path='.:') in /usr/bin/phpunit on line 49
I am using MacOsX10.8 and MAMP. I get this Warning running "./bin/behat ..." in a Symfon2.3 application.
Any suggestion?
Do it for the file being called on line 49
First check whether the file exist.
Next Check for read permissions on that file and its folders

Resources