strange issue in category edit/update Magento - 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.

Related

Magento 1.9 - Categories & Products Categories Areas Stuck on Loading

I'm getting this issue with categories in Magento 1.9, Issues basically to do with Categories page and product > categories.
My site is not new and it has suddenly happened, the only recent events are style changes and few template changes to product gallery (media.phtml).
Im stuck on categories loading... I even left it over night.
image screenshot
It's a nightmare.
I have no console errors except for GET https://www.SITENAME.com/skin/adminhtml/base/default/fonts/fontawesome/font-awesome.css net::ERR_ABORTED which being fontawesome I feel is not related to this.
Has anyone else had this and found a solution?
One suggestion I found was to change mod security in cpanel. I can't change mod security as my cpanel/whm doesn't have that option, possibly as this issues was 4 years ago.
Please save me!?
Below are some fixes that help you to resolve the issue:
Try a different browser.
Disable mod_security and add whitelist: Check your mod_security audit log and if you see entries from the admin backend, have your host investigate and temporarily disable the module. If your issues goes away, ask your host to whitelist your admin backend.
Check your www vs. no www redirects: Make sure you’re only using one form of redirection, either in cPanel, Magento, or .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).

Magento-Some of the products giving 404 error

This is really strange. Some of the products from the catalog gives 404 error, even if targeted directly.
The product can be seen in admin and is enabled with stock set. I checked the URL rewrite section but couldn't find anything. Also, tried reindexing everything, but couldn't resolve the issue. Even flushed the cache still nothing.
After searching the issue, I found a solution saying running an SQL command. I did that but it said the entry already exists.
Even when I search the product in catalog, nothing returns. The item is there but its just redundant and not showing.
You can check that the product is...
Assigned to a website
Inventory level is above 0 and status is in stock
Enabled
Visible in catalog/search
I have highlighted point 1 as it does tend to catch people out in a multi store environment.
Also, you may need to reindex/clear cache etc.
Finally, double check you are using the correct suffix if relevant i.e. you may have to add .html to the url.
Make sure that your product's status is 'Enabled'.
Re-indexing may help you to resolved the issue.
Go to admin panel System > Index Management. Here select all and do re-indexing. After doing re-indexing try to clear your magento cache and check.

Magento - Product details don't update

When I try and update a product via admin, the update fails and there is no error message:
Catalogue -> Manage Products -> Edit
I change the name of a product for example
I click save.
A pop up states 'Please wait" after a couple of seconds it disappears and then the browser waits for the domain for about 60 seconds (I assume an ajax call?) and then does nothing.
Thats it.
There's nothing in the server error log.
Version: Magento ver. 1.5.0.1
Running on cPanel server.
Open the Net tab in Firebug and look what response do you recive from the server. Looks like you forgot something like echo 123; die; somwhere in yor code. Anyway, the response you'll see will help you to find where the problem is located.
The solution was simple once I had correctly diagnosed the problem -PHP post_max_size was too low and needed increasing.
And error that would have been spotted sooner if error reporting was enabled in admin area of Magneto and if the post wasn't done by AJAX.

Resources