News:

Support the VirtueMart project and become a member

Main Menu

Currency will not load - Page Error in Admin

Started by media991, February 20, 2012, 01:48:11 AM

Previous topic - Next topic

media991

Hi there,

We are using viruemart 2.0.0 with Joomla 2.5.1 and when we click on a currency in Virtuemart we get a page load error:

Fatal error: Call to a member function getListFooter() on a non-object in /home/xxxxx/public_html/administrator/components/com_virtuemart/views/currency/tmpl/default.php on line 119

Is there are fix on how to access the particular currencies in VM 2.0?

Thanks in advance.

Another Error.
** we have just noticed that we cannot access the manufacturers area as well. The page loads back to xxx/administrator/index.php and then text menus appear and error:

Fatal error: Call to a member function getListFooter() on a non-object in /home/xxxx/public_html/administrator/components/com_virtuemart/views/manufacturercategories/tmpl/default.php on line 84

marub

#1
Hi there,

I've got the same problem with J1.5.25 and VM2.01
after update to 2.01 i get this error if i go to Configuration

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /var/www/vhosts/XXXXXXXX/httpdocs/administrator/components/com_virtuemart/models/user.php on line 129

the same on goto Shop




rollinman

Hi! and I've got same problem

my english is bad

How repair this bug?

Thanks..

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/di-rose/di-rose.ru/docs/administrator/components/com_virtuemart/models/user.php on line 129

rollinman

it works!!

                 /home/di-rose/di-rose.ru/docs/administrator/components/com_virtuemart/models/user.php on line 129
             
      $userId = $vendorModel::getUserIdByVendorId($vendorId);
                 
                change "::" to "->"
      $userId = $vendorModel->getUserIdByVendorId($vendorId);

Milbo

This is strange, that this makes a difference. Please tell me your php version.

Normally the :: is a static call and most time faster.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/


Milbo

That explains a lot. VM2 is officially only working for php5.3

But you just may try this $userId = VirtueMartModelVendor::getUserIdByVendorId($vendorId);  for the line 129
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/


Zoralina

#8
thank you, I had the same problem with a php 5.2.17 version.
After Installation I could not see VM in frontend, but the error
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /.../administrator/components/com_virtuemart/models/user.php on line 129

I tried $userId = VirtueMartModelVendor::getUserIdByVendorId($vendorId);
It looks like it works now.
But will there be more problems with the old version in other parts of VM?

thanks