sergejDrobot / vqmod

Automatically exported from code.google.com/p/vqmod
0 stars 0 forks source link

options problem #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. trying to modify product options
2. using product options

What is the expected output? What do you see instead?
Notice: Undefined index: option_value_id in 
/mnt/webd/d0/37/53011337/htdocs/admin/model/catalog/product.php on line 
169Notice: Undefined index: option_value_id 
in/mnt/webd/d0/37/53011337/htdocs/admin/model/catalog/product.php on line 
169Warning: Cannot modify header information - headers already sent by (output 
started at /mnt/webd/d0/37/53011337/htdocs/admin/index.php:83) in 
/mnt/webd/d0/37/53011337/htdocs/vqmod/vqcache/vq2-system_engine_controller.php 
on line 28Warning: Cannot modify header information - headers already sent by 
(output started at /mnt/webd/d0/37/53011337/htdocs/admin/index.php:83) in 
/mnt/webd/d0/37/53011337/htdocs/vqmod/vqcache/vq2-system_engine_controller.php 
on line 29

What version of the product are you using? On what operating system?
newest

Please provide any additional information below.

Original issue reported on code.google.com by 8bitco...@gmail.com on 9 Nov 2011 at 12:44

GoogleCodeExporter commented 8 years ago
Hi 8bitcomps

This is likely due to the "race" problem when loading options, and a solution 
is being created to resolve this for 2.1.5 - We attempted to fix this in 2.1.4 
using the flock solution, however it's only compatible with certain operating 
systems and file systems

Original comment by DJG6...@gmail.com on 9 Nov 2011 at 12:50

GoogleCodeExporter commented 8 years ago
Hi
So only thing i can do is wait for new version of vqmod?

Original comment by 8bitco...@gmail.com on 9 Nov 2011 at 1:09

GoogleCodeExporter commented 8 years ago
Pretty much. it should be released over the next couple of days

Original comment by DJG6...@gmail.com on 9 Nov 2011 at 1:12

GoogleCodeExporter commented 8 years ago
ok thanks

Original comment by 8bitco...@gmail.com on 9 Nov 2011 at 1:18

GoogleCodeExporter commented 8 years ago
One thing you can try which should at least reduce the issue is to enable 
caching (see the wiki page for how)

Original comment by DJG6...@gmail.com on 9 Nov 2011 at 1:19

GoogleCodeExporter commented 8 years ago

Original comment by DJG6...@gmail.com on 13 Nov 2011 at 3:19

GoogleCodeExporter commented 8 years ago
on vqmod2.1.5, oc1.5.3.1, win7pro, firefox8 i still get this error.
I open a product with options and instantly press save. 
If i wait 3-5 seconds and press save i don't get this error.
i think it's because AJAX didn't load options yet.
Maybe it's not a big a problem, cause while you make any changes these 5 
seconds will pass, but it is still there. And it still makes options disappear.
it'll be more logical if the save button will be unactive or not visible till 
ajax doesn't fetch all data.

Original comment by Anton.Iz...@gmail.com on 18 Nov 2011 at 2:24

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
If that is the case, then this isn't a vQmod issue. vQmod doesn't control the 
speed of the ajax requests or the admin of opencart as such. This issue was due 
to multiple file writes during caching. Your issue is unrelated

Original comment by DJG6...@gmail.com on 18 Nov 2011 at 2:42

GoogleCodeExporter commented 8 years ago
I have started seeing this on sites without vQmod but have a lot of options. It 
is down to slower servers and all the ajax callbacks. vQmod 2.1.5 cut down on 
the extra file writing that vQmod causes, but the problem can still exist on 
slower servers with lots of options. This is something that needs to be fixed 
at the cart level to cut down on the ajax callbacks. 

Ongoing Discussion here:
http://forum.opencart.com/viewtopic.php?f=161&t=45640

Original comment by qpho...@gmail.com on 18 Nov 2011 at 2:57