Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Failure when using the bulk import feature
- This topic has 18 replies, 4 voices, and was last updated 6 years, 7 months ago by ConchyJoe.
-
AuthorPosts
-
March 17, 2018 at 11:28 am #14774ConchyJoeMember
I am working through the most efficient way to import a daily load of 300-400 pictures. Maybe this is the most optimum product to use, but it has a lot of features that make it easy for the customer to buy photos.
I tried using the media import function, but that does not seem to complete properly, and some pictures do not import properly. I also tried a plugin that allows me to ftp the jpegs(around 1MB each) into a folder, and then add them to the media library. It works K, but dies if I try to import more than 25 pictures at a time, making the process slow and tedious.
It seems that using your technique of ftp the zip file to the bulk import folder is most efficient. When I used this process, I got a failure after import 8 pictures with a check server log message. I am on Godaddy and not sure where the server log is. Here is the status message: [http://www.oneparticularboat.com/BulkImportFailure.jpg] and my site info: [http://www.oneparticularboat.com/SiteInfo.jpg]
Thanks in advance for any feedback.
March 17, 2018 at 11:48 am #77529ConchyJoeMemberFYI I determined the error logs were not turned on so I don;t have that. I turned it on but will await your reply before attempting the process again.
March 17, 2018 at 1:04 pm #77530wzpModeratorWe’d prefer that you first do a test, and provide the log file for examination.
March 17, 2018 at 9:16 pm #77531ConchyJoeMemberOK
March 28, 2018 at 5:39 pm #77532ConchyJoeMemberGood day,
Godaddy recommended I move to a newer platform. The one I was on was from 2009. I have accomplished that, and deactivated the old host, but cannot activate the new host.
License key is invalid!
Reached Maximum Allowable Domains!
Do I need to wait a short while or something?
March 28, 2018 at 7:09 pm #77533wzpModeratorMarch 28, 2018 at 11:54 pm #77534ConchyJoeMemberI did deactivate it! Oh well, I got nowhere to go and all day to get there! Thanks for the feedback. Once I get past this I will get back on the bulk import challenge.
March 29, 2018 at 7:15 am #77535adminKeymasterI have reset your key.
March 29, 2018 at 12:20 pm #77536ConchyJoeMemberOK I have it activated and am moving forward. Now I get “Please install the ziparchive extension on this server!” This is what I have installed:
Module Name Version Actions
Archive_Tar 1.4.3
Archive_Zip 0.1.2
Auth_SASL 1.1.0
Cache_Lite 1.8.2
Console_Getopt 1.4.1
File_Archive 1.5.5
MIME_Type 1.4.1
Mail 1.4.1
Mail_Mime 1.10.2
Net_SMTP 1.8.0
Net_Socket 1.2.2
PEAR 1.10.5
Structures_Graph 1.1.1
System_Command 1.0.8
XML_Util 1.4.2
March 29, 2018 at 12:32 pm #77537ConchyJoeMemberOK I found it. Under select PHP version you have to check the box for zip to make it work. Onward!
March 29, 2018 at 12:34 pm #77538ConchyJoeMemberAnd hooray! It is working. Seems to be processing 1-2 photos a second. I will report back with success or failure. Thank you Ivy for resetting my license.
March 29, 2018 at 12:54 pm #77539ConchyJoeMemberCrud. Stuck on 57 of 395.
March 29, 2018 at 1:24 pm #77540ConchyJoeMemberOK I am back to the failure, but it did do 57 photos instead of 9.
I am now on a current godaddy cpanel system, and have no idea where the server error logs are.
This is what Photo Seller shows:
Plugin Version: 2.3.3
WP Version: 4.9.4
WPMU: No
MySQL Version: 5.6.39
WP Table Prefix: wp_
PHP Version: 7.1.14
Session Save Path: /tmp
WP URL: bobstukephotography.com
Server Name: bobstukephotography.com
Cookie Domain: bobstukephotography.com
CURL Library Present: Yes
Debug File Write Permissions: Writable
PHP Version: 7.1.14
PHP Memory Usage: 29.35 MB
PHP Memory Limit: 256M
PHP Max Upload Size: 2M
PHP Max Post Size: 8M
PHP Allow URL fopen: On
PHP Allow URL Include: Off
PHP Display Errors: Off
PHP Max Script Execution Time: 30 Seconds
Thanks in advance for any help getting me over the hump!
March 29, 2018 at 1:42 pm #77541ConchyJoeMemberThis is what godaddy says my PHP settings are:
Sub Section Directive Info Value
Language Options asp_tags Allow ASP-style <% %> tags. Off
File Uploads file_uploads Whether to allow HTTP file uploads. On
Paths and Directories include_path Windows: “path1;path2″ c:phpincludes” .:/usr/lib/php:/usr/local/lib/php
Resource Limits max_execution_time Maximum execution time of each script, in seconds 120
Resource Limits max_input_time Maximum amount of time each script may spend parsing request data 60
Resource Limits memory_limit Maximum amount of memory a script may consume (32MB) 64M
Data Handling register_globals You should do your best to write your scripts so that they do not require register_globals to be on; Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of. Off
Language Options safe_mode Off
File Uploads upload_max_filesize Maximum allowed size for uploaded files. 32M
main session.save_path Argument passed to save_handler. In the case of files, this is the path where data files are stored. Note: Windows users have to change this variable in order to use PHP’s session functions. As of PHP 4.0.1, you can define the path as: session.save_path = “N;/path” where N is an integer. Instead of storing all the session files in /path, what this will do is use subdirectories N-levels deep, and store the session data in those directories. This is useful if you or your OS have problems with lots of files in one directory, and is a more efficient layout for servers that handle lots of sessions. NOTE 1: PHP will not create this directory structure automatically. You can use the script in the ext/session dir for that purpose. NOTE 2: See the section on garbage collection below if you choose to use subdirectories for session storage /tmp
March 31, 2018 at 3:42 am #77542PeterMemberIf you are hosting your site on a shared server you will likely struggle because photo processing is quite resource-intensive.
Even if you increase some of the settings such the one you quoted (shown below) you will get throttled by your hosting provider because they will not allow you to hog the resources due to the fact that you are sharing the resources with many other websites:
memory_limit Maximum amount of memory a script may consume (32MB) 64M
You should typically set the above to 256M or if possible 512M
I recommend upgrading to a more powerful hosting plan such as VPS or better.
-
AuthorPosts
- You must be logged in to reply to this topic.