Page 2 of 3
Re: Error in line 916
Posted: 08 Dec 2008, 19:54
by dantien
Did you do some changes ? Are your new added images larger ?
The only change i did was to rename the category. That should be irrelevant. no image is larger then 1,2 mb.
clife, are you using same webhost as me? webhostingbuzz ?
Re: Error in line 916
Posted: 09 Dec 2008, 13:38
by aobh
Hello,
As stated before in a message, I also have the problem. Here is what i tried:
1) Uploading via Administrator side webbased works perfect.
2) Created new directories via FTP in the Phozagallery directory
3) I uploaded alot of pictures via FTP
4) Tried to add them via Mutliple add. Then at the first picture I got the error message as mentioned in this thread
5) I tried it with large and small (1MB) files and I still got the same error.
6) I noticed that the ownership of the picture files was different then the ones which I uploaded via webside.
7) Changed owenership of the picture files to that of the other ones
8 ) Tried to multiple add again. No go.. same error
9) Then I noticed that extension of the pictures files was .jpg for webbased upload and .JPG for FTP upload. So i changed extention of a file to .jpg. No luck. Same error.
10) I tried to upload one of the files (which where uploaded via FTP) via webbased upload instead via FTP in an existing directory (made by Phoca). Then I used Multiple add and voila. The file was able to be processed and I got no error. However I tried it with another (bigger) file and again I got the problem.
11) I have FTP Layer from Joomla disabled.
So i think there are 2 issues. One is that the files cannot be to big. And two it has to do with the rights of the directories and files.
Can somebody from development maybe enlighen us what the process is of uploading a picture and what the requirements are to have it working ok?
Please help!
Greetings,
Michiel
Re: Error in line 916
Posted: 09 Dec 2008, 14:02
by caro84g
clife wrote:Is there a manual way to create your own thumbnails and resized photos locally and then upload it to the server via FTP?
Yup,
you can manually create the thumbs. You should rename them, like they've been created automatically and upload them to the thumbs folder in the folder of the original image.
You still have to add the images to a category (but disable thumbnails creation, because you created the thumbs yourself).
Regards, Carolien
Re: Error in line 916
Posted: 09 Dec 2008, 19:06
by clife
dantien: No, I'm using Surftown (
http://www.surftown.se)
caro84g: Thanks! I will try it out.
If it's any help, I'm also having the FTP-layer in Joomla disabled.
Re: Error in line 916
Posted: 12 Dec 2008, 12:41
by aobh
Well i found the solution for this problem. Hope it works with other people also. Please goto
/administrator/components/com_phocagallery/helpers and then edit phocagallery.php
Search for 50M in the file and replace it by 100M.
This worked for me! Please also try and let me know!
Greetings,
Michiel
Re: Error in line 916
Posted: 12 Dec 2008, 20:31
by Jan

but don't know what your server provider will say you

Re: Error in line 916
Posted: 16 Dec 2008, 19:58
by Jan
Hi, you cannot handle the fatal errors in PHP... if you have not enough memory, so you script will end with fatal error, then you cannot handle this error (because no memory for hadling it)... In Phoca Gallery there are error handlers for all possibles situations: e.g. no gd function, no gd enabled, ... but you cannot handle memory resp. fatal errors...
Jan
Re: Error in line 916
Posted: 20 Dec 2008, 09:40
by phocques
Seems this program is going from bad to worse! I too have been using it with all file sizes and pixel counts for the first few months and then all of a sudden I'm getting exactly the same error message, stating the same php line 916. Either a bug was entered into this newer version or something changed along the way, whatever it is, the developers certainly need to pull their fingers out and find a fix for this!
I for one will be looking around for another gallery that I can at least rely on -I've got total newbies trying to upload photos to our family site and it should be relatively simple - unfortunately it isn't.
Phocques

Re: Error in line 916
Posted: 21 Dec 2008, 20:20
by dantien
aobh wrote:Well i found the solution for this problem. Hope it works with other people also. Please goto
/administrator/components/com_phocagallery/helpers and then edit phocagallery.php
Search for 50M in the file and replace it by 100M.
This worked for me! Please also try and let me know!
Greetings,
Michiel
Thanks for the tip, but this did not help in my case. I am still helpless in this issue. What can i do ?
Re: Error in line 916
Posted: 21 Dec 2008, 23:37
by dantien
I realy like this component, and would hate to start over with another Extention.
I am happy that i am not the only one struggling with this.
JAN... If you need help to understand this bug, i will be happy to provide you with my admin details so you can have a look first hand.