[Solved]: batch upload - not acceptable error [Solved]: batch upload - not acceptable error
 

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

[Solved]: batch upload - not acceptable error

Started by yourdalink, March 27, 2009, 05:36:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yourdalink

I have encountered with the following error. That's the first time I coped with that trouble, everything used to be fine. Please help me since I do some searches but find no appropriate answer.

QuoteNot Acceptable

An appropriate representation of the requested resource /minibrowser.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Testing account:
user: test
pass: test

I set the group for this user as registered, but don't know how to set it to have batch upload function?

Many thanks.

yourdalink

Ah, now I can use this function if I switch off "Browsable interface (recommended)". Still don't know why I cannot use this function.

Nibbler

Probably mod_security blocking it. Ask your host.

Joachim Müller

Quote from: yourdalink on March 27, 2009, 05:36:21 PM
Testing account:
user: test
pass: test
Impressive. Even more helpfull would be a link to a site where this username and password could be used on.

yourdalink

Oh. I just forgot abt this :D. Here is the link www.begi.lazycouple.com

@ Nibber: But I can do that previously. By the way, what question should I ask them since I don't know the technical term. It may be difficult to explain to the hosting provider.

Many thanks.

Joachim Müller

Ask them if they have lately introduced mod_security on the webserver your site runs on of if they lately have changed the configuration for mod_security. Tell them that you got the error
Quote406
Not Acceptable
An appropriate representation of the requested resource /minibrowser.php could not be found on this server.
That error message doesn't come from coppermine, but from the webserver. If they are real webhosts, they should know what to do. You're welcome to show them this thread as well if they can understand English.

Quote from: yourdalink on March 28, 2009, 03:21:16 AM
Oh. I just forgot abt this :D. Here is the link www.begi.lazycouple.com
Can't test more, as you failed to do as suggested: the number of file upload fields is set to 10, the number of uri upload fields is set to 3. Review the documentation sections "upload troubleshooting" and "asking for support on upload issues".

yourdalink

Sorry for not reading carefully the documentation. I am talking with the HP in order to solve the problem.
Many thanks,

USER:
------------------
Array
(
    [ID] => 0fbceea856fa55e121c4059f560ef79d
    [am] => 1
    [lang] => english_gb
    [liv] => Array
        (
            [0] => 123
            [1] => 151
            [2] => 47
            [3] => 142
            [4] => 149
        )

    [name] => Ruồi
    [search] => Array
        (
            [search] =>
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
            [0] => 1
        )

    [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] => 0
    [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
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `lazycoup_lazy`.cpg14x_sessions where time<1238235511 and remember=0; (0s)
    [3] => delete from `lazycoup_lazy`.cpg14x_sessions where time<1237029511; (0s)
    [4] => select user_id from `lazycoup_lazy`.cpg14x_sessions where session_id = 'fea677c39a63e5a1a84a0adbd3fcedc0' (0s)
    [5] => select user_id as id, user_password as password from `lazycoup_lazy`.cpg14x_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `lazycoup_lazy`.cpg14x_users AS u INNER JOIN `lazycoup_lazy`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `lazycoup_lazy`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => 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 cpg14x_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [10] => update `lazycoup_lazy`.cpg14x_sessions set time='1238239111' where session_id = 'fea677c39a63e5a1a84a0adbd3fcedc0' (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [12] => SHOW TABLES LIKE 'cpg14x_cms_config' (0s)
    [13] => SELECT * FROM cpg14x_cms_config (0s)
    [14] => DELETE FROM cpg14x_banned WHERE expiry < '2009-03-28 11:18:31' (0s)
    [15] => SELECT * FROM cpg14x_banned WHERE (ip_addr='123.16.230.221' OR ip_addr='123.16.230.221' OR user_id=1) AND brute_force=0 (0s)
    [16] => SELECT aid from cpg14x_pictures WHERE pid='156'  LIMIT 1 (0s)
    [17] => SELECT title,keyword from cpg14x_albums WHERE aid='10' (0s)
    [18] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='10'  ) OR (keywords like '%admin%'  ))   (0s)
    [19] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg14x_pictures WHERE ((aid='10'  ) OR (keywords like '%admin%'  ))   ORDER BY filename ASC  (0s)
    [20] => SELECT title,keyword from cpg14x_albums WHERE aid='10' (0s)
    [21] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='10'  ) OR (keywords like '%admin%'  ))   (0s)
    [22] => SELECT * from cpg14x_pictures WHERE ((aid='10'  ) OR (keywords like '%admin%'  ))   ORDER BY filename ASC  LIMIT 0 ,1 (0s)
    [23] => SELECT title, comments, votes, category, aid FROM cpg14x_albums WHERE aid='10' LIMIT 1 (0s)
    [24] => SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM cpg14x_comments WHERE pid='156' ORDER BY msg_id ASC (0s)
    [25] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
    [26] => SELECT title,keyword from cpg14x_albums WHERE aid='10' (0s)
    [27] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='10'  ) OR (keywords like '%admin%'  ))   (0s)
    [28] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg14x_pictures WHERE ((aid='10'  ) OR (keywords like '%admin%'  ))   ORDER BY filename ASC  LIMIT 0 ,8 (0s)
    [29] => SELECT * FROM cpg14x_cms WHERE conid='156' AND type='2' ORDER BY cpos (0s)
)

==========================
GET :
------------------
Array
(
    [pos] => -156
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.6 - OK
------------------
mySQL version: 5.0.67-community
------------------
Coppermine version: 1.4.21(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.67
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient_r 
==========================
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 | ini_restore, chroot, chown, chgrp, disk_free_space, disk_total_space, diskfreespace, filegroup, fileinode, fileowner, link, symlink, load_file, system, exec, shell_exec, passthru, pcntl_exec, proc_close, ini_alter, escapeshellcmd, escapeshellarg, dl,proc_open, proc_terminate, popen, pclose | ini_restore, chroot, chown, chgrp, disk_free_space, disk_total_space, diskfreespace, filegroup, fileinode, fileowner, link, symlink, load_file, system, exec, shell_exec, passthru, pcntl_exec, proc_close, ini_alter, escapeshellcmd, escapeshellarg, dl,proc_open, proc_terminate, popen, pclose
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/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 | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 5M | 5M
post_max_size | 8M | 8M
==========================
Page generated in 0.192 seconds - 30 queries in 0 seconds - Album set : ; Meta set: ;

Joachim Müller

http uploads work as expected - see http://www.begi.lazycouple.com/displayimage.php?pos=-157
You can safely disable debug_mode. You shouldn't have posted debug_output anyway - instructions clearly say not to post it.

Who is "HP"? Hewlett-Packard? And in which aspect are they related? Are they your webhost?

yourdalink

I mean hosting provider (in short, HP - not the giant company :D). They have done something since I said to them to configure the security mode. However, the batch upload does work but only when I disable the browsable interface.

Anyway, this is not the big deal since I still can upload photos.

Could you please remove the debug output I've posted here. Sorry about that.

Many thanks.

Joachim Müller

Quote from: yourdalink on March 28, 2009, 03:17:29 PM
However, the batch upload does work but only when I disable the browsable interface.
Known issue on Windows-driven servers, although the debug_output you posted above must be from a Lunix-driven server.

Quote from: yourdalink on March 28, 2009, 03:17:29 PM
Could you please remove the debug output I've posted here. Sorry about that.
Doesn't hurt if it remains - it doesn't contain sensitive data. My reply would look silly if I removed the debug_output, so let's leave things as they are.

Quote from: yourdalink on March 28, 2009, 03:17:29 PM
Anyway, this is not the big deal since I still can upload photos.
OK, marking thread as solved.