iOS safari crash when doing multiple upload frontend.

Phoca Gallery plugins - plugins for Phoca Gallery extension
User avatar
doodlebug
Phoca Member
Phoca Member
Posts: 17
Joined: 15 Jul 2015, 14:08

iOS safari crash when doing multiple upload frontend.

Post by doodlebug »

When i am using the frontend multiple photo upload on my site (html5) from safari/firefox my iphone6s, i seem to encounter an intermittent problem. Sometimes i can upload 100+photos at a time with no issues, sometimes i can upload 30 images and halfway through the browser crashes saying 'the webpage encountered a problem and was reloaded' and the upload stops. Having done some research it appears it could be a javascript issue causing a memory spike? I have no idea where to check for this or what to look for.... Any ideas?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: iOS safari crash when doing multiple upload frontend.

Post by Jan »

Hi, try to look at your javascript console in browser if thers is some javascript error message?
https://www.phoca.cz/documents/16-jooml ... -conflicts
Jan
If you find Phoca extensions useful, please support the project
User avatar
doodlebug
Phoca Member
Phoca Member
Posts: 17
Joined: 15 Jul 2015, 14:08

Re: iOS safari crash when doing multiple upload frontend.

Post by doodlebug »

Thanks Jan. I have looked at the console in edge browser as per the instructions and it says:
SCRIPT1014: Invalid character
gallery-admin (636,146)

When I click on the gallery-admin (636,146) link, it goes to:
<select id="filter_catid_image" name="filter_catid_image" class="inputbox" size="1" onchange="document.getElementById('phocagalleryimageform').submit();">

I am lost!!!! :-S
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: iOS safari crash when doing multiple upload frontend.

Post by Jan »

Hmmm and is the invalid character only a warning or error? Really hard to say which characters is not valid?

Jan
If you find Phoca extensions useful, please support the project
User avatar
doodlebug
Phoca Member
Phoca Member
Posts: 17
Joined: 15 Jul 2015, 14:08

Re: iOS safari crash when doing multiple upload frontend.

Post by doodlebug »

It comes up with a red circle and white cross in the console. I cant post a screenshot unfortunately.

The site url is "https: // littlestarschildminder . co . uk" if it helps at all ??
christine
Phoca Hero
Phoca Hero
Posts: 2724
Joined: 28 Nov 2010, 17:20

Re: iOS safari crash when doing multiple upload frontend.

Post by christine »

Hi,

on several images I see a space in between.
Example: ......./images/phocagallery/admin-little-sta-b783/thumbs/phoca_thumb_l_conservatory%2.jpg

Kind regards, Christine
Post Reply