Hi all
My first post after my first implementation of OC!
Site is working perfectly, except... Options. My client has added dozens of options, and she reports that sometimes they go missing and vanish altogether. I've investigated the cause and it turns out that it's something wrong in the Admin.
Basically... if I go in to the Product page and look at its options, some of them don't load in properly, and rather than showing the sub-option in the Selector, it just shows an empty Selector (see image).
If I hit Refresh, they could reappear, or a different Selector will be empty. So, this is the obvious cause - my client is going in to the Admin, editing the product somewhere, and not noticing that some of the options have not loaded into the Admin correctly, so when she then Saves that session, that option Selector is empty and so isn't saved.
So, this is where my detective work runs out of steam - can anyone suggest why this could be happening?
Please help, am at risk of losing the only paid job I have before Christmas!
My first post after my first implementation of OC!
Site is working perfectly, except... Options. My client has added dozens of options, and she reports that sometimes they go missing and vanish altogether. I've investigated the cause and it turns out that it's something wrong in the Admin.
Basically... if I go in to the Product page and look at its options, some of them don't load in properly, and rather than showing the sub-option in the Selector, it just shows an empty Selector (see image).
If I hit Refresh, they could reappear, or a different Selector will be empty. So, this is the obvious cause - my client is going in to the Admin, editing the product somewhere, and not noticing that some of the options have not loaded into the Admin correctly, so when she then Saves that session, that option Selector is empty and so isn't saved.
So, this is where my detective work runs out of steam - can anyone suggest why this could be happening?
Please help, am at risk of losing the only paid job I have before Christmas!
I have been getting that issue too.. try increasing you memory limit with a php.ini file and if you have vQmod installed, set it true for the cache.
I'm not sure what Rev is running but..
Mine is upgraded to the latest version (2.1.5) and I still get the disappearing options. Cache is enabled and error log is set to off. memory_limit = 1000M is set in php.ini. OC 1.5.1.3
Mine is upgraded to the latest version (2.1.5) and I still get the disappearing options. Cache is enabled and error log is set to off. memory_limit = 1000M is set in php.ini. OC 1.5.1.3
Odd.. you shouldn't still be getting this with 2.1.5Cyberwoolf wrote:I'm not sure what Rev is running but..
Mine is upgraded to the latest version (2.1.5) and I still get the disappearing options. Cache is enabled and error log is set to off. memory_limit = 1000M is set in php.ini. OC 1.5.1.3
But try enabling useCache on vQmod to see if that resolves it.
http://code.google.com/p/vqmod/wiki/useCache
Sorry for getting back to my post so late! Er, I haven't tried doing anything on vQmod yet, but I'm pretty sure that this issue was happening *before* I installed vQmod as that was the add-on I installed last...
Cyber, do I take it that this didn't fix it anyway?
Cyber, do I take it that this didn't fix it anyway?
Actually, the "$vqmod->useCache = true;" fix may have worked... 5 refreshes and still no empty Selectors.
Cyberwoolf, you said it didn't work for you - did you try editing the index.php file within the root, or within the Admin directory? I edited the one in Admin, which is where I think the problem is coming from.
And, so far, it *seems* OK. Still, I bet as soon as I've hit Submit...
Cyberwoolf, you said it didn't work for you - did you try editing the index.php file within the root, or within the Admin directory? I edited the one in Admin, which is where I think the problem is coming from.
And, so far, it *seems* OK. Still, I bet as soon as I've hit Submit...
Checked again this morning and still the same :-/ And yes, it was the admin index I edited :-)
I'm glad you have it working Rev!
I'm glad you have it working Rev!
Hmmm, well, now that I seem to have fixed mine, I really want to help you fix yours... I wonder if there could also be a browser cache issue, on top... Have you tried (after editing your admin/index.php with useCache) clearing the browser cache? I always have Cache switched off in FireFox.
Well the useCache=true absolutely fixes it from the vQmod standpoint. It is due to the excessive ajax callbacks on the product option tab. useCache prevents the vqcache files from being overwritten each time.
vQmod 2.1.5 has a pseudo-cache that I added also to prevent this. It basically caches the files for 3 secs by default then allows normal replacement again. This 3 sec time covers the time it usually takes for all the ajax callbacks to complete.
But I've also seen this issue happening on servers without vQmod. Simply due to their being a lot of options and a ton of ajax callbacks so it just times out or takes a longer time than you give it to load.
We need to fix it from the core and I guess the front running idea for that is to change it from open fields, to individual ajax entries...
FROM THIS:
(full image)
TO THIS:
(full image)
vQmod 2.1.5 has a pseudo-cache that I added also to prevent this. It basically caches the files for 3 secs by default then allows normal replacement again. This 3 sec time covers the time it usually takes for all the ajax callbacks to complete.
But I've also seen this issue happening on servers without vQmod. Simply due to their being a lot of options and a ton of ajax callbacks so it just times out or takes a longer time than you give it to load.
We need to fix it from the core and I guess the front running idea for that is to change it from open fields, to individual ajax entries...
FROM THIS:
(full image)
TO THIS:
(full image)
What files? I'll test it outDaniel wrote:already been improved its in the svn.
might release without order editing system finished.
I do like that option Q. Hopefully there will be an edit button next to the delete ones!
One of my clients makes baskets, so she has a tooon of options to go with each product. I'm in the process of switching her over to OC from Zen cart.
I should note, my proposed fix is not the way it was changed in SVN.
Daniel changed the ajax load to simply preload the default values. This will fix the vQmod ajax collision.
There still may be a problem with a LOT of options due to max post size and page execution times... so in the long run my way may be best, but it isn't done that way at this time.
The solution for now is to simply follow this:
http://forum.opencart.com/viewtopic.php ... 60#p218360
Daniel changed the ajax load to simply preload the default values. This will fix the vQmod ajax collision.
There still may be a problem with a LOT of options due to max post size and page execution times... so in the long run my way may be best, but it isn't done that way at this time.
The solution for now is to simply follow this:
http://forum.opencart.com/viewtopic.php ... 60#p218360
I have OpenCart 1.5.1.3 installed with vqMod 2.1.5 and the Options Boost Module. Works great, but like others Product Option Values keep disappearing randomly. I have followed all the links and read all the posts that I can find on this subject.
Here is what I have tried so far:
I have implemented the home\index.php $vqmod->useCache = true; suggestion
I have changed the vqmod\vqmod.php code line to public $useCache = true;
I have changed the vqmod\vqmod.php code line from ((filemtime($writePath) + 3) to ((filemtime($writePath) + 10)
Still not confident that my install is not having Product Options disappear...
I would be very interested in trying out the "New Method Proposed" mentioned in this thread by Q,
Adding a Product Option Value one at a time, by clicking the "Add Option Value" Button
Does anyone have the code that they can post to redesign the Admin Product Page via Q's "New Method Proposed" vs. the "Current Way"? What code changes need to be made?
Thank you for your help.
Here is what I have tried so far:
I have implemented the home\index.php $vqmod->useCache = true; suggestion
I have changed the vqmod\vqmod.php code line to public $useCache = true;
I have changed the vqmod\vqmod.php code line from ((filemtime($writePath) + 3) to ((filemtime($writePath) + 10)
Still not confident that my install is not having Product Options disappear...
I would be very interested in trying out the "New Method Proposed" mentioned in this thread by Q,
Adding a Product Option Value one at a time, by clicking the "Add Option Value" Button
Does anyone have the code that they can post to redesign the Admin Product Page via Q's "New Method Proposed" vs. the "Current Way"? What code changes need to be made?
Thank you for your help.
Hi, I got this problem yesterday but I cannot follow your answers on how to do.
I dont think I have vQmod - this is something that you have to add to your Opencart, right? Otherwise, how do I know if I have that?
I have Opencart 1.5.2.1 and use Theme Global as theme. I have a very simple shop and havent done much to it besides the designs. I have only added 4 options myself that I use and now they just arent there. Is there someone that can help me?
Thank you
J
www.josignart.se
I dont think I have vQmod - this is something that you have to add to your Opencart, right? Otherwise, how do I know if I have that?
I have Opencart 1.5.2.1 and use Theme Global as theme. I have a very simple shop and havent done much to it besides the designs. I have only added 4 options myself that I use and now they just arent there. Is there someone that can help me?
Thank you
J
www.josignart.se
Who is online
Users browsing this forum: No registered users and 139 guests