coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Gunsman on January 10, 2008, 05:21:28 PM

Title: Unabale to batch-import after upgrade to 1.4.14
Post by: Gunsman on January 10, 2008, 05:21:28 PM
Hallo,

I need some help please with my gallery. since upgrading to newest coppermine, i can´t batch-import images.

everything is CHMOD right - i looked 10 times.

heere are the debug info and error messages:

error message:

(only files with the following extensions are allowed)
Nur Dateien mit den folgenden Erweiterungen sind zulässig:

jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/ram/ra/rm/tiff/tif/doc/txt/rtf/pdf/xls/pps/ppt/zip/rar/gz/mdb.

Datei: C:\Inetpub\wwwroot\audi4ever\a4e_galerie_3\searchnew.php - Zeile: 243



But i set it to ALL in configs - even tried only JPG/JPEG/JPE

Debug:

USER:
------------------
Array
(
    [ID] => a457be9d66facdd83255435f7ffc9f40
    [am] => 1
    [liv] => Array
        (
        )

)

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

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [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] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg133_filetypes; (0.001s)
    [1] => select * from cpg133_plugins order by priority asc; (0.001s)
    [2] => delete from `audi4ever_a4egallery`.cpg133_sessions where time<1199978127 and remember=0; (0.001s)
    [3] => delete from `audi4ever_a4egallery`.cpg133_sessions where time<1198772127; (0.001s)
    [4] => select user_id from `audi4ever_a4egallery`.cpg133_sessions where session_id=md5("8270d61f3617c70dc9ba59a6b2109e9c955c4be848104a499703f635a529e253"); (0.001s)
    [5] => select user_id as id, user_password as password from `audi4ever_a4egallery`.cpg133_users where user_id=1 (0.001s)
    [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 `audi4ever_a4egallery`.cpg133_users AS u INNER JOIN `audi4ever_a4egallery`.cpg133_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `audi4ever_a4egallery`.cpg133_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
    [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 cpg133_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `audi4ever_a4egallery`.cpg133_sessions set time='1199981727' where session_id=md5('8270d61f3617c70dc9ba59a6b2109e9c955c4be848104a499703f635a529e253'); (0.001s)
    [11] => SELECT user_favpics FROM cpg133_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg133_banned WHERE expiry < '2008-01-10 18:15:27' (0.001s)
    [13] => SELECT * FROM cpg133_banned WHERE (ip_addr='62.47.17.246' OR ip_addr='62.47.17.246' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT aid, title FROM cpg133_albums WHERE 1 (0.008s)
    [15] => SELECT COUNT(*) FROM cpg133_pictures WHERE approved = 'NO' (0.012s)
    [16] => SELECT filepath, filename FROM cpg133_pictures WHERE filepath LIKE 'audi_s_modelle/audi_s4/audi_s4_b6_avant/abt%' (0.04s)
)

==========================
GET :
------------------
Array
(
    [startdir] => audi_s_modelle/audi_s4/audi_s4_b6_avant/abt
)

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

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

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.22
==========================
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 | .;C:\php5\pear | .;C:\php5\pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | no value | no value
SMTP | 213.208.137.120 | 213.208.137.120
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 1200 | 1200
max_input_time | 60 | 60
upload_max_filesize | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 0.195 seconds - 17 queries in 0.074 seconds - Album set : ; Meta set: ;



PHP
\include\media.functions.inc.php
Notice line 53: Undefined index: acl
Notice line 53: Undefined index: acl
Notice line 53: Undefined index: acl
Notice line 53: Undefined index: acl



Url to the board: http://www.audi4ever.at/a4e_galerie_3 (http://www.audi4ever.at/a4e_galerie_3)

Thanks for your help.
Title: Re: Unabale to batch-import after upgrade to 1.4.14
Post by: François Keller on January 10, 2008, 05:58:12 PM
did you try with JPG or jpg extention ?
Title: Re: Unabale to batch-import after upgrade to 1.4.14
Post by: Gunsman on January 10, 2008, 06:14:48 PM
with both, even the pictures that are allready imported did not show up.
the error message comes on every folder i have in my albums-directory
Title: Re: Unabale to batch-import after upgrade to 1.4.14
Post by: Gunsman on January 10, 2008, 06:18:05 PM
is i set the extensions only to JPG

This comes up:


Nur Dateien mit den folgenden Erweiterungen sind zulässig:

asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/ram/ra/rm/tiff/tif/doc/txt/rtf/pdf/xls/pps/ppt/zip/rar/gz/mdb.

Datei: C:\Inetpub\wwwroot\audi4ever\a4e_galerie_3\searchnew.php - Zeile: 243
Title: Re: Unabale to batch-import after upgrade to 1.4.14
Post by: François Keller on January 10, 2008, 06:19:21 PM
can you upload via html method ?
Title: Re: Unabale to batch-import after upgrade to 1.4.14
Post by: Gunsman on January 10, 2008, 06:23:29 PM
No, I can´t upload via http

Error Message:

\
1. Audi_Q7_Carla_Vallet_und_der_Q7_small.jpg File Extension not allowed

upload.php
Notice line 1971: Undefined variable: escrow_array
Notice line 1973: Undefined variable: URI_failure_array
Notice line 1974: Undefined variable: zip_failure_array


If i set only one extension for every filetype 8Pic, Video, Doc and Audio)

This comes up:


Nur Dateien mit den folgenden Erweiterungen sind zulässig:

.

Datei: C:\Inetpub\wwwroot\audi4ever\a4e_galerie_3\searchnew.php - Zeile: 243



Title: Re: Unabale to batch-import after upgrade to 1.4.14
Post by: Gunsman on January 10, 2008, 06:26:59 PM
If i set the extensions back to ALL, http Upload works fine
Title: Re: Unabale to batch-import after upgrade to 1.4.14
Post by: Joachim Müller on January 11, 2008, 07:35:18 AM
Read the upload troubleshooting section of the docs and the section that comes after it that is named "asking for support on upload issues". Read those sections extra carefully. Then do exactly (http://exactly) as suggested there.
Title: Re: Unabale to batch-import after upgrade to 1.4.14
Post by: Gunsman on January 11, 2008, 09:23:15 AM
Here, Sir.

http://www.audi4ever.at/a4e_galerie_3 (http://www.audi4ever.at/a4e_galerie_3)

User: test
Pass: test

URI/URL_: Upload 1 fixed
Debug on for all (inkl. PHP)

thanks for your help
Title: Re: Unabale to batch-import after upgrade to 1.4.14
Post by: Joachim Müller on January 12, 2008, 10:15:14 AM
You haven't done as suggested. The number of URI upload fields is not set to zero, but "one". Correct this and post back.
There are two other issues that might or might not be related: you inject google ads into each page improperly - the code mustn't be injected after the closing </body>-tag, but before it.
The folder in which your gallery resides in mustn't contain special characters - http://www.audi4ever.at/a4e_galerie_3 translates to http://www.audi4ever.at/a4e%5Fgalerie%5F3/, which is nonsense.