VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: lysov on April 17, 2012, 08:55:07 AM

Title: VM 204-208 BE Fatal Error when editing Review & Rating
Post by: lysov on April 17, 2012, 08:55:07 AM
J!254, VM 206, PHP 5.3.10, Mysqli 5.5.21
The starting url looks like http://www.no-bugs.local/administrator/index.php?option=com_virtuemart&view=ratings
When I push the 'Edit' button I get Fatal error:
Call to a member function getResultsCounter() on a non-object in /.../administrator/components/com_virtuemart/views/ratings/tmpl/default.php on line 42
and the url looks like http://www.no-bugs.local/administrator/index.php

You can see my screen on the file attached

[attachment cleanup by admin]
Title: Re: VM 206 - BE Fatal Error when editing Review & Rating
Post by: Botanick on May 22, 2012, 01:16:47 AM
I have the same problem, do you found the answer??   :-\
Title: Re: VM 206 - BE Fatal Error when editing Review & Rating
Post by: lysov on June 30, 2012, 11:53:12 AM
No :(
Title: Re: VM 204 - 208 - BE Fatal Error when editing Review & Rating
Post by: lysov on July 06, 2012, 13:35:38 PM
I updated to 2.0.8c and following happens again:
Fatal error: Call to a member function getResultsCounter() on a non-object in /var/www/html/tests/victum/administrator/components/com_virtuemart/views/ratings/tmpl/default.php on line 42

Versions:
J!2.5.6
MySQL 5.5.24, the collation  utf8_general_ci
PHP 5.3.14
Apache 2.2.22, WebServer to PHP Interface apache2handler

Thanks in advance for your work and your support.
Title: Re: VM 204-208 BE Fatal Error when editing Review & Rating
Post by: BATISTUTA on September 17, 2012, 15:02:37 PM
I have exact same problem.

Anybody with a solution ?

Virtuemart Developer team, this is a clear bug..
Title: Re: VM 204-208 BE Fatal Error when editing Review & Rating
Post by: Milbo on September 17, 2012, 16:11:59 PM
in which version?
Title: Re: VM 204-208 BE Fatal Error when editing Review & Rating
Post by: nico_ara on October 15, 2012, 20:40:03 PM
Same problem here on VM 2.0.10 on Joomla 2.5, can't find whats going wrong, please help!
Title: Re: VM 204-208 BE Fatal Error when editing Review & Rating
Post by: lysov on October 16, 2012, 07:50:03 AM
Quote from: Milbo on September 17, 2012, 16:11:59 PM
in which version?
VM 204 - 212b, php 5.3.16, MySQL 5.5.27, J! 2.5.7
Title: Re: VM 204-208 BE Fatal Error when editing Review & Rating
Post by: PT Lyon on April 02, 2013, 00:16:43 AM
Same problem here.

VM 2.0.18a and 2.0.20b (I updated it, still not working), Joomla 2.5.8.
PHP 5.3.17
Database 5.1.68-cll

Everything works great, the website is almost done, but now I need to post some reviews and I can't :S


Fatal error: Call to a member function getResultsCounter() on a non-object in /home/mysite/public_html/newsite/administrator/components/com_virtuemart/views/ratings/tmpl/default.php on line 42

This happens when trying to edit a product review. I can publish unpublish, and delete them.
Also, user reviews do not show on the website, even after approved (published). Which probably means that reviews are not working at all.

Any ideas?
Title: Re: VM 204-208 BE Fatal Error when editing Review & Rating
Post by: zomby688 on May 22, 2013, 12:48:22 PM
mysql 5.5, php 5.3.25, vm 2.0.20, j! 2.5.11

Same problem, but even worse!  When i try to edit or add product, i get the page with unreadable text and the message: "Fatal error: Call to a member function getResultsCounter() on a non-object in ...administrator\components\com_virtuemart\views\product\tmpl\default.php on line 62" at the end of page. i successfully added only one product to my vm shop and can't add anymore..  any suggestions?