Problem uploding files using XP publish Problem uploding files using XP publish
 

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 uploding files using XP publish

Started by youth4j, March 22, 2006, 12:18:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

youth4j

I did everything that the troubleshooting section tells me to do and this is the error message that I got

The selected album/file does not exist !

File: /hsphere/local/home/youth4j/youth4j.org/pics/include/functions.inc.php - Line: 1308


This is what my debug showed.
USER:
------------------
Array
(
    [ID] => 186be51ec8477b3fb979a67b501326c3
    [am] => 1
    [liv] => Array
        (
            [0] => 14330
            [1] => 14332
        )

)

==========================
USER DATA:
------------------
    [disk_max] => 1024
    [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] => 102
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg11d_filetypes; (0.002s)
    [1] => select * from cpg11d_plugins order by priority asc; (0.001s)
    [2] => SELECT * FROM cpg11d_bridge (0.001s)
    [3] => SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM `Youth4J_DB`.y4jphpbb_users AS u, `Youth4J_DB`.y4jphpbb_sessions AS s WHERE u.user_id=s.session_user_id AND s.session_id = '20dadf92a2824fb11e505bba68c493d9' AND u.user_id > 0 (0.001s)
    [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password, ug.group_id AS group_id FROM `Youth4J_DB`.y4jphpbb_users AS u, `Youth4J_DB`.y4jphpbb_user_group AS ug WHERE u.user_id=ug.user_id AND u.user_id='2' (0.001s)
    [5] => SELECT ug.group_id+100 AS group_id FROM `Youth4J_DB`.y4jphpbb_users AS u, `Youth4J_DB`.y4jphpbb_user_group AS ug, `Youth4J_DB`.y4jphpbb_groups as g WHERE u.user_id=ug.user_id AND u.user_id='2' AND g.group_id = ug.group_id AND  group_single_user = 0 (0.002s)
    [6] => 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 cpg11d_usergroups WHERE group_id in (102,104,2781) (0.002s)
    [7] => SELECT group_name FROM  cpg11d_usergroups WHERE group_id= 102 (0.001s)
    [8] => SELECT user_favpics FROM cpg11d_favpics WHERE user_id = 2 (0.001s)
    [9] => DELETE FROM cpg11d_banned WHERE expiry < '2006-03-21 18:11:47' (0.001s)
    [10] => SELECT * FROM cpg11d_banned WHERE (ip_addr='70.197.108.133' OR ip_addr='70.197.108.133' OR user_id=2) AND brute_force=0 (0.001s)
    [11] => SELECT COUNT(*) FROM cpg11d_pictures WHERE approved = 'NO' (0.08s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 3.23.56-log
------------------
Coppermine version: 1.4.4(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 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
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 2
Client API version 3.23.54
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/include/mysql
MYSQL_LIBS -L/usr/local/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
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 | system, passthru | system, passthru
file_uploads | On | On
include_path | .:/usr/local/lib/php | .:/usr/local/lib/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
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 10M | 10M
post_max_size | 8M | 8M
==========================
Page generated in 0.222 seconds - 12 queries in 0.094 seconds - Album set : ; Meta set: ;


After I upgraded to 1.4 I started having problems with the photo gallery. At first I was able to login using XP publish but when I uploaded photos it said that You have finished transering files. But the only thing that happened is it created a folder but didn't have any pictures in it. Then I upgraded to 1.4.4 and now I can't even login in the XP publish.

Do you have any idea how to fix this? can you direct me to something?

Thank you

Joachim Müller

Quote from: youth4j on March 22, 2006, 12:18:53 AM
I did everything that the troubleshooting section tells me to do and this is the error message that I got
no, you haven't. Please re-read http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble and do as suggested.