Magento: Exception printing is disabled by default for security reasons - magento

i get this error in one category on my webshop.
I see that this site: http://support.hostgator.com/articles/specialized-help/technical/magento-install-error-exception-printing-is-disabled "has a solution" for the problem. However, i dont have any local.xml.sample or local.xml file.
Here is one of the error logs: http://pastebin.com/W65ziL5y
Seems like the error record number change for every refresh.
Anyone that can help?

Go to your
magento root/errors/
folder and rename/copy from vanilla installation
local.xml.sample to local.xml
This will show you exceptions on the frontend ( not recommended in production ).
Alternatively view your
root/var/logs/exception.log
AND
root/var/logs/system.log
If its enabled in under
/admin/system_config/edit/section/dev/ -> Log Settings
to see all your exceptions and system notices.
Note that apache uncaught Magento errors will be stored in your apache log folder specified in httpd.conf

Related

How to show error page in joomla if page is not found ?

I am completely new in joomla.
I have website e.g mysite.com
When I visit this site it's opening the url like bellow :
mysite.com/index.php/de/
When I go to this link
mysite.com/index.php/de/abskds
It's successfully showing 404 page.
But how can I show this 404 error page when someone go to bellow link:
mysite.com/abskds
Many thanks :)
This can be done in one of two ways
Method 1
Open your configuration file (configuration.php) and look for the line public $error_reporting = ‘default’;You will then need to change this to the following based on your needs:
E_ALL | E_STRICT – All errors, warnings, notices, and strict
standards will be displayed on the website
E_ALL – All errors, warnings, notices will be displayed on the
website
E_ALL & ~E_NOTICE – All errors, warnings, but no notices will be
displayed on the website
E_ALL & ~(E_NOTICE|E_WARNING) – All
Errors. No warnings or notices will be displayed on the website;
0 – No error reporting at all
Method 2
In your Admin Panel, navigate through Global Configuration >> Server tab >> Error Reporting. Choose an option as follows:
System Default: Joomla will inherit error reporting defaults set in the server (usually in php.ini file).
Simple: Overrides server settings to give a basic report with warnings only about the fatal errors.
Maximum (Recommended): Overrides server settings to gives full report with all the errors, warnings, notices, deprecated functions call, strict standards on the website.
None: switched off
Go to administrator.
In global configuration you'll see a SEO Settings.
Search Engine Friendly URLs Yes
And
Use URL Rewriting Yes - Follow instruction how to modify files according wich server you use.
Warning when you enable these all link with index.php will be modifies.
http://mywebsite/index.php/de
will go to:
http://mywebsite/de
Hope these help.
First go to admin panel > Global Configuration and turn mode_rewrite on.
Then go to your root folder (Joomla! Installation Folder) and rename the htaccess.txt to .htaccess

Magento getting a blank page when create a new product

Today when i try to create a product from magento backend, i got a blank page. After going through some articles i increase the memory limit in htaccess file. That also did not help to solve my issue.
Can anyone please help me to solve this.
Could you please get follow the following step.
1 get free copy of .htaccess file and place to your installation
clear cache in admin panel and also reindex
if you got in error in messages on syslog file or exception then
post here
Good luck with your bug resolving
Thanks
Sam
Go to System -> Configuration -> Developer and under Log Settings set Enabled to YES.
Create a new product to get the blank page.
Go to root folder site/var/log and copy stack trace from exception.log and post it here.

Lesti's FPC not working with Fishpig get post collection

I've developed a magento website with the fishpig extension, and as soon as I turned on my Lesti's FPC, i got a white page without any errors on the homepage.
I've managed to trace the error down to the post collection, but I don't know how to fix this issue. Someone had any experience with this?
This is what my post collection looks like:
<?php $posts = Mage::getResourceModel('wordpress/post_collection')
->addPostTypeFilter('sliders')
->load();
?>
I'm pretty sure this error has nothing to do with Lesti FPC. If you have a white page without any errors, this just means that an error has occured but your PHP error display settings prevent it from being displayed. To display the error, open up your Magento index.php file and uncomment the following line:
ini_set('display_errors', 1);
This will reveal the PHP error message. That being said, your issue will probably be fixed by performing the following steps:
Upgrade Magento WordPress Integration to the latest version. Also update any add-on extensions for Magento WordPress Integration.
Check System > Configuration > WordPress for any errors/warnings and fix every single one.
Check var/log/ for a wordpress.log file. Delete this file and then go back to the page that triggers the error. See whether any new errors are added to the file.
Please perform these 3 steps (these steps should be followed for any error with Magento WordPress Integration) and see whether the error persists. If the error does remain after following these steps, please update your question with the specific error message (but only after following these 3 steps).

strange issue in category edit/update Magento

Hi i am going through very strange issue in magento , i have several categories i magento with child categories , i need to update a category information ,i am able to update the many categories but when i try to update the first category under the default category , it didn't work and the browser keeps on loading .I have tried to found the issue on google but nothing was there , in some places it was suggested that it happens due to upgrade but i haven't upgrade the magento or any other module .Please suggest me what can be the issue .
Thanks
This happens in some cases where the category name contains special characters.
This is for sure a javascript error, otherwise you would have got a response from the server, in this case the you are not getting a response and hence the loading continues. What you could do is check the server response and monitor the firebug / inspect element to get some ideas.
You can check for these javascript elements in the
/app/design/adminhtml/default/default/template/catalog/category/tree.phtml file.
You should add some more info to the question starting with the Magento version, but follow these steps:
Enable error printing in general by adding these lines to your .htaccess
SetEnv MAGE_IS_DEVELOPER_MODE 1
php_value display_errors 1
Enable logging in Magento in System->Confihuration->Developer->Log Settings
Do as Keyut suggested and try to update the erroneous category with the console open, monitoring the XHR calls. Check the response of the call invoked after you clicked "Save" for errors.
Do as Tobias suggested and check the logs found under var/log in your Magento folder.
By now you should have at least found the error, so you can solve it or ask for further help.

Magento: neither front-end not admin opening up

I am using Magento CE v1.7
In both cases, this is what I see:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 376160589307
Go to your root magento installation folder and locate var/report folder and look for the file with name 376160589307. Please open it to view the exact error.
If you want to display it in browser itself,
Go to your root magento installation folder and locate /errors folder. There you’ll find a
local.sample.xml or sample.local.xml and rename it to local.xml in same location

Resources