Page 3 of 4
Re: Error after upgrade from 1.8.8 to 2.0.0 beta
Posted: 09 Oct 2008, 19:46
by poi
zar wrote:Hi Poi,
if I deactivate the virtuemart-feature in phoca - everything works fine.
Agghhhhhhhhh.....
In legancy mode itz running!!!!! Whatz happend now ?
Re: Error after upgrade from 1.8.8 to 2.0.0 beta
Posted: 09 Oct 2008, 21:51
by zar
[quote] In legancy mode itz running!!!!! Whatz happend now ? [/quote]
Interesting. What have I to do to go in legacy mode?
Re: Error after upgrade from 1.8.8 to 2.0.0 beta
Posted: 10 Oct 2008, 23:50
by Randal
Turn ON "Legacy plugin" in PLUGINS!
Re: Error after upgrade from 1.8.8 to 2.0.0 beta
Posted: 13 Oct 2008, 12:58
by sjnims
I get this error message with 2.0.1 but not with 2.0.0. I do not have VM installed at all, so this is what stumped me for a long while. I wanted to use phoca bc after repeated attempts to use RSgallery, I have decided it blows ass chunks and am leaving it for good. If there are no real reasons to upgrade to 2.0.1 then I will be sticking with 2.0.0.
Re: Error after upgrade from 1.8.8 to 2.0.0 beta
Posted: 13 Oct 2008, 16:05
by sjnims
[Update] - I have 2 categories, each with just 1 picture, one set to be viewable by registered users only, the other is public. When I am logged out, I can see the public category and the picture in it. When I log in and try to view the categories, the error is displayed.
Re: Error after upgrade from 1.8.8 to 2.0.0 beta
Posted: 14 Oct 2008, 13:17
by zar
You get the same Error massage
[quote] Fatal error: Call to a member function load() on a non-object in /is/htdocs/.../libraries/joomla/user/user.php on line 598 [/quote]
and you haven't install the virtuemart-shop??
I think only Jan can check this.
LG Zar
Re: Error after upgrade from 1.8.8 to 2.0.0 beta
Posted: 14 Oct 2008, 17:11
by Jan
Yes, this error is called from VM module ...
sjnims
please create new topic and let me know what error do you get if you are logged in ?
Jan
Re: Error after upgrade from 1.8.8 to 2.0.0 beta
Posted: 15 Oct 2008, 19:45
by gergoe
It wasn't working for me neither, took the effort to track it down:
load() is indeed called from VM, but that's pretty normal, the problem happens when this call is made when the phoca module appears anywhere on the same screen/page (regardless of the integration setting) when this call is made.
Phoca modifies the search path returned by JTable::addIncludePath(), the Phoca path is placed in the first position (before Joomla!), and when the JTable::getInstance() searches the user.php file (which defines the JTableUser class), it founds the \administrator\components\com_phocagallery\tables\user.php file instead, and loads that file, but that file holds no information about the JTableUser class, so when the JUser->getTable() calls load(), it fails, the method is not defined.
As a workaround, I've simply threw
Code: Select all
require_once('libraries/joomla/database/table/user.php');
on top of the \administrator\components\com_phocagallery\tables\user.php file, so whenever the Joomla framework picks the wrong file, the right one will be available too.
I'm really not familiar with the new Joomla architecture, so there are certainly better way(s) to solve this, but that I'll leave that for someone else, let this post serve as a starting point.
Re: Error after upgrade from 1.8.8 to 2.0.0 beta
Posted: 16 Oct 2008, 20:49
by Jan
Hi, thank you for this useful information, I have changed some code to remove the conflict between Phoca Gallery and VirtueMart... Please download Phoca Gallery version 2.0.2, upgrade and test it, it should be fixed now...
Please let me know.
Thank you, Jan
https://www.phoca.cz/documentation/index ... -component
After upgrading to 2.0.2 you should delete these files (e.g. via FTP):
administrator\components\com_phocagallery\tables\user.php
administrator\components\com_phocagallery\tables\category.php
Re: Error after upgrade from 1.8.8 to 2.0.0 beta
Posted: 16 Oct 2008, 21:31
by gergoe
Works well, good work!