Serious Errors After Upgrading. HELPPPPPPPPPP!!

Phoca Gallery - image gallery extension
soamz
Phoca Member
Phoca Member
Posts: 24
Joined: 21 Jun 2009, 07:39
Location: India
Contact:

Serious Errors After Upgrading. HELPPPPPPPPPP!!

Post 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:
soamz
Phoca Member
Phoca Member
Posts: 24
Joined: 21 Jun 2009, 07:39
Location: India
Contact:

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Post by soamz »

Hi..
I dont know, how to solve this issue..
Its all so confusing.. :shock: :shock:
soamz
Phoca Member
Phoca Member
Posts: 24
Joined: 21 Jun 2009, 07:39
Location: India
Contact:

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Post 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
If you find Phoca extensions useful, please support the project
soamz
Phoca Member
Phoca Member
Posts: 24
Joined: 21 Jun 2009, 07:39
Location: India
Contact:

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Post 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
If you find Phoca extensions useful, please support the project
frob
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 16 Sep 2009, 21:37

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Post 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 ...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Serious Errors After Upgrading. HELPPPPPPPPPP!!

Post 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
If you find Phoca extensions useful, please support the project
Post Reply