Page 1 of 1

After Joomla Upgrade 3.x Phoca Gallery not working

Posted: 11 Sep 2015, 10:41
by Metawing
Hello,
I've made a copy of my Joomla side as a test side and tried to upgrade it from 2.5.28 to 3.4.3.
Doing this I followed some tutorials and all was working very well. Now I got Joomla 3.4.3 running.
As I use Phoca maps, Downloads and gallery on my side I followed the guide "How to migrate extensions Joomla 2.5 to 3..."
This is what I have done yet:
I did some Export of all Phoca data & files (as described in the guide) from Joomla 2.5.28.
Then I deinstalled all Phoca extensions and related elements, plugins etc.
I made the Joomla upgrade to 3.4.3 and all other extensions, components like Akeeba Admin Tools, backup, whatever... Checked: Everything was running well.
Started to install Phoca maps, Downloads and gallery for Joomla 3.x - no problems while installing, no errors.
Then I reimported all Phoca data and files (as described in the guide) and here comes the trouble:

Only Phoca maps is working well and has all data as in the Joomla 2.5.x. Phoca downloads and gallery are not working. They show some errors when I set Joomla to MAX errors and both are not working (only errors with blank side)

For Phoca Gallery I can see the categories with thumnails but when I try to click on one I get:
Notice: Trying to get property of non-object in /httpdocs/administrator/components/com_phocagallery/libraries/phocagallery/path/route.php on line 22

In Line 22 of the related default.php it says: $activeId = $active->id;

For Phoca Download I get another error message. I have posted it in the Download-Forum...

As I have no idea of PHP I am totally lost. :cry:
So I really would appreciate any help to get my problem solved. :)

Re: After Joomla Upgrade 3.x Phoca Gallery not working

Posted: 13 Sep 2015, 23:32
by Jan
Hi, try to enable debug mode, if there is no database error? When debug mode is enabled, you should get some info about the error:
https://www.phoca.cz/documents/16-joomla ... ent-errors
Jan

Re: After Joomla Upgrade 3.x Phoca Gallery not working

Posted: 17 Sep 2015, 11:20
by Metawing
Thanks, Jan for your answering!

I enabled debug mode and get the following:

Profil (Profile)
Error
MySql have_profiling = off

Last thing comes out in red. So I think, this could be the error. I already googled it for a solution. But I could not find anything helpful for me...

Thanks in advance for helping me!

Re: After Joomla Upgrade 3.x Phoca Gallery not working

Posted: 18 Sep 2015, 09:05
by Metawing
I found a solution and just want to share it in case somebody has the same problem:
Using the Phoca Gallery Image Button (underneath the editor) to put in the code again worked fine for me! :)
Perhaps the old code written by Phoca Gallery Image Plugin 2.x (used in Joomla 2.x) did not work in Joomla 3.x. So I had to give it a refresh by the new Phoca 3.x Plugin...
Thanks for trying to help me to all of you...

Re: After Joomla Upgrade 3.x Phoca Gallery not working

Posted: 20 Sep 2015, 12:06
by Jan
Ok