Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Add Product -> Save Product
Tagged: edit product, estore, product save, products slow to save, saving products, time to save after product edits
- This topic has 8 replies, 5 voices, and was last updated 12 years ago by alloneinvestments.
-
AuthorPosts
-
July 28, 2011 at 7:44 am #3915richardtohMember
Hi,
Everything is smooth except when saving a product, it takes 30 secs to 1 min to complete the task. Meanwhile all links related to the domain are unaccessible.
Saving a post is almost instantly done.
Is this normal? If not, please advise.
July 29, 2011 at 12:18 am #34801amin007ParticipantThat is definitely not normal. I have never heard this before actually.
I have a feeling there are some weird data somewhere in the product details and the database is not handling it well. Did you try creating a product using just a simple product name and a price? Does it do the same when you do it?
After you save the product (when it takes 30 seconds) does it actually save? Can you see it from the manage products menu?
August 2, 2011 at 5:18 pm #34802richardtohMemberHi amin007,
When adding product with just name and price, it’s almost instant.
The 30 sec comes when I enter the Product Page URL and save product.
August 2, 2011 at 6:16 pm #34803gamehermitMemberI noticed a slight slowdown after adding hundreds of products and making a “gazillion” little edits to my pages in preparing for the site to go live. I just went into phpMyAdmin and did a repair and optimize on all the tables and everything started working really fast. I don’t think that this was really a WP eStore thing….just a WordPress maintenance thing.
I don’t know if this helps or not but might be worth trying.
Jack
August 3, 2011 at 2:26 am #34804richardtohMembergamehermit,
I suspected that too, but I optimize the database before adding a product. Try entering a Product Page URL and see if it really “save” for 30 sec.
August 3, 2011 at 2:52 am #34805amin007Participant“Try entering a Product Page URL” – What this means is that your server do not have CURL support. The plugin checks each URL value you entered to make sure there is no typo in the URL. On servers where URL fopen is disabled it tries to do the check using CURL and since that is also blocked, it has to wait 30 seconds before it times out.
Open the “eStore_utility_functions.php” file and search for the following:
function eStore_is_valid_url_if_not_empty($url)
{
if(empty($url))
{
return true;
}
else
{
return eStore_is_valid_url($url);
}
}Once you find it replace it with the following:
function eStore_is_valid_url_if_not_empty($url)
{
return true;
}This should make it to where it doesn’t do that URL check anymore. You will just have to make sure you enter the correct URL value.
October 22, 2012 at 9:01 pm #34806alloneinvestmentsMemberI am having a problem similar to this when editing products in e-store.
When I make changes to the product description field and old price field and then click save, the following happens:
1. It takes 42 seconds to save the product edits;
2. After the save, I receive “product updated” message on top of screen, but the product name, product price, and product description are all now blank on the screen.
3. When I go to “Manage Products” – the old version of the product displays and if click edit that same product from the manage products screen, none of the changes I previously saved are there. All the old data is there.
MY VERSIONS:
Site: simpleascension dot com
WP eStore Settings v 6.9.1.7
WP eMembers – Dashboard v7.2.3
WP Lightbox – General Settings v1.4.5
WordPress 3.4.2
Host: LivingDot
Apache version 2.2.23
MySQL version 5.1.65-cll
PHP version 5.2.17
Perl version 5.8.8
I have used the same hosting co/cpanel since 2009 and this problem seems to have just come up in the last 2 months.
My entire site is running much slower in the last 2 months, so I don’t know if this is a wp thing or an e-store thing. New plugins installed in last 2 months are wp-optimize and wp smushit.
The fact that the data is disappearing from the product name, product id and product description fields makes me wonder whether it’s an e-store thing. I can save and edit posts just fine.
WHAT I’VE DONE SO FAR:
I’ve cleared my browser cache but that didn’t fix it. I ran WP-Optimize and optimized all my tables, but that didn’t fix it. I haven’t tried the fix in the stream above where it’s suggested that we modify the eStore_utility_functions.php file because I want e-store to still automatically check to make sure my URLs are correct.
Thank you for your help!
October 22, 2012 at 10:08 pm #34807PeterMemberHi,
When upgrading the plugin to a newer version did you deactivate and delete the old version?
If not can you please try installing a fresh copy of the plugin by following the instructions here:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
November 9, 2012 at 3:13 am #34808alloneinvestmentsMemberHi Peter,
I upgraded to version 6.9.1.7 of the estore plugin using Upgrade Method #1 listed on the estore upgrade instructions found here: http://www.tipsandtricks-hq.com/ecommerce/wordpress-estore-installation-and-usage-guide-31. Method 1 required a deactivation of the plugin versus a full delete.
I will go and follow Upgrade Method 2 and deactivate and delete the plugin and then reinstall a fresh version.
Thanks for your help.
-
AuthorPosts
- You must be logged in to reply to this topic.