i got a problem with magento.
The problem is when i try to access: one of the categories
i get the following error:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 996553057356
content of the log:
Warning: simplexml_load_file() [function.simplexml-load-file]:
/home/0/w202816/www/webshop/errors/local.xml:1: parser error :
Document is empty in
/home/0/w202816/www/webshop/errors/processor.php on line 337
Warning: simplexml_load_file() [function.simplexml-load-file]: in
/home/0/w202816/www/webshop/errors/processor.php on line 337
Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in
/home/0/w202816/www/webshop/errors/processor.php on line 337
Warning: simplexml_load_file() [function.simplexml-load-file]:
/home/0/w202816/www/webshop/errors/local.xml:1: parser error :
Start tag expected, '<' not found in
/home/0/w202816/www/webshop/errors/processor.php on line 337
Warning: simplexml_load_file() [function.simplexml-load-file]: in
/home/0/w202816/www/webshop/errors/processor.php on line 337
Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in
/home/0/w202816/www/webshop/errors/processor.php on line 337
Warning: Cannot modify header information - headers already sent by
(output started at
/home/0/w202816/www/webshop/errors/processor.php:337) in
/home/0/w202816/www/nwebshopikk/errors/processor.php on line 360
Warning: Cannot modify header information - headers already sent by
(output started at
/home/0/w202816/www/webshop/errors/processor.php:337) in
/home/0/w202816/www/webshop/errors/processor.php on line 361
How to fix?
It appears you're missing the local.xml.sample or local.xml or its malformatted.
Try to find a vanilla magento installation and copy:
root/errors/local.xml.sample
Into your
root/errors/local.xml.sample
OR
root/errors/local.xml
If you want them rendered on the client.
Related
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.
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.
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.
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
I want to use APC with Magento. I added the folling code in app/etc/local.xml:
<cache>
<backend>apc</backend>
<prefix>MAGE_</prefix>
</cache>
but I am getting the error below.
APC is already enabled on the server and working with other sites.
The error message
Warning: simplexml_load_file()
[function.simplexml-load-file]:
Entity: line 58: parser error :
expected '>' in
/var/www/html/webkul/magento/partner/app/Mage.php
on line 645
Warning: simplexml_load_file()
[function.simplexml-load-file]:
in
/var/www/html/webkul/magento/partner/app/Mage.php
on line 645
Warning: simplexml_load_file()
[function.simplexml-load-file]: ^ in
/var/www/html/webkul/magento/partner/app/Mage.php
on line 645
Notice: Trying to get property of
non-object in
/var/www/html/webkul/magento/partner/app/Mage.php
on line 647
Notice: Trying to get property of
non-object in
/var/www/html/webkul/magento/partner/app/Mage.php
on line 647
Notice: Trying to get property of
non-object in
/var/www/html/webkul/magento/partner/app/Mage.php
on line 647
What could lead to this error?
I'm use memcache to provider back cache
that magento can not read config file please makesure you config is correct
BTW:apc is not compatible X64 OS
Make sure your LAMP stack has all of the requirements being met:
http://www.magentocommerce.com/knowledge-base/entry/how-do-i-know-if-my-server-is-compatible-with-magento
Particularly SimpleXML.