Multiple add problem

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Multiple add problem

Post by Jan »

If you find Phoca extensions useful, please support the project
Jonas-appsource
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 19 Oct 2011, 16:45

Re: Multiple add problem

Post by Jonas-appsource »

I had the same problem and debugged it to an unexpected php response in line 55 of add-images.

Contents of Response.response

Code: Select all

<b>Warning</b>:  exif_read_data(selectevent.png) [<a href='function.exif-read-data'>function.exif-read-data</a>]: File not supported in <b>/home/jsra2011/public_html/jsra/administrator/components/com_phocagallery/libraries/phocagallery/geo/geo.php</b> on line <b>51</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/jsra2011/public_html/jsra/administrator/components/com_phocagallery/libraries/phocagallery/geo/geo.php</b> on line <b>59</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/jsra2011/public_html/jsra/administrator/components/com_phocagallery/libraries/phocagallery/geo/geo.php</b> on line <b>60</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/jsra2011/public_html/jsra/administrator/components/com_phocagallery/libraries/phocagallery/geo/geo.php</b> on line <b>61</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/jsra2011/public_html/jsra/administrator/components/com_phocagallery/libraries/phocagallery/geo/geo.php</b> on line <b>62</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/jsra2011/public_html/jsra/administrator/components/com_phocagallery/libraries/phocagallery/geo/geo.php</b> on line <b>63</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/jsra2011/public_html/jsra/administrator/components/com_phocagallery/libraries/phocagallery/geo/geo.php</b> on line <b>64</b><br />
{"jsonrpc":"2.0","result":"OK","cod
I solved this issue by simply turning off 'display errors' in my php.ini. Obviously this is not the optimal solution but for the time being it seems to work.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Multiple add problem

Post by Jan »

Hi, in newest RC version this is solved, PNGs are not taken to get EXIF code.

Jan
If you find Phoca extensions useful, please support the project
Post Reply