James one of the feedback users has been trying to upload single images and is running into issues, I tested it and had the same issue, I went to put in a ticket at ktools and the response came back to adjust some settings:
(PhotoHost) If you or your members are unable to upload photos larger than 2mb or get errors when uploading photos your host is likely limiting some aspects of your hosting. Below are PHP settings that will limit certain aspects of your hosting and cause you to receive errors when added photos to your site. These settings can usually be changed easily by contacting your host.
(PhotoStore) If you are receiving errors or having troubles using the FTP Upload feature or when uploading photos one at a time thru the "photos" tab in the manager your host may be limiting some features in PHP. Below are PHP settings that will limit certain aspects of your hosting and cause you to receive errors when added photos to your site. These settings can usually be changed easily by contacting your host.
max_execution_time
This setting limits the amount of time that a script can run on the server. When you upload a photo a script is run that puts the photo into the correct folder and also creates a thumbnail and sample sized photo from the original. Depending on the size of your photos this process can take up to 30 seconds or longer per photo. When uploading photos using the FTP feature this script has to add and process each photo in the FTP folder. This requires the script to run long enough to process all of your photos. If max_execution_time is not set high enough then the script will time out and you will receive an error and your photos will not all upload correctly. The length of time needed can also vary depending on current server traffic. The default for this setting in PHP is 30 seconds. We recommend changing this setting to 200.
PHP Default: 30
Our Recommended Setting: 200
How To Fix:
Use a .htaccess file (see below).
Use a php.ini file (see below).
Contact your host and ask them to change the setting.
Change the setting in your servers main php.ini (Administrators Only. See below)
Notes: (PhotoStore Only) Try not to upload more than 50 photos at a time using the FTP upload feature unless you have max_execution_time set high enough to accommodate more photos.
max_input_time
This setting determines the maximum amount of time that you can upload to the server from a browser form. This will affect your photo uploads only when you are uploading one at a time from the “photos” tab in the manager. This will not affect the FTP upload feature. The time needed to upload a photo (file) from your computer to the server will depend on how fast your internet connection is (your upstream bandwidth speed), how fast the servers connection speed is and the file size of the photo that you are uploading. This can change depending on current internet traffic and how busy your host’s server is. If this setting is too low the connection will timeout in the middle of your upload and you will get an error page. Your photo will not upload correctly if the connection times out.
PHP Default: 60
Our Recommended Setting: -1 (-1 is an unlimited time length)
How To Fix:
Use a .htaccess file (see below).
Use a php.ini file (see below).
Contact your host and ask them to change the setting.
Change the setting in your servers main php.ini (Administrators Only. See below)
memory_limit
This setting determines how much memory (RAM) can be used by a script or process on the server. When your photos are added thumbnails and sample size photos are also created. This process takes a lot of memory depending on the size of the original photo(s). This setting will affect both the FTP upload feature and when uploading photos one at a time thru the “photos” area of the manager. If the memory limit is not set high enough you will get an error when uploading your photos. You can use our memory test page to see how much memory your photos will take to process:
http://www.ktools.net/memorytest.php
PHP Default: 8M
Our Recommended Setting: 256M
How To Fix:
Contact your host and ask them to change the setting.
Change the setting in your servers main php.ini (Administrators Only. See below)
upload_max_filesize
This setting determines the maximum file size that you can upload thru a browser based form. This will only affect you if you are uploading photos larger than 2mb one at a time using the “photos” area in the manager. If the photo that you are trying to upload is larger than 2mb you will get an error when trying to upload.
PHP Default: 2M
Our Recommended Setting: 20M
How To Fix:
Use a .htaccess file (see below).
Use a php.ini file (see below).
Contact your host and ask them to change the setting.
Change the setting in your servers main php.ini (Administrators Only. See below)
php.ini
There are two different types of php.ini files. One can be used locally on many servers and the other is the main settings file for PHP.
If you are not the server administrator you will only be able to change and modify the local php.ini file. You will not have access to the servers php.ini file.
Local level php.ini
A local php.ini file is easy to use. All you do is upload the php.ini file using your FTP client to the main directory that you have our software installed in and then also upload a copy of php.ini to the mgr directory (PhotoHost) or the manager directory(PhotoStore).
You can find the php.ini file in the following places depending on the Ktools.net software you are using:
PhotoHost: assets folder of the zip file you received when you purchased the product. If you had us install it for you the php.ini file was most likely already upload to your server.
PhotoStore: Version 2.9.4 or higher, your php.ini file will be in the assets/settings folder of the zip file you received when you purchased PhotoStore. Versions before 2.9.4 will have their php.ini file in the assets folder of the zip file. If you had us install it for you the php.ini file was most likely already upload to your server.
If you see a file called php_full.ini do not use it. If you do not have a php.ini file just conact us and we will send you one.
Server level php.ini
All of your settings for PHP are contained in the php.ini file. You will only have access to this file if you administer your own server.
* Do not edit this file unless you know what you are doing.
* If this file is edited the server will have to be rebooted before the changes will take effect.
.htaccess
.htaccess files allow you to change settings on the server specifically for your hosting space and are only used on Linux/Unix based servers. If you are unsure if your host allows the use of .htaccess files please contact them and ask.
* If you are on a Windows server you will have to use php.ini instead. Please contact your host to find out more about this setting.
If your host allows .htaccess files to be used on your server the fix may be fairly easy. In the assets folder from the zip file of the software that you purchased there is a .htaccess file (If you do not have a .htaccess file contact us and we can send you one). Upload this file to the root of your site. To check and see if the .htaccess file has worked view your server settings in a web browser at:
http://www.YOUR_DOMAIN_NAME_HERE.com/manger/server_info.php (PhotoStore)
http://www.YOUR_DOMAIN_NAME_HERE.com/mgr/_server.info.php (PhotoHost)
* Remember to replace YOUR_DOMAIN_NAME_HERE with your actual domain name. Also remember to use the correct path (example: if you installed the software in a sub directory make sure you add that to your URL)
When your server settings page is loaded look at the values of the settings that you are trying to change. If you receive an error when attempting to view this page (other than a page not found error) then your server does not allow the use of .htaccess files and you will need to delete the one that you just uploaded. If you receive a “page not found error” then you are not pointing to the correct page in your web browser.
The settings should have been updated from their default settings. If not the .htaccess file had no affect and you will have to contact your host to have them change the settings for you.
Your current server settings can be viewed at:
http://www.YOUR_DOMAIN_NAME_HERE.com/manager/server_info.php (PhotoStore)
http://www.YOUR_DOMAIN_NAME_HERE.com/mgr/_server.info.php (PhotoHost)
* Remember to replace YOUR_DOMAIN_NAME_HERE with your actual domain name. Also remember to use the correct path (example: if you installed the software in a sub directory make sure you add that to your URL)
* Trash
James
James Sat, 28 Mar at 5:49pm
I don't believe it's the server settings as we adjusted them per Ktools recommendations, for one of our other clients using the photostore and he is not having any problems.
Let me check something else!
Thanks, James