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
phoca gallery PHP7
- Jan
- Phoca Hero
- Posts: 47869
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: phoca gallery PHP7
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 17 Feb 2016, 12:37
Re: phoca gallery PHP7
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.
-
- Phoca Hero
- Posts: 2734
- Joined: 28 Nov 2010, 17:20
Re: phoca gallery PHP7
Hi,
do you have the latest PG versions?
Kind regards, Christine
do you have the latest PG versions?
Kind regards, Christine
- Jan
- Phoca Hero
- Posts: 47869
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: phoca gallery PHP7
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
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 15 Jun 2017, 17:16
Re: phoca gallery PHP7
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
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
- Jan
- Phoca Hero
- Posts: 47869
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: phoca gallery PHP7
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
https://www.phoca.cz/documents/50-phoca ... tic-method
Thank you, Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 47869
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: phoca gallery PHP7
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 15 Jun 2017, 17:16
Re: phoca gallery PHP7
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
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
- Jan
- Phoca Hero
- Posts: 47869
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: