Skip to main content

No screen refresh on save in Windows 7

More
11 years 1 month ago - 11 years 1 month ago #211212 by rodfarrell
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5.23
-- Browser(s) name and version -- : Chrome 44.0.2403.130

When editing variants in Chrome on Windows 7 after save, the screen doesn't refresh properly and the list of variants is not displayed. It is necessary to hit f5 then return to the variants tab before you can see the variants again. This only seems to happen in Windows 7.
In Firefox the list of variants displays after saving a change but the changes are not displayed. Again you need to hit f5 in order to refresh the screen. Again, only appears to happen on Windows 7.

Edit: This also seems to be a problem on Windows 8
Last edit: 11 years 1 month ago by rodfarrell.

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #211224 by nicolas
Hi,

I use Google Chrome myself on my computer which is on Windows 7 ( will upgrade to 10 soon :) ), and I can't reproduce the issue you're describing with the latest version of HikaShop.
Can you try to download again the install package of HikaShop on our website and install it on yours ? Does that help ?
If not, do you get any javascript error in your browser console (F12 key) on the page when doing the same procedure ? What exact errors do you get in that case ?

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #211333 by rodfarrell
When in developer mode with caching off it works fine. It is when the developer panel is closed for normal use changes cannot be saved to variants and new variants can only be seen after using the f5 key to refresh

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #211366 by Jerome
Hi,

Thanks for the information.
Please edit the file "administrator/components/com_hikashop/controllers/product.php" and replace
Code:
public function variants() {
By
Code:
public function variants() { hikashop_nocache();
It should fix the cache issue that you have with your browser & web server.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago - 11 years 1 month ago #211493 by rodfarrell
Thanks Jerome but unfortunately this hasn't fixed the problem. I now realise that the original issue reported was when a new variant was added but in addition we can't edit variants at all once they have been created. FYI, I have made the changes on two sites on two different servers. Both are still unable to edit variants so its getting critical now.
Last edit: 11 years 1 month ago by rodfarrell.

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #211517 by Jerome
Hi,

Can you reproduce the issue in our demo website ?

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #211576 by rodfarrell
The problem described above is not happening but I just noticed that the descriptions field in variants no longer works (this is on all browsers and all operating systems including the demo site)

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #211594 by Jerome
Hi,

Which Joomla editor are you using ?
We added some javascript in order to handle specific situations with some Joomla editors, like TinyMCE : If you have an issue with one of them, you should see some information in your browser javascript (error) console.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #211641 by rodfarrell
We use JCE editor. Firebug shows no errors.

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #211716 by Jerome
Hi,

Here a patch to force the editors to synchronize the content when you submit the full page.
Because I don't have enough information to understand your issue or what you're doing ; because I am not able to reproduce what I understood.. It's the best I can do.

Please edit the view "backend / product / form" and replace
Code:
<form action="<?php echo hikashop_completeLink('product');?>" method="post" name="adminForm" id="adminForm" enctype="multipart/form-data">
By
Code:
<form action="<?php echo hikashop_completeLink('product');?>" method="post" onsubmit="window.productMgr.prepare();" name="adminForm" id="adminForm" enctype="multipart/form-data">

Then
Code:
<?php echo $this->editor->display(); ?>
By
Code:
<?php echo $this->editor->display(); ?> <script type="text/javascript"> window.productMgr.saveProductEditor = function() { <?php echo $this->editor->jsCode(); ?> }; </script>

And finally
Code:
<?php echo JHTML::_('form.token'); ?> </form>
By
Code:
<?php echo JHTML::_('form.token'); ?> </form> <script type="text/javascript"> window.productMgr.prepare = function() { var w = window, o = w.Oby; if(w.productMgr.saveProductEditor) { try { w.productMgr.saveProductEditor(); } catch(err){} } if(window.productMgr.saveVariantEditor) { try { window.productMgr.saveVariantEditor(); } catch(err){} } o.fireAjax("syncWysiwygEditors", null); }; </script>

If your problem persist ; please provide a full and complete explanation on how reproduce it.
Because like I wrote in the beginning of my message, it's the best I can do, but I won't be able to do more.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
11 years 3 weeks ago #213912 by marmax
здравствуйте. у меня тоже не загружаются фотографии(
съехал настройки CSS.
не могу не загрузить не удалить ранее загруженные
есть вот такие ошибки:
index.php:341 Uncaught SyntaxError: missing ) after argument list
index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=10621&wf0d07675d6d128a827…:2

'webkitMovementX' is deprecated. Please use 'movementX' instead.
index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=10621&wf0d07675d6d128a827…:2

'webkitMovementY' is deprecated. Please use 'movementY' instead.



Помогите пожалуйста!Спасибо

Please Log in or Create an account to join the conversation.

More
11 years 3 weeks ago #213924 by marmax
Hello. I also have not downloaded the pictures(
moved CSS settings.
can't upload not delete previously uploaded
there is here such error:
index.php:341 Uncaught SyntaxError: missing ) after argument list
index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=10621&wf0d07675d6d128a827…:2

'webkitMovementX' is deprecated. Please use 'movementX' instead.
index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=10621&wf0d07675d6d128a827…:2

'webkitMovementY' is deprecated. Please use 'movementY' instead.

Please Log in or Create an account to join the conversation.

More
11 years 3 weeks ago #213941 by marmax
Hello. I also have not downloaded the pictures(
moved CSS settings.
can't upload not delete previously uploaded
there is here such error:
index.php:341 Uncaught SyntaxError: missing ) after argument list
index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=10621&wf0d07675d6d128a827…:2

'webkitMovementX' is deprecated. Please use 'movementX' instead.
index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=10621&wf0d07675d6d128a827…:2

'webkitMovementY' is deprecated. Please use 'movementY' instead.



Помогите пожалуйста!Спасибо.

Please Log in or Create an account to join the conversation.

More
11 years 3 weeks ago #213942 by nicolas
Hi,

I'm sorry, the support is just in English ; we do not understand Russian.
The fact that the upload inputs are visible is because you have a javascript error in your page
index.php:341 Uncaught SyntaxError: missing ) after argument list
It will be interesting to know the content of that line in order to understand more the issue (and to know if the issue is related to HikaShop or not).

Please Log in or Create an account to join the conversation.

Time to create page: 0.285 seconds
Powered by Kunena Forum