VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: mummaduck on August 29, 2013, 09:17:36 AM

Title: Edit link brings up blank screen
Post by: mummaduck on August 29, 2013, 09:17:36 AM
Hi,

I have read through everywhere and I'm beginning to go around in circles..

We have
PHP Version    5.3.27
Joomla! Version    Joomla! 2.5.14
virtuemart version 2.0.22b

Product has been loaded via back end, but needs to be edited via front end using vendor account.

Upon clicking the edit icon in front end, vendor gets a blank screen.
I turned on error reporting and it comes up with:
Fatal error: Using $this when not in object context in /home/marketda/public_html/online/administrator/components/com_virtuemart/helpers/vmview.php on line 366

Line 366  in mentioned file is:
if ($this->canDo->get('core.admin') || $this->canDo->get('vm.'.$view.'.edit')) {

Can anyone shed some light on what I need to do to this line please?
I've been staring at it for too long now!
Thanks
Title: Re: Edit link brings up blank screen
Post by: skotman on August 29, 2013, 21:06:37 PM
So this makes 3 of us with the issue. I've got a thread going over here:
http://forum.virtuemart.net/index.php?topic=118265.0
Title: Re: Edit link brings up blank screen
Post by: alatak on September 02, 2013, 09:41:10 AM
Hello


http://forum.virtuemart.net/index.php?topic=118265.msg401258#msg401258