Product is not getting saved/updated from Magento admin panel - php

It was working and suddenly it stopped saving/updating the product data from Magento admin panel and it keep showing loading please find screenshot. While inspecting the cause of error it response in console is -
{"error":false}
<style>
body {border:10px solid red;}
</style>
Not able to find what is the cause of error also saw this question in Stackoverflow but it does not able to solve my issue. Any help will be appreciated, thanks in advance.

I had a similar problem. I disabled mod_secure to resolve the problem.
This problem could be solved in one way:
1. Try a different browser
This fixed the problem for me, as I was using Firefox 3.6 (OS X) to access the admin backend, and switching to Safari 5 (I’m guessing Safari 4 would work also) fixed the issue. I tested this on IE7 (WinXP) and it also worked.
2. 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.
3. Check your www vs. no www redirects
Make sure you’re only using one form of redirection, either in cPanel, Magento, or .htaccess. See this post for in-depth instructions.
For more information please see the article http://maxrice.com/magento-fixing-please-wait-error-adding-editing-products-categories/
Hope these help!
Please note, issue appear only when website works under https and when I used single html tags like <img />.

Related

Error 409 – Contact Form scripts and styles not loading

I have been pulling my hair out over the last couple days trying to figure this issue out. Feels like i’ve tried everything, so i’m finally resorting to here. All of a sudden, the contact forms on my site just stopped working. The AJAX feature doesn’t work and there’s a red border under all my contact forms, which is the red border for the error message. When I view the console, a number of errors show up, with resources that are failing to load, all of which are scripts and styles that the plugin depend on to actually work.
But the issue is quite strange, because the forms only stop working when I am connected to a particular network. I have two Wi-Fi networks at home and when I connect to one, the forms work perfectly and when I connect to the other, it breaks. It led me to believe that it was a caching issue so I did the following:
Cleared my browser cache
Cleared the WordPress cache
Contacted Hostgator to clear the server cache
Reset both my routers
Even went as far as doing ipconfig /flushdns in command prompt as I saw someone suggest that, because they were having the exact same issue.
None of that worked, and even though I know that the issue isn’t with the theme or conflicting plugins, I still
Deactivated all the plugins besides Contact Form 7 to see if that would fix the issue
Switched from my theme to the default WordPress theme
Reverted to an older version of Contact Form 7 (ver. 5.1.6 as this is the version I have on another site, also hosted on Hostgator, that works perfectly.)
Unfortunately, none of this worked either. I am assuming the problem has to be on either my end or on Hostgator’s end, because I have sent the link to other people who are not on my network, and they don’t have an issue. The forms work as they should. I am really not sure what’s causing this so I am hoping someone would be able to give me some suggestions or support please
Hostgator hasn’t helped me. They checked to see if my IP was blacklisted or something and it wasn’t, and like I said, they cleared the server cache and still nothing. What do I do? After researching the issue on my own, I've realized that this is a problem many people face with Contact Form 7 and Hostgator/Bluehost, but I haven't found a proper solution yet...
UPDATE: Apparently the issue arises because of the word "contact" being in both the URL and the scripts/styles/images? That's the weirdest thing i've ever heard of, but apparently that's the issue? I had a banner image on my site named "contact-bg.jpg" that wouldn't load, got a 409 error for that as well. I changed the name of it to "get-in-touch-bg.jpg" and it loaded just fine. Unfortunately changing the slug from contact-us to get-in-touch didn't work. Is there a way to completely change the name of the contact form 7 plugin, removing the word contact from all the files and still have the plugin work?? See this question: Failed to load resource: the server responded with a status of 409
So, seems like this issue had nothing to do with plugins or the theme or anything. Apparently it had to do with my IP address and my webhost blacklisting my IP for some reason. I had to contact them and have them whitelist it in order for the contact forms to start working properly. This probably wouldn't work for everyone/wouldn't be the case for everyone, but it worked for me.

Google Analytics intrusive comment

I have a WordPress site and Google Analytics installed. However when I open my site from Google Chrome I see this comment at the top of the page: /** Google Analytics tracking code begins here / / Google Analytics tracking code ends here **/
I have checked my php files but can't manage to find where that comment is located and fix the problem.
Can anyone take a look please and give me a hint, Thank you very much.
My site is https://tecnicadevoz.com
There are two common causes for this issue.
The first one is your browser cache. Sometimes your browser (specially Google Chrome) will show you a cached copy of your website instead of showing the new one. To resolve this issue, you need to simply hit CTRL + F5 (or Cmd + R in Mac) buttons on your keyboard to reload the page.
The second and most likely cause of this issue is poorly configured WordPress caching plugin. To see if a caching plugin is causing this problem, you need to see if you’re using a caching plugin on your site.
The first thing you can do is try to Empty All Caches using your cache plugin settings area.

WordPress test environment keeps redirecting to live

WordPress is new for me. I want to fix a bug in a WordPress site for a client. Tries to setup a test environment using Scotch Box, but the website keeps redirecting to the live environment.
I have tried the following
Changed 'siteurl' and 'home' in the db to the new URl.
Tried the same with DEFINE in wp-config:
define('WP_HOME','http://192.168.33.10');
define('WP_SITEURL','http://192.168.33.10');
I even put a die(); in the index.php file, which it apparently doesn't even reach as it is still redirecting.
Searched all the code in the website to look for a hardcoded redirect somewhere. There was none.
Looked for a .htaccess file, there is none.
Looked at a lot of Stack Overflow questions that all suggested the above methods.
I do not really understand how this is possible. Is there anything else I should try? Btw, the website is using the 'Maxima Theme'.
Solved it, chrome was redirecting the ip.. Worked with another browser and now works with Chrome after clearing the browser data.
I had a very similar issue in Firefox, solved it by using the developer tools to disable the cache:
Open Web Developer Tools - Either press Ctrl+Shift+I, or use the menu.
Choose the Network tab.
Tick the Disable Cache box.
Credit: https://superuser.com/a/661767/178934

Stupid error: Failed to load resource: net::ERR_CACHE_MISS

I'm developing Web app in Yii framework. I need use AJAX in my some pages. So, when I clicked the button (which I loaded them with AJAX the Google Chrome Developer Tools browser says me:
Failed to load resource: net::ERR_CACHE_MISS
How to solve this problem?
P.S: I know it's duplicate question, but I couldn't find the solution for my problem. In some posts users said use Ctrl+Shift+N and try it. it will works. and/or somebody said: reload pages with Ctrl+F5 because Google Chrome likes cache everything.. So, I read all of these topics and applied all solution tips. But there were not help. Please help me...
And also in other browsers some pages not working properly. But only the Google Chrome Developer Tools returns me the stupid error.
Best.
Google declares that this is not a failure, but some "misleading error reports".
This bug will be fixed in version 40 of chrome.
You can read this:
Chromium forum
Chromium forum
Patch
It is actually a permission issue. Add these lines in your platforms/android/AndroidManifest.xml file:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
It only appeared in my Chrome browser a few days ago too. I checked a few websites I developed in the past that haven't been changed and they also show the same error. So I'd suggest it's not down to your coding, rather a bug in the latest Chrome release.
I solved this error with clearing cache and restarting chrome. Hope they will fix it in ver 40.
If you are using bootstrap that will be the problem. If you want to use same bootstrap file in two locations use it below the header section .(example - inside body)
Note : "specially when you use html editors. "
Thank you.
I was getting this error because of the new Google Universal Analytics code, particularly caused by using the Remarketing lists on Analytics. Here's how I fixed it.
1) Log into Google Analytics
2) Click "Admin" in top menu
3) In "Property" column, click "Property Settings"
4) Make sure "Enable Display Advertiser Features" is "On"
5) Click "Save" at bottom
6) Click ".js Tracking Info" in left menu
7) Click "Tracking Code"
8) Update your website's tracking code
When you run the debugger again, hopefully it will be taken care of.
We get err_cache_miss error while using the bowser. Its mean there may be a problem with your browser. It due the items in the cache may be unusable or some configurations are not configured correctly. You may get the solution to clear browser data or Check browser extensions and remove extensions which you felt cause the problem or Resetting your browser or Update your browser or Disabling cache system. These are some tricks to come out this error.
Try loading the website in another web browser such as Safari. Recently had this problem and for some reason, it worked after loading in a different browser.

Session with Google Chrome and PHP 5.3

I have an Auth component (based on Zend_Auth) which I am using in many projects on different servers and different environments. It has always worked... until now:
When I try to log in to a new project (using the same Auth component) with Google Chrome (12.0.742.122), I'm being logged out right after logging in. The problem doesn't occur with FF or IE.
Does anyone have a clue why this could be?
This is not a ZF issue. As strange as it may sound, the issue is solved by adding a favicon to your site. Chrome is making a request for the favicon and invalidating the session when it gets a 404. I read one post that suggested that a special 404 configuration might help.
Might be this bug: http://framework.zend.com/issues/browse/ZF-11502 - there is a fix suggested in the comments.
It is a weird story. If you google the problem, you find that it sporadically turns up here and there but never systematically. There is a bug report for Zend Framework, there are issues at the Google Forums, there are similar reports in the tracking systems of Drupal and Wordpress. But somehow there are no clear answers.
In my case, the problem just went away by itself in the course of some other refactorings.
Just a hint ... I had the same problem. After debugging I found out there is a clash with cookie name on the main domain. It worked in FF and IE, Chrome however took a top domain cookie for ajax request and the lower one on regular request.

Categories