VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: rs3511 on June 28, 2016, 21:29:08 PM

Title: Control Panel Issue when Shop is Offline
Post by: rs3511 on June 28, 2016, 21:29:08 PM
Hello,
There seems to be a bug on the control panel screen with virtuemart 3.0.17 using joomla 3.5.1.  After marking "Shop is Offline", the links on the control panel seem to break.  If this is by design, then average (unskilled) administrators will not be able to navigate back to the Configuration page to unmark the Shop is Offline setting.  It seems that the word "administrator" is missing in URL calls so I was able to quickly identify and workaround the issue.

I was able to reproduce the issue with the Basic Admin template and default joomla Beez3 template. Please forgive me if this has already been posted but I was unable to find a topic on this.

Virtuemart: 3.0.17
Joomla: 3.5.1


Thanks,

RS
Title: Re: Control Panel Issue when Shop is Offline
Post by: jenkinhill on June 28, 2016, 23:09:08 PM
Are you using the VM3.0.17 from http://dev.virtuemart.net/projects/virtuemart/files or the latest 3.0.17.2 files from SVN

These are odd nuumbered versions so are dev/test versions for experienced VM users.
Title: Re: Control Panel Issue when Shop is Offline
Post by: rs3511 on June 29, 2016, 14:19:36 PM
Hi Jenkinhill,
Thanks again for the information you provide here.  I just read yesterday your post about the odd numbered versions being dev.  I was not aware of that.  I am using 3.0.17. I thought the odd numbered sequence was strange but my joomla updater prompted me to install it after I installed a clean version of 3.0.14.  All was done on a clean instance of j3.5.1.  I half way believe that the problem may be a template issue related to joomlashine poweradmin or jsn pagebuilder. Both extensions are installed but I am not using them.  I am using jsn template megazine.

A little more information I have discovered.  When I mark "shop is offline", navigate away from the configuration and then back to configuration, the top menu bar for the joomla admin screen changes.  When this weird menu bar is present, that is when the word Administrator is missing from URLs. So it's like Joomla is confused about whether or not I am on the frontend or backend. 

Im not sure how much time this should take, I suspect that everything will be fine in 3.0.18 so I can be patient.

Also want to give a shout-out to Milbo for all your hard work. 
Title: Re: Control Panel Issue when Shop is Offline
Post by: GJC Web Design on June 29, 2016, 14:54:49 PM
try disabling joomlashine poweradmin
Title: Re: Control Panel Issue when Shop is Offline
Post by: rs3511 on June 29, 2016, 15:35:28 PM
Hi GJC,
I have uninstalled poweradmin and disabled pagebuilder.  Issue still is happening.  It only seems to happen on the "Control Panel" tab (under tools) of virtuemart when "store is offline" is marked. 
Title: Re: Control Panel Issue when Shop is Offline
Post by: Milbo on June 29, 2016, 16:18:23 PM
Thank you rs3511, I was directly working on it yesterday and confirm the problem. I solved it by extending the if checking if the shop is offline.

The strange thing is, that it is done by the rssGet function, which is executed with ajax.