Some of my pics will upload fine, and others do not. They are all the same file size, and the ones that won't upload won't upload regardless of how I try it! I get the error from the browser...
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.
If I refresh the page, I get the following error:
Script called without the required parameter(s).
File: /var/www/html/cpg134/db_input.php - Line: 41
Debug:
USER:
------------------
Array
(
[ID] => d2ac7b14998412fa3af5dbe3b5b0a2ee
[am] => 1
[liv] => Array
(
- => 3
[1] => 1
[2] => 5
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_group] => 1
[user_active] => YES
[user_name] => xtort
[user_password] => ********
[user_lastvisit] => 2005-09-01 19:48:37
[user_regdate] => 2005-09-01 19:10:23
[user_group_list] =>
[user_email] =>
[user_website] =>
[user_location] =>
[user_interests] =>
[user_occupation] =>
[user_actkey] =>
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 0
[ufc_min] => 0
[custom_user_upload] => 0
[num_file_upload] => 1
[num_URI_upload] => 3
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 1
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Administrators
[upload_form_config] => 0
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 1
[groups] => Array
(
[1] => 1
)
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg134_filetypes;
[1] => SELECT * FROM cpg134_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '8e0fa5c713fbca4f86b354887a2bf01d'
[2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM cpg134_usergroups WHERE group_id in (1)
[3] => SELECT group_name FROM cpg134_usergroups WHERE group_id= 1
[4] => DELETE FROM cpg134_banned WHERE expiry < '2005-09-01 20:38:28'
[5] => SELECT * FROM cpg134_banned WHERE ip_addr='208.61.99.30' OR ip_addr='208.61.99.30' OR user_id=1
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.2.2 - OK
------------------
mySQL version: 3.23.54
------------------
Coppermine version: 1.3.4
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
module doesn't exist
==========================
Module: zlib
------------------
module doesn't exist
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | 1 | 1
include_path | /usr/share/pear:/var/www/html/:.:/var/www/html/includes:/var/www/html/eq2/grouping:/var/www/html/PHP | /usr/share/pear:/var/www/html/:.:/var/www/html/includes:/var/www/html/eq2/grouping:/var/www/html/PHP
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost | |
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30 | |
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.113 seconds - 6 queries in 0.004 seconds - Album set :
The files are 500kb I chmod the folders to 777 that are requested in the install, and these are all being uploaded in the same gallery or folder. Any help would be greatly appreciated.
Thank you,
Xtort
FTP several of the problem images to your website, then provide direct links to those images. Most likely your issue is related to the color scheme, i.e. using CMYK instead of RGB.
Quote from: kegobeer on September 02, 2005, 05:36:16 AM
FTP several of the problem images to your website, then provide direct links to those images. Most likely your issue is related to the color scheme, i.e. using CMYK instead of RGB.
That fixed it, I can link to the them via a URL but not via the upload.php script. Is there a way I can fix this? I checked all the files, and they are all in RGB format, so they would all behave the same (you would think). Thank you for the response.
Post a link to those images in your next post so I can examine the images.