I am going nuts trying to figure out why I am not aloud to upload pictures and am turning to anyone here that may be able to help. Below is the debug report I copied. Love this program, even more when I get it to work. Also registration won't work using email verify, but im not worried about that, I disabled this and a new user can sign up without the email verification. Thanks Ron
USER:
------------------
Array
(
[ID] => Its here, I deleted it in this message
[am] => 1
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 4
[user_group] => 1
[user_active] => YES
[user_name] => ron
[user_password] => Not listed here
[user_lastvisit] => 2004-11-01 16:23:01
[user_regdate] => 2004-11-01 16:19:34
[user_group_list] => 2
[user_email] => ron351@sbcglobal.net
[user_website] =>
[user_location] => Ohio
[user_interests] => Camping, Computers
[user_occupation] =>
[user_actkey] =>
[user_favpics] =>
[disk_max] => 500000
[disk_min] => 500000
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 1
[ufc_min] => 1
[custom_user_upload] => 1
[num_file_upload] => 10
[num_URI_upload] => 5
[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] => 1
[group_quota] => 500000
[can_see_all_albums] => 1
[group_id] => 1
[groups] => Array
(
- => 2
[1] => 1
)
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg131_filetypes;
[1] => SELECT * FROM cpg131_users WHERE user_id='4'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '6f55dac339b408975e9776d57e70e4d5'
[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 cpg131_usergroups WHERE group_id in (2,1)
[3] => SELECT group_name FROM cpg131_usergroups WHERE group_id= 1
[4] => DELETE FROM cpg131_banned WHERE expiry < 1099360322
[5] => SELECT * FROM cpg131_banned WHERE ip_addr='68.76.80.180' OR ip_addr='68.76.80.180' OR user_id=4
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[control] => phase_1
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.6 - OK
------------------
mySQL version: 3.23.49
------------------
Coppermine version: 1.3.1
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.22 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.3
Linked Version 1.1.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
sql.safe_mode | Off | Off
disable_functions | leak, symlink | leak, symlink
file_uploads | On | On
include_path | .:/include:/usr/lib/php | .:/include:/usr/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 90 | 90
max_input_time | -1 | -1
upload_max_filesize | 10M | 10M
post_max_size | 10M | 10M
==========================
Page generated in 0.144 seconds - 6 queries in 0.01 seconds - Album set :
First, if you haven't read the documentation that comes with Coppermine, read it now and see if it solves your problems.
Second, if you haven't upgraded to 1.3.2 yet, I recommend it.
Third, what upload problems are you having? Batch add or normal user upload problems?
Only interested in normal upload problems. I see the folders on the web page, but it wont allow me the administrator or a user upload, says 0 uploaded successfully.
I will go back and read it a 3rd or 4th time, it has gotten me nowhere so far, doubt it will if I read it again, maybe I will try to upgrade. Guess it can only get better.
Ron
switch to "single file uploads" ("groups" settings) to see a more detailed error report (with debug_mode enabled). Post the actual error message here.
Joachim
Quote from: GauGau on November 02, 2004, 08:55:33 AM
switch to "single file uploads" ("groups" settings) to see a more detailed error report (with debug_mode enabled). Post the actual error message here.
Joachim
I switched to single file upload and this is what I got.
Top of page when upload failed it read this:
QuoteNo file was uploaded
If you have really selected a file to upload, check that the server allows file uploads...
File: /coppermine/db_input.php - Line: 221
Then at the bottom in Debug it reads this:
Quote
USER DATA:
------------------
Array
(
[user_id] => 4
[user_group] => 1
[user_active] => YES
[user_name] => ron
[user_password] => *
[user_lastvisit] => 2004-11-02 02:53:39
[user_regdate] => 2004-11-01 16:19:34
[user_group_list] => 2
[user_email] => ron351@sbcglobal.net
[user_website] =>
[user_location] => Ohio
[user_interests] => Camping, Computers
[user_occupation] =>
[user_actkey] =>
[user_favpics] =>
[disk_max] => 500000
[disk_min] => 500000
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 0
[ufc_min] => 0
[custom_user_upload] => 1
[num_file_upload] => 1
[num_URI_upload] => 1
[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] => 500000
[can_see_all_albums] => 1
[group_id] => 1
[groups] => Array
(
- => 2
[1] => 1
)
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg131_filetypes;
[1] => SELECT * FROM cpg131_users WHERE user_id='4'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '6f55dac339b408975e9776d57e70e4d5'
[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 cpg131_usergroups WHERE group_id in (2,1)
[3] => SELECT group_name FROM cpg131_usergroups WHERE group_id= 1
[4] => DELETE FROM cpg131_banned WHERE expiry < 1099393280
[5] => SELECT * FROM cpg131_banned WHERE ip_addr='68.76.80.180' OR ip_addr='68.76.80.180' OR user_id=4
[6] => SELECT category FROM cpg131_albums WHERE aid='9'
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[album] => 9
[MAX_FILE_SIZE] => 2048000
[title] =>
[caption] =>
[keywords] =>
[event] => picture
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.6 - OK
------------------
mySQL version: 3.23.49
------------------
Coppermine version: 1.3.1
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.22 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.3
Linked Version 1.1.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
sql.safe_mode | Off | Off
disable_functions | leak, symlink | leak, symlink
file_uploads | On | On
include_path | .:/include:/usr/lib/php | .:/include:/usr/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 90 | 90
max_input_time | -1 | -1
upload_max_filesize | 10M | 10M
post_max_size | 10M | 10M
==========================
Page generated in 0.135 seconds - 7 queries in 0.015 seconds - Album set
Hope it helps, I am just at a stand still here. I upgraded to a better service with yahoo small business package so I could give my visitors something more to do on my website, and going nuts trying to do it with this.
Any help would be greatly appreciated.
Ron
Try: http://forum.coppermine-gallery.net/index.php?topic=5848.msg25440#msg25440
Also don't use big red text - it is annoying.
Nibbler, you beat me to it. I was about to post the same link. ;D
I have re-formatted your post. It is much easier for you, and easier for us to read, if you use the quote and code buttons for posting error messages and lines of code.
Quote from: Nibbler on November 02, 2004, 12:19:12 PM
Try: http://forum.coppermine-gallery.net/index.php?topic=5848.msg25440#msg25440
Also don't use big red text - it is annoying.
Sorry for the red letters, thought it would be easier to seperate the text, anyway I added a temp folder and still dont upload.
Here is the message I am wondering about now:
**********************************************************************
If you have really selected a file to upload, check that the server allows file uploads...
File: /coppermine/db_input.php - Line: 221
**********************************************************************
Is there something in this file I need to change on line 221?
Like directing it to the temp folder, I am so puzzled.
Ron
Quote from: kegobeer on November 02, 2004, 03:43:06 AM
Second, if you haven't upgraded to 1.3.2 yet, I recommend it.
Line 221 is simply the part of code that triggered the error message, not the cause of the problem.
Quote from: Nibbler on November 02, 2004, 04:35:40 PM
Quote from: kegobeer on November 02, 2004, 03:43:06 AM
Second, if you haven't upgraded to 1.3.2 yet, I recommend it.
Line 221 is simply the part of code that triggered the error message, not the cause of the problem.
Looking at the message I left above, I have version 1.31 so maybe I will try to upgrade it to 1.32 and see if I get any where with that.
Other than that I am still stuck and crosseyed.