Problem - upload files Problem - upload files
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Problem - upload files

Started by Cagus, November 04, 2007, 06:56:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cagus

Hello,
I have a problem with uploading files with CM. I was searching, and I found 2 topics about something, what looks like my problem.

In this, I just have it the same way like Danika. Setting ALL do not help.
http://forum.coppermine-gallery.net/index.php?topic=7797.0

And the second is exactly, what I did. But there is not a conclusion.
http://forum.coppermine-gallery.net/index.php?topic=41695.0

Please, help.

Joachim Müller

Both threads you refer to are irrelevant: one was for the outdated cpg1.3.x, the other deals about installing coppermine in the first place.
There is a reason why we have a sticky thread on the upload support board and why there is a whole section in the docs that is labelled "upload troubleshooting". In the docs you will find another section named "asking for support on upload issues". Read and do as suggested there. There is a reason why we have those sctions in the docs. Failing to do as suggested there will result in nobody being able to answer your question. If you would have read some of the threads on the regular upload support board, you would have found out that we tell this each and every user who asks for support on uploading issues.
[Rant]Quite frankly: it's very annoying to have to repeat this over and over. How bold does a sticky have to be? How bold do we need to write those sections in the docs? Why do people still constantly ignore them? It's utterly frustrating that everyone ignores those sticky, mandatory things. Do I have to change the registration procedure of the forums, starting some sort of quiz that makes sure you have read the docs before asking questions? ::) [/Rant].

just_some_guy

Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Cagus

I'm getting this


Error
Only files with the following extensions are accepted :

.

File: /home/home2/cagus_cz/public_html/www/mkportal/modules/coppermine/db_input.php - Line: 255


And debug is:
USER:
------------------
Array
(
    [ID] => 8339efd0bb33715dd4a02d126c11fad2
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => Cagus
    [user_password] => ********
    [user_lastvisit] => 2007-11-03 15:54:51
    [user_regdate] => 2007-11-03 15:54:51
    [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] => 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] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM mkpcpg_filetypes;
    [1] => SELECT user_name FROM mkpcpg_users WHERE user_id='1'
    [2] => SELECT * FROM mkpcpg_users WHERE user_id='1'AND user_active = 'YES' AND user_password != ''
    [3] => 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 mkpcpg_usergroups WHERE group_id in (1)
    [4] => SELECT group_name FROM  mkpcpg_usergroups WHERE group_id= 1
    [5] => DELETE FROM mkpcpg_banned WHERE expiry < '2007-11-05 01:15:02'
    [6] => SELECT * FROM mkpcpg_banned WHERE ip_addr='88.146.180.74' OR ip_addr='88.146.180.74' OR user_id=1
    [7] => SELECT category FROM mkpcpg_albums WHERE aid='1'
)

==========================
GET :
------------------
Array
(
    [tal] =>
    [modules] =>
    [coppermine] =>
    [db_input_php] =>
)

==========================
POST :
------------------
Array
(
    [album] => 1
    [MAX_FILE_SIZE] => 1048576
    [title] =>
    [caption] =>
    [keywords] =>
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 5.1.6-pl6-gentoo - OK
------------------
mySQL version: 5.0.44-log
------------------
Coppermine version: 1.3.5
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.10
T1Lib Support enabled
GIF Read Support enabled
GIF Create 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 5.0.26
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64 -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
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 | On | On
include_path | .:/usr/share/php5:/usr/share/php | .:/usr/share/php5:/usr/share/php
open_basedir | /home/cagus_cz/:/home/home2/cagus_cz/:/tmp/:/usr/share/php/ | 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 | 20M | 20M
post_max_size | 8M | 8M
==========================
Page generated in 0.623 seconds - 8 queries in 0.011 seconds - Album set :


I hope, this is what you want get.

Joachim Müller

Quote from: GauGau on November 04, 2007, 09:11:37 PM
There is a reason why we have a sticky thread on the upload support board and why there is a whole section in the docs that is labelled "upload troubleshooting". In the docs you will find another section named "asking for support on upload issues". Read and do as suggested there. There is a reason why we have those sctions in the docs. Failing to do as suggested there will result in nobody being able to answer your question.
You haven't done as I suggested, but did the opposite: you posted debug_output (although you mustn't). You failed to post a link tro your gallery along with a non-admin test user account with above mentioned settings in place. What do you expect? What should our answer be?

Cagus

I have expected yes or no.

Ok, so I have create the test:test user. Link is http://www.cagus.cz/www (it's testing site) and gallery is implemented in mkportal. (before you'll give me hell again, I'd was refering to mkportal forum and they answer me, it not implementation error and to ask here.) You'd have to click link coppermine above.

Nibbler

You need to seek support from whoever provides the port.

Cagus

Quote from: Nibbler on November 07, 2007, 07:57:19 PM
You need to seek support from whoever provides the port.

I did. As I have written above, they redirect me here, because it's supposedly not a errorof implementation.

QuoteTake care that this is an coppermine issue, not a MKPortal issue by integration. You should contact with coppermine authors what could be the problem. This is the first time i see in coppermine gallery this kind of issue. Ask to coppermine authors what could be. Thanks.

Nibbler

We don't support ports and we don't support old (pre 1.4) versions of Coppermine. You are using a port of an old version so we really can't help you. All I can suggest is to review the old 1.3 support board for anything relevant.