Hey there,
I've got a problem with uploading pictures..
Created a test account: username test
password test
Hope you guys can help me solving this problem.
The weird thing about it is that I've been uploading pictures for months..
All of a sudden it generated this error..
USER:
------------------
Array
(
[ID] => 9f1f4e9d3aa7e3ab0bd34c8d777456e5
[am] => 1
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_group] => 1
[user_active] => YES
[user_name] => admin
[user_password] => ********
[user_lastvisit] => 2006-03-14 19:47:36
[user_regdate] => 2005-12-21 20:57:49
[user_group_list] =>
[user_email] => j.lensselink@chello.nl
[user_website] => www.77photography.nl
[user_location] =>
[user_interests] =>
[user_occupation] => Engineer
[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] => 5
[num_URI_upload] => 3
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 1
[pub_upl_need_approval] => 1
[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 cpg133_filetypes;
[1] => SELECT * FROM cpg133_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'd4424a748865655a07680b1bd7c16b59'
[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 cpg133_usergroups WHERE group_id in (1)
[3] => SELECT group_name FROM cpg133_usergroups WHERE group_id= 1
[4] => DELETE FROM cpg133_banned WHERE expiry < '2006-03-14 19:57:06'
[5] => SELECT * FROM cpg133_banned WHERE ip_addr='213.93.175.247' OR ip_addr='213.93.175.247' OR user_id=1
[6] => SELECT category FROM cpg133_albums WHERE aid='35'
[7] => INSERT INTO cpg133_pictures (pid, aid, filepath, filename, filesize, total_filesize, pwidth, pheight, ctime, owner_id, owner_name, title, caption, keywords, approved, user1, user2, user3, user4, pic_raw_ip, pic_hdr_ip) VALUES ('', '35', 'userpics/10001/', 'CASUAL copy2-border.jpg~4.jpg', '28045', '49036', '412', '600', '1142362627', '1', 'admin','', '', '', 'YES', '', '', '', '', '213.93.175.247', '213.93.175.247')
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[album] => 35
[MAX_FILE_SIZE] => 1048576
[title] =>
[caption] =>
[keywords] =>
[event] => picture
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.10-16 - OK
------------------
mySQL version: 4.0.24_Debian-10sarge1-log
------------------
Coppermine version: 1.3.3
==========================
Module: gd
------------------
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 1
Active Links 2
Client API version 4.0.24
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.2
Linked Version 1.2.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
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 | On | On
include_path | .:/usr/share/php:/usr/share/pear | .:/usr/share/php:/usr/share/pear
open_basedir | /var/www/vhosts/77photography.nl/httpdocs:/tmp | 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 | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated
so now we have a test user account, but we don't know what page it can be used on ::). It would help if you posted a link to your page.
In the future, don't post debug_output unless requested. Do as suggested in http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php instead.
Quote from: GauGau on March 15, 2006, 06:31:25 AM
so now we have a test user account, but we don't know what page it can be used on ::). It would help if you posted a link to your page.
In the future, don't post debug_output unless requested. Do as suggested in http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php instead.
Hey there,
I posted the debug_output because coppermine told me to do...
In this debug_output you can also see the adresse of my website: www.77photography.nl
Hope you can help me.
Best regards,
Jasper
I get
QuoteTemplate error
Failed to find block 'my_profile'(#(<!-- BEGIN my_profile -->)(.*?)(<!-- END my_profile -->)#s) in :
|
<!-- BEGIN my_gallery -->
<a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> |
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
<a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a> |
<!-- END allow_memberlist -->
<!-- BEGIN faq -->
<a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a> |
<!-- END faq -->
<!-- BEGIN enter_admin_mode -->
<a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> |
<!-- END enter_admin_mode -->
<!-- BEGIN upload_pic -->
<a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a> |
<!-- END upload_pic -->
<!-- BEGIN register -->
<a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a> |
<!-- END register -->
<!-- BEGIN login -->
<a href="{LOGIN_TGT}">{LOGIN_LNK}</a> |
<!-- END login -->
- this means that you have tried to upgrade, but haven't upgraded your theme as suggested. In fact, your whole install hasn't been upgraded properly.
Quote from: GauGau on March 15, 2006, 10:17:05 AM
I get- this means that you have tried to upgrade, but haven't upgraded your theme as suggested. In fact, your whole install hasn't been upgraded properly.
Yep, that's one of the things that went wrong yesterday...
After my upload failed, I found something about upgrading..
Thought I could give it a try.. That didn't worked out the way I wanted it...
Any suggestions?
Best regards,
Jasper
Quote from: GauGau on March 16, 2006, 09:17:21 AM
upgrade as suggested in the docs, upgrading all of your files.
OK, thanks for the help.....