Page 2 of 2

Re: Phoca Download Plugin causes fatal error for Virtuemart

Posted: 16 Feb 2015, 10:10
by MarioP
Below is the answer I've got on the Joomla forum:
it looks like one of the plugins is importing the JPaginationObject class.

if the others are "Joomla core, Virtuemart, and the Phoca Download Plugin (content plugin)." like you say, the error reason must be the Phoca download plugin.

report to the developer and wait
I'm very confused now... :( Furthermore removing the JpaginationObject doesn't resolve the issue ( as I originally thought ) - the frontend is ok, but the backend of VM is completely broken without that class...Do you have any idea? :x

Re: Phoca Download Plugin causes fatal error for Virtuemart

Posted: 21 Feb 2015, 01:29
by Jan
Hi, I think, the previous posts I have added and you have added say it clearly:

1) Phoca Download is a plugin and plugins do not have any pagination
2) You have found the class in Virtuemart code: viewtopic.php?f=33&t=28227#p103803

I really cannot imagine such nonsense, that Phoca Download plugin which do not have any pagination will call "foreign" extension to load pagination which it does not need?

So really no idea? Why some plugin will try to load pagination from other extension, when it:

a) does not need any pagination (and it cannot use it as it is inside content - it is inside Joomla! core content component)
b) it cannot know that such other extension is even installed on the system

:idea: :idea: :idea:

If the VM is completely broken in admin means, it needs it (so maybe some core hack needs to be done, that it will be loaded only in administration not in frontend)

So I really don't have any idea, as the additional pagination is added by other extension, by extension which I didn't do and I don't know how it works and why it was made. It is really hard to somehow give advice for code which I didn't made and have no clue why it was so made and why it has such problems :-( :-(

"report to the developer and wait" - I really don't know what to say, I can only sincerely say you don't need to wait, I don't know the code which makes the problem, I didn't code it and of course I really get no clue advice how to solve it as I see this problem first time like you and unfortunately, when the additional pagination is set in some foreign extension, I cannot test it, I cannot change it, I cannot do with foreign code anything :-( :-( :-(

Jan

Jan