Manage category is not saving - magento

i have a problem with the manage categories. When i tries to change the already created category "Name" then it cant changes and not saved into the database and gives me the below error in the console.
"NetworkError: 403 Forbidden - http://www.test.com/index.php/admin/catalog_category/save/key/9487ff918e8f40544635df5359718b53/id/41/?isAjax=true" But, when i create the new category then it is saved and does not created the above error. The Problem is arise when i edit the old categories already created.
when i have seen in the console POST?Ajax=true the response gives as belowin the form of javascript parent.updateContent("http://www.test.com/index.php/admin/catalog_category/edit/id/41/key/f437a3f3555a03e0f9f7750af5b4fb6c/", {}, true);
It returns the null value as response.
Please, help me.....

It might be your mod_security causing the 403 errors.
Try adding the following at the top of your .htaccess file in your Magento root directory:
SecFilterEngine Off
SecFilterScanPOST Off
If that doesn't work, it would be easier to determine the exact cause my examining your apache error logs. The logs will give you more insight into why you are receiving 403 errors.

Related

Laravel 5 Mailing Issue

I seem to be having issues when trying to perform password resets with Laravel 5. The error I keep getting is:
View [layouts] not found.
(View: /var/www/leaptrade/vendor/laravel/framework/src/Illuminate/Mail/resources/views/html/message.blade.php)
(View: /var/www/leaptrade/vendor/laravel/framework/src/Illuminate/Mail/resources/views/html/message.blade.php)
I've checked through all of my views and ensured that they all are correct, but I keep getting this error. It occurs after I click "Send Password Reset Link". The path it redirects to is correct, from /password/reset to /password/email, and it also only causes an error when it's a correct user Email.
Would anybody happen to have any ideas on a solution for this?
Thanks!

500 Internal Server Error when logging into Magento front end?

This used to work fine but we've just moved the site from the development area to httpdocs. I've changed all relevant MySQL entries and file paths, but still we're having this error.
In the Apache error log, This is the corresponding error:
client denied by server configuration: /var/www/vhosts/website.com/httpdocs/var/www/vhosts...
It looks like it is getting the wrong path somehow, as the /var/www/vhosts is repeating.
I did try using powergrep to locate where the path is getting set, but it didn't return any results.
Is there a setting which I can specify the exact path?
First of all, check your PHP log, it will give you a detailed info about this error.
Have you checked your permissions?
The folders var and media must be writtable.
And also, could you see correctly the homepage, categories and the error only appears when you log in?
Best regards.

site - is currently unable to handle this request Http error 500

once i clicked on "Proceed to checkout" button, we are getting below error
The sitename.com is't working
www.sitename.co.nz is currently unable to handle this request
Http Error 500
even in backend when we open some orders, than also same error in order-view page.
we have shared hosting.
It was a problem with magento core file cc.php file , one of our devoloper edited it in wrong way, once i replaced the
original file, it worked fine.

Custom error handling

I am developing a component in joomla 2.5, my component sends a request to some url and gets the response object. If i pass wrong url, joomla takes me to the default page of Error : 500 - No response code found . I want that if user install my component and mistakenly they put wrong url , it should show some custom error message/page which should more meaningful to non-programming person rather than taking user to default error page. Is there some way to add this type of functionality in Joomla without editing template/error.php file in core.
You should have an error.php file in your template, if you don't add one and make it look the way you want. also remember that when you turn debugging off you won't get the stack trace etc.
However error 500 indicates something different than that the url does not exist ("wrong URL"), which would be a 404. 500 is an internal server error and you need to check your logs to figure out what is causing it.

Opencart Ajax Error unexpected token <

I'm using OpenCart 1.5.1.3 and having this strange error on Guest Shipping in Ajax. I'm getting the error "Unexpected token <".
I have tried everyting, change the Ajax code, look at the controller, but no luck. You can try it yourself at http://www.biancabonte.nl/shop/. Put something in the cart and checkout Direct instead of registering. Then the problem occurs.
Thanks
This is almost certainly due to an error message being output by your store, which precedes the AJAX JSON content. Check your error logs around the time you made/make the request. While they won't contain the < character since they're not formatted like the ones output by PHP, they will still have the actual message. Your error logs will either be in the SYSTEM > ERROR LOGS in the admin, or in your cpanel/plesk/other control panel under logs usually

Resources