May 10, 2015 at 4:13 pm #12621
Hi, I’m switching all my client galleries to photo seller. I’ve tried adding a new gallery by importing already uploaded images from the media library.
I can see the images in the media library, check to select, then click on the ‘insert into gallery’ button. I’m then taken back to the gallery page, where I’m advised to ‘save’. I do this, the page refreshes….and none of the images are saved in the gallery.
Please tell me that I don’t need to re-upload 60K images!
Thanks.May 10, 2015 at 11:46 pm #69969
Please enable debug for the photo seller by going to the “Settings” page and scroll down to the bottom and set Logging to “enabled”.
Then try creating new gallery again and selecting photos and saving the gallery and then check the log file in the photoseller plugins directory.
Also check your server logs and let us know if there are any logs related to this.May 11, 2015 at 6:49 am #69970
Thanks Peter. I get the following error in the log:
[Mon May 11 07:44:51 2015] [error] [client 220.127.116.11] PHP Warning: copy(/var/www/vhosts/jonathon.co/httpdocs/wp-content/uploads/wp_photo_seller/18/652omsbopf/edinburgh-family-photography-ryles-1068.jpg): failed to open stream: No such file or directory in /var/www/vhosts/jonathon.co/httpdocs/wp-content/plugins/wp-photo-seller/models/WPSGalleryItem.php on line 295, referer: [http://www.jonathon.co/wp-admin/admin.php?page=WPS-gallery&task=manage&id=18]May 12, 2015 at 12:06 am #69971
Where are the original photos you are trying to include into the gallery originating from? Are they from the standard wordpress media uploads directory? They need to be accessible because the plugin will need to copy them over to the special wp_photo_seller directories.May 12, 2015 at 8:02 am #69972
Example image for the gallery I was trying ot create:
So yes, they are in the standard wordpress media uploads directory.
After selecting the images to go into the gallery, I get the following message on the ‘gallery setings / upload images’ tab:
Number of Images Selected: 69 images were selected. You must click the “Save Gallery” button for these to be added to the gallery.
I then click on ‘save gallery’, the screen refreshes, then……nothing. None of the images are imported into the gallery.May 13, 2015 at 12:19 am #69973
We will need to take a closer look at your site.
I will send you and email to get login details.May 15, 2015 at 9:54 pm #69974
Also realised it doesn’t import images when uploaded using the media library uploader.
So neither previously uploaded or newly uploaded images are importing into the gallery.May 16, 2015 at 12:05 am #69975
Managed to upload fresh images to a new gallery, saved and the gallery loads just fine. Tried to import existing files from the media library, but not working, won’t keep the import when I click on ‘save’.May 17, 2015 at 11:24 pm #69976
As per my email, my investigations showed no apparent issues.
If you see an issue again and you are able to give me the exact steps to reproduce it let me know and I will look into it again.May 18, 2015 at 1:16 pm #69977
I emailed you back again, tried t create 3 different galleries using the import from media library option. None of the images would save into the gallery.
I’ve been very specific about the process I followed. I’ve also supplied you the error log info, but you’ve not advised what the error means.
I appreciate you managed to create a gallery using 65 images, as did I after you succeeded. Shortly after this I tried to import over 600 images….and the fault occurs again.
Please look further, I really don’t want/expect to have to reupload over 60K images just to workaround this issue. Many of the images already uploaded have been indexed by Google, I don’t want to have to duplicate images by re uploading.
Please help to fix this, I’ve provided everything you asked me to. Thanks.May 18, 2015 at 11:29 pm #69978
Shortly after this I tried to import over 600 images
When you say “import” do mean selecting existing images in the wordpress system? Also, there is a huge difference between 65 and 600.
Sometimes depending on your server memory and processing power it will have limits on how much it can process and hence you may have gone over that threshold by choosing too many images for processing at the same time.
Did you also try a smaller number (eg, approx 65) and did it work for you? What happens when you try 100, or 200? Do these work?
Many of the images already uploaded have been indexed by Google, I don’t want to have to duplicate images by re uploading.
If you want those existing images (which are not currently part of the photo seller) to be part of the photo seller galleries, they will be duplicated irrespective of whether you import them externally or use the existing non-photo seller images.
Also, the indexed links will be different anyway because the photo seller generates SEO friendly links when it renders the gallery pages and these new links will obviously be different to the already indexed google links before the images were part of this plugin’s gallery.May 19, 2015 at 9:25 am #69979
Hi Peter, yes I do mean importing existing images in the wordpress media library, I’ve been very clear about this, it’s the same process you used to create the smaller gallery with 65 images.
I understand what you say about server resources, however that isn’t the issue here – I use a dedicated VPS with more than enough processing power and memory. I also restarted the server just in case and the same thing happened.
Additonally, and you still don’t answer my question about this, the error log message does not refer to this being any kind of server problem.
Are you saying your plugin cannot handle large inputs of data? It can handle uploading hundreds of images from my local drive, the issue is handling hundreds of images.
I seem to be getting nowhere here, and instead of going backward and forward, please either resolve the matter and advise what the error log means (after all, you did advise me to activate debugging and check the error log, but you’ve not used that information to explain the cause), or I would like a refund and I’ll switch to an alternative method.
It’s easy to blame the server, but in this instance I’m inclined to think there’s a problem with the plugin and that you don’t understand how to resolve this.
Regarding the issue of SEO and uploading images, I understand what you say, but the fact is the plugin should be able to handle an import from the server, using images already uploaded to the server. Why should I have to work around this by re-uploading 60,000 images? That’s a botch, not a resolution.
- You must be logged in to reply to this topic.