guru
guru

Reputation: 66

Magento: Warning: simplexml_load_file

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?

Upvotes: 1

Views: 1104

Answers (1)

Vladimir Ramik
Vladimir Ramik

Reputation: 1930

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.

Upvotes: 1

Related Questions