Fatal error during upgrade to v4.0.2

Phoca Gallery - image gallery extension
keithyoung89
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 02 Sep 2012, 16:38

Fatal error during upgrade to v4.0.2

Post by keithyoung89 »

I have been getting a blank screen when upgrading. If I use the Joomla extension manager upgrade method, I get the blank screen before having the option to 'install or upgrade', and if I use the FTP method I get the screen with the 'install or upgrade' option but I then get the blank screen when I select 'upgrade'.

I switched on Error Reporting in the site configuration and retried the upgrade via FTP method and get:

Fatal error: Class 'JHtmlSidebar' not found in /var/www/vhosts/staffies.hostinguk.org/httpdocs/administrator/components/com_phocagallery/controller.php on line 46

I downloaded the controller.php file and looked at the code but line 46 only contains a '{' (open curly bracket).

Any advice would be welcomed. Thanks.
keithyoung89
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 02 Sep 2012, 16:38

Re: Fatal error during upgrade to v4.0.2

Post by keithyoung89 »

Just to add that I tried the upgrade on a local server and I get the same error as on the remote server. Any help out there please?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal error during upgrade to v4.0.2

Post by Jan »

Hi, which Joomla! version you are using? It is not a Joomla! 2.5 component (there you can get such error), it is a Joomla! 3 component.

Jan
If you find Phoca extensions useful, please support the project
keithyoung89
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 02 Sep 2012, 16:38

Re: Fatal error during upgrade to v4.0.2

Post by keithyoung89 »

That explains it but the JED entry shows it as Joomla 2.5 and 3.x compatible. Perhaps some clarification is needed.

Thanks for your advice.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal error during upgrade to v4.0.2

Post by Jan »

Hi, you can see the information on Phoca download page (which version is assigned to which Joomla! version)

On JED, there is only one item: Phoca Gallery component and such item includes all versions - for 1.5, for 2.5, for 3.x - so the one item is assigned for all supported version (1.5 was removed in JED as 1.5 is not more supported there) - of course it is not so easy with adding information about versions as there are more problems, like edit over 1000 items in short time which is not possible, etc :idea:

I hope, now it is Ok
If you find Phoca extensions useful, please support the project
keithyoung89
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 02 Sep 2012, 16:38

SOLVED Fatal error during upgrade to v4.0.2

Post by keithyoung89 »

Yes - I see what you mean. I would have understood if I'd looked more carefully on the download page. Thanks and sorry if I wasted your time. Regards.
Post Reply