Page 1 of 1

Serious Errors After Upgrading. HELPPPPPPPPPP!!

Posted: 17 Sep 2009, 17:10
by soamz
Hi...
I had Phoca Gallery v2.5.6 installed and I have just upgraded it to v2.5.8 and now when I goto Images Tab in Phoca Gallery Backend, it shows a lot of errors..

Code: Select all

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/.kidnappers/bwongracing/brianwongracing.com/libraries/joomla/filesystem/folder.php on line 437

Warning: opendir(/home/.kidnappers/bwongracing/brianwongracing.com/images/phocagallery/Portland/thumbs) [function.opendir]: failed to open dir: Permission denied in /home/.kidnappers/bwongracing/brianwongracing.com/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/.kidnappers/bwongracing/brianwongracing.com/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/.kidnappers/bwongracing/brianwongracing.com/libraries/joomla/filesystem/folder.php on line 450

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.kidnappers/bwongracing/brianwongracing.com/libraries/joomla/filesystem/folder.php on line 437

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/.kidnappers/bwongracing/brianwongracing.com/libraries/joomla/filesystem/folder.php on line 437
:idea: :idea:

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Posted: 17 Sep 2009, 18:52
by soamz
Hi..
I dont know, how to solve this issue..
Its all so confusing.. :shock: :shock:

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Posted: 18 Sep 2009, 19:40
by soamz
I uploaded around 300 images via Multiple Add now and when the thumbnail creation goes, it stops after creating around 50-60 thumbnails and shows this error,

Code: Select all

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/.kidnappers/bwongracing/brianwongracing.com/images/phocagallery/RoadAmerica/img_3088.jpg' is not a valid JPEG file in /home/.kidnappers/bwongracing/brianwongracing.com/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 220

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /home/.kidnappers/bwongracing/brianwongracing.com/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 220

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/.kidnappers/bwongracing/brianwongracing.com/images/phocagallery/RoadAmerica/img_3088.jpg' is not a valid JPEG file in /home/.kidnappers/bwongracing/brianwongracing.com/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 220

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /home/.kidnappers/bwongracing/brianwongracing.com/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 220

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/.kidnappers/bwongracing/brianwongracing.com/images/phocagallery/RoadAmerica/img_3088.jpg' is not a valid JPEG file in /home/.kidnappers/bwongracing/brianwongracing.com/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 220
:x :x :x

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Posted: 23 Sep 2009, 18:42
by Jan
Hi, if you have problems with:

imagecreatefromjpeg() function, maybe this needs to be solved on the server.

Try to enable or disable the last parameter (JFile Thubmnail Creation) before creating images but I think, this will not help :-(

Jan

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Posted: 23 Sep 2009, 19:14
by soamz
Hi Jan,

I think, this is a common problem for ppl who are going to use Phoca gallery in their big sites. Like my client wants to upload 500 images at once and they upload around 3000 images a day. :P

So, you should think for a solution to this. Bcz, many ppl will be using Phocagallery in their big sites and I dont remember any situation,when I havent recommended PHOCA GALLERY to anyone at Joomla Official Form. :twisted:

So, try to solve this.

For now, I have solved this issue with my own way, but there should be a permanent fix to this.

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Posted: 28 Sep 2009, 18:32
by soamz
I managed to fix it this way,
http://www.joomlahackers.net/joomla-tut ... llery.html


P.S : This is a temporary fix. :D :D

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Posted: 01 Oct 2009, 22:50
by Jan
Hi, if you have problem with creating a lot of pictures, just enable:

Pagination Thumbnail Creation

https://www.phoca.cz/documents/2-phoca-g ... -menu-item

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Posted: 02 Oct 2009, 15:46
by frob
soamz wrote:Hi Jan,

I think, this is a common problem for ppl who are going to use Phoca gallery in their big sites. Like my client wants to upload 500 images at once and they upload around 3000 images a day. :P

So, you should think for a solution to this. Bcz, many ppl will be using Phocagallery in their big sites and I dont remember any situation,when I havent recommended PHOCA GALLERY to anyone at Joomla Official Form. :twisted:

So, try to solve this.

For now, I have solved this issue with my own way, but there should be a permanent fix to this.
hi,
what component do you recommend to manage a lot of pictures ?
i want to show more than 15.000 pictures and now, with 7500 i have a lot of probems ...

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Posted: 05 Oct 2009, 16:47
by Jan
Hi,
what component do you recommend to manage a lot of pictures ?
i want to show more than 15.000 pictures and now, with 7500 i have a lot of probems
where get you problems. As Phoca Gallery uses the pagination, only images and information about loaded images are loaded. E.g. only 20.

The problem can be e.g. by using a lot of categories (e.g. 1000). If you have some tree of categories, you need to load all of them to build the tree, so this is a common problem of categories everywhere

Administration: If you will enable pagination thumbnail creating, only e.g. 20 images will be displayed and created. As I wrote many times. Only one image is worked per script. Only 3 thumbnails are made per script, so there should not be any problem to work 3 thumbnails per one script and display e.g. 20 images per script.

Jan