I have error when I upload my personal website. This is the error that I get:
Warning:
include(/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php): failed to open stream: No such file or directory in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(): Failed opening '/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php): failed to open stream: No such file or directory in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(): Failed opening '/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php): failed to open stream: No such file or directory in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(): Failed opening '/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php): failed to open stream: No such file or directory in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269 Warning: include(): Failed opening '/home2/thefourpobu/public_html/tep/application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/thefourpobu/public_html/tep/system/core/Exceptions.php on line 269
This got me too. From the CodeIgniter upgrade doc:
Step 8: Replace your error templates
In CodeIgniter 3.0, the error templates are now considered as views and have been moved to the application/views/errors directory.
Furthermore, we’ve added support for CLI error templates in plain-text format that unlike HTML, is suitable for the command line. This of course requires another level of separation.
It is safe to move your old templates from application/errors to application/views/errors/html, but you’ll have to copy the new application/views/errors/cli directory from the CodeIgniter archive.
You just need to copy over the errors folder provided in ver 3.0 to your views folder.
Related
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.
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.
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 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
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