Page 1 of 1

phoca gallery PHP7

Posted: 06 May 2016, 13:37
by gayonline
hi,
we upgraded yesterday joomla 3.5 and changed to PHP7. but phoca gallery doens´t support this systems. is there a update for phoca? we need all latest updates or upgrades for our support.

[06-May-2016 12:06:48 Europe/Berlin] PHP Warning: Division by zero in *****/*********/*****/*******/gayonline/components/com_phocagallery/views/categories/view.html.php on line 370
[06-May-2016 12:06:48 Europe/Berlin] PHP Warning: Division by zero in *****/*********/*****/*******/gayonline/components/com_phocagallery/views/categories/view.html.php on line 381
[06-May-2016 12:08:16 Europe/Berlin] PHP Warning: Division by zero in *****/*********/*****/*******/gayonline/components/com_phocagallery/views/categories/view.html.php on line 370
[06-May-2016 12:08:16 Europe/Berlin] PHP Warning: Division by zero in *****/*********/*****/*******/gayonline/components/com_phocagallery/views/categories/view.html.php on line 381

please give us a result.

Regards

Re: phoca gallery PHP7

Posted: 08 May 2016, 17:45
by Jan
Hi, Phoca Gallery works normally on PHP7. These errors are not dependent on php version - Try to check Options in your Phoca Gallery, if there is set number for categories column (in categories view).

Jan

Re: phoca gallery PHP7

Posted: 05 May 2017, 12:14
by Penguin
Sorry to reply on this old topic, but I just changed to joomla 3.7 and php 7.1, and whenever I enable or use a phoca module or plugin, I get a blanc page.

Re: phoca gallery PHP7

Posted: 05 May 2017, 13:08
by christine
Hi,

do you have the latest PG versions?

Kind regards, Christine

Re: phoca gallery PHP7

Posted: 07 May 2017, 22:33
by Jan
Blank page mostly mean a php error, do you get any php error in your errorLog?

https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan

Re: phoca gallery PHP7

Posted: 15 Jun 2017, 17:22
by Sergio12
Hi,

I'm new on this page. I'm working with Joomla 3.7 and PHP 7. On the site, when looking at photos, I always get tis message above each individual photo (not on the folder) :

Warning: Illegal string offset 'w' in /home/httpd/vhosts/autempsquipasse.ch/httpdocs/administrator/components/com_phocagallery/libraries/phocagallery/image/image.php on line 52 Warning: Illegal string offset 'h' in /home/httpd/vhosts/autempsquipasse.ch/httpdocs/administrator/components/com_phocagallery/libraries/phocagallery/image/image.php on line 53

I was told it's due to incompatibility between Phoca Gallery and PHP 7.

Can you help me ?


Best regards, Serge

Re: phoca gallery PHP7

Posted: 17 Jun 2017, 22:36
by Jan
Hi, thank you for the info, I am now working on next version which should be compatible with PHP 7.1 so I will change it there. For now, if you run Phoca Gallery on production site, just disable the development warnings.
https://www.phoca.cz/documents/50-phoca ... tic-method
Thank you, Jan

Re: phoca gallery PHP7

Posted: 27 Jun 2017, 08:57
by Jan

Re: phoca gallery PHP7

Posted: 30 Jun 2017, 15:18
by Sergio12
Hi,

Thank you ! I tried first the method on the server, but I could not use exactly what you propose. So I went to the configuration directly in Joomla administrator and turned the error report on "none" and it works perfectly.

Have a nice day !

Serge

Re: phoca gallery PHP7

Posted: 03 Jul 2017, 14:52
by Jan
Ok