Page 2 of 3
Re: Multiple add creates duplicates of everything
Posted: 17 Aug 2012, 23:58
by StellaElphick
Hi Jan,
Just to let you know that I transferred my website from localhost (XAMPP) to a web server and everything is working OK now. Empty categories no longer produce error and I am able to multi-add without duplicates

I had been using XAMPP v1.8.0 running PHP v5.4.4, my web server is running PHP v5.3.15.
Many thanks,
Stella
Re: Multiple add creates duplicates of everything
Posted: 25 Aug 2012, 15:31
by Jan
Ok, great to hear it.
Jan
Re: Multiple add creates duplicates of everything
Posted: 05 Oct 2012, 23:49
by mnxfiles
Hi Jan
Thought I'd comment again since I started this thread some while ago. I am afraid the error has appeared again unfortunately (thank god for backups). It seems like the error reappears with every Phoca gallery upgrade?
Joomla 2.5.7 and Phoca 3.2.2
The positive thing is that multiple add - multiple upload function (the "new" one) seems to work perfectly also when it comes to auto resize. Great thing since I have had a lot of problems with the java uploader. Unfortunately it now creates duplicates of every image in the folder.
E.G. I have a folder with images and want to add more images to that folder. 1. I upload the new images to the folder. 2. I choose the relevant category and mark ALL the images in the folder (since it would be to complicated to only locate and mark the new ones) and press save & close. 3. duplicates are made of all the existing images
I guess the solution would be to only mark and save the new images. This is however a bit irritating and time consuming if you can follow?
I hope you can find a solution until then it is the hard way.
Thanks for a great extension.
/Martin
Re: Multiple add creates duplicates of everything
Posted: 06 Oct 2012, 22:54
by Jan
Hi, testing now, without getting any such problem - if the filename is called the same name, it will be not more added to system.
Jan
Re: Multiple add creates duplicates of everything
Posted: 09 Oct 2012, 12:58
by E_online
I came accross the following error, and ended up here
StellaElphick wrote:
Warning: Creating default object from empty value in [...]\administrator\components\com_phocagallery\libraries\phocagallery\image\imagefront.php on line 433
This problem occures on PHP 5.4 because it gives a warning when creating empty objects. A simple solution would be to put
Code: Select all
line 432: $image = new StdClass();
Then the error disappears.
Re: Multiple add creates duplicates of everything
Posted: 10 Oct 2012, 23:24
by Jan
Hi, thank you for this info, I will add it to next release.
Jan
Re: Multiple add creates duplicates of everything
Posted: 30 Dec 2012, 19:22
by Jan
Hi, fixed in 3.2.3
Jan
Re: Multiple add creates duplicates of everything
Posted: 14 Aug 2015, 10:47
by Meta11icA
I know this is an old topic, but unfortunately I have the same problem with version 3.2.8 on J 2.5.28 running on PHP 5.4.24
I have no PHP error/warning related to Phoca Gallery.
Re: Multiple add creates duplicates of everything
Posted: 15 Aug 2015, 21:57
by Jan
Hi, which error you exactly get (which line, which file)?
Jan
Re: Multiple add creates duplicates of everything
Posted: 16 Aug 2015, 18:46
by Meta11icA
No error, just the issue with the duplicate images after selecting "select all" option inside the multiple add.
As I mentioned in my previous post, no PHP errors/warnings related, the only errors are related to strict standards.