[Solved]: Hilfe nach Updade kein Bilder Upload mehr möglich [Solved]: Hilfe nach Updade kein Bilder Upload mehr möglich
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Hilfe nach Updade kein Bilder Upload mehr möglich

Started by Manne89, June 22, 2009, 11:54:05 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Manne89

Hi,

ich habe vor einiger Zeit ein Update der Galerie auf die aktuellste gemacht, habe danach nich gleich Bilder hochgeladen und es dadruch nicht bemerkt.
Ich bekomme keiner Bilder mehr hochgeladen, habe euer Troubleshooting schon abgearbeitet. Ich habe zwar ein Backup was zwar etwas älter is, aber ich will ja das die Gallerie sicher ist.

Das gibt mir der debug Modus aus!!!

USER:
------------------
Array
(
   [ID] => 77c37308921f9a46530a48c145e3717c
   [am] => 1
   [lang] => german
   [liv] => Array
       (
           [0] => 1110
           [1] => 1482
           [2] => 1255
           [3] => 1254
           [4] => 1241
       )

)

==========================
USER DATA:
------------------
Array
(
   [user_id] => 1
   [user_name] => Manne
   [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 cpg143_filetypes; (0s)
   [1] => select * from cpg143_plugins order by priority asc; (0s)
   [2] => delete from `manne89`.cpg143_sessions where time<1245703689 and remember=0; (0s)
   [3] => delete from `manne89`.cpg143_sessions where time<1244497689; (0s)
   [4] => select user_id from `manne89`.cpg143_sessions where session_id = 'ad38848bcee3a67512ee59bd3d714227' (0s)
   [5] => select user_id as id, user_password as password from `manne89`.cpg143_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 `manne89`.cpg143_users AS u INNER JOIN `manne89`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
   [7] => SELECT user_group_list FROM `manne89`.cpg143_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 cpg143_usergroups WHERE group_id in (1) (0s)
   [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0s)
   [10] => update `manne89`.cpg143_sessions set time='1245707289' where session_id = 'ad38848bcee3a67512ee59bd3d714227' (0s)
   [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0s)
   [12] => SHOW TABLES LIKE 'cpg143_cms_config' (0s)
   [13] => SELECT * FROM cpg143_cms_config (0s)
   [14] => DELETE FROM cpg143_banned WHERE expiry < '2009-06-22 23:48:10' (0s)
   [15] => SELECT * FROM cpg143_banned WHERE (ip_addr='217.88.191.153' OR ip_addr='217.88.191.153' OR user_id=1) AND brute_force=0 (0s)
   [16] => SELECT group_id, group_name FROM cpg143_usergroups WHERE 1 (0s)
   [17] => UPDATE cpg143_usergroups SET has_admin_access = '1' WHERE group_id = '1' LIMIT 1 (0s)
   [18] => UPDATE cpg143_usergroups SET group_name='Administrators',group_quota='0',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='0',can_create_albums='1',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='1',num_URI_upload='0' WHERE group_id = '1' LIMIT 1 (0s)
   [19] => UPDATE cpg143_usergroups SET group_name='Registered',group_quota='1024',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='0',can_create_albums='1',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='1',num_URI_upload='0' WHERE group_id = '2' LIMIT 1 (0.001s)
   [20] => UPDATE cpg143_usergroups SET group_name='Guests',group_quota='0',can_rate_pictures='1',can_send_ecards='0',can_post_comments='0',can_upload_pictures='0',pub_upl_need_approval='1',can_create_albums='0',priv_upl_need_approval='1',upload_form_config='3',custom_user_upload='0',num_file_upload='1',num_URI_upload='3' WHERE group_id = '3' LIMIT 1 (0s)
   [21] => UPDATE cpg143_usergroups SET group_name='Banned',group_quota='0',can_rate_pictures='0',can_send_ecards='0',can_post_comments='0',can_upload_pictures='0',pub_upl_need_approval='0',can_create_albums='0',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='0',num_URI_upload='0' WHERE group_id = '4' LIMIT 1 (0s)
   [22] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
   [23] => SELECT * FROM cpg143_usergroups WHERE 1 ORDER BY group_id (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
   [group_id] => Array
       (
           [0] => 1
           [1] => 2
           [2] => 3
           [3] => 4
       )

   [group_name_1] => Administrators
   [group_quota_1] => 0
   [can_rate_pictures_1] => 1
   [can_send_ecards_1] => 1
   [can_post_comments_1] => 1
   [can_upload_pictures_1] => 1
   [pub_upl_need_approval_1] => 0
   [can_create_albums_1] => 1
   [priv_upl_need_approval_1] => 0
   [custom_user_upload_1] => 0
   [num_file_upload_1] => 1
   [num_URI_upload_1] => 0
   [group_name_2] => Registered
   [group_quota_2] => 1024
   [can_rate_pictures_2] => 1
   [can_send_ecards_2] => 1
   [can_post_comments_2] => 1
   [can_upload_pictures_2] => 1
   [pub_upl_need_approval_2] => 0
   [can_create_albums_2] => 1
   [priv_upl_need_approval_2] => 0
   [custom_user_upload_2] => 0
   [num_file_upload_2] => 1
   [num_URI_upload_2] => 0
   [group_name_3] => Guests
   [group_quota_3] => 0
   [can_rate_pictures_3] => 1
   [can_send_ecards_3] => 0
   [can_post_comments_3] => 0
   [can_upload_pictures_3] => 0
   [pub_upl_need_approval_3] => 1
   [can_create_albums_3] => 0
   [priv_upl_need_approval_3] => 1
   [custom_user_upload_3] => 0
   [num_file_upload_3] => 1
   [num_URI_upload_3] => 3
   [group_name_4] => Banned
   [apply_modifs] => Änderungen übernehmen
   [upload_form_config_1] => 0
   [upload_form_config_2] => 0
   [upload_form_config_3] => 3
   [upload_form_config_4] => 0
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.9 - OK
------------------
mySQL version: 4.1.22-log
------------------
Coppermine version: 1.4.24(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: 1

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.51a
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
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3.3
Linked Version 1.2.3.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 | symlink,debug_backtrace,fsockopen,pfsockopen,proc_open,proc_nice,proc_terminate,proc_close,proc_get_status,shell_exec,exec,passthru,system,popen,highlight_file,diskfreespace,disk_free_space,disk_total_space,show_source,php_uname,ini_alter,ini_restore,ini_set,getrusage,get_current_user,set_time_limit,getmyuid,getmypid,dl,leak,stream_socket_accept,stream_socket_client,stream_socket_get_name,stream_socket_recvfrom,stream_socket_sendto,stream_socket_server,proc_nice,pcntl_getpriority,pcntl_wait,get_headers,headers_list,memory_get_peak_usage,stream_socket_shutdown,posix_access,posix_ctermid,posix_get_last_error,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_initgroups,posix_isatty,posix_kill,posix_mkfifo,posix_mknod,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname | symlink,debug_backtrace,fsockopen,pfsockopen,proc_open,proc_nice,proc_terminate,proc_close,proc_get_status,shell_exec,exec,passthru,system,popen,highlight_file,diskfreespace,disk_free_space,disk_total_space,show_source,php_uname,ini_alter,ini_restore,ini_set,getrusage,get_current_user,set_time_limit,getmyuid,getmypid,dl,leak,stream_socket_accept,stream_socket_client,stream_socket_get_name,stream_socket_recvfrom,stream_socket_sendto,stream_socket_server,proc_nice,pcntl_getpriority,pcntl_wait,get_headers,headers_list,memory_get_peak_usage,stream_socket_shutdown,posix_access,posix_ctermid,posix_get_last_error,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_initgroups,posix_isatty,posix_kill,posix_mkfifo,posix_mknod,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_strerror,posix_times,posix_ttyname,posix_uname
file_uploads | On | On
include_path | .: | .: |  |
==========================
email
------------------
Directive | Local Value | Master Value |  |  |  |  |  |  |  |
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 10 | 10
max_input_time | 30 | 30
upload_max_filesize | 3072K | 3072K
post_max_size | 3072K | 3072K
==========================
Page generated in 1245707290.05 seconds - 24 queries in 0.001 seconds - Album set : ; Meta set: ;


Zudem bekomm ich nach dem gefummell mit den Uploadfeldern folgende Meldung:

QuoteEs wurde keine Datei hochgeladen!

Wenn Du tatsächlich eine Datei zum Hochladen selektiert hast, überprüfe, ob Dein Server das Hochladen von Dateien zulässt...

Datei: /usr/export/www/vhosts/funnetwork/hosting/manne89/db_input.php - Zeile: 311


Wenn ihr selber mal probiern wollt
Website: manne89.ma.funpic.de
User: Test
PW: Test123456

Ich bin euch sehr Dankbar wenn Ihr mir helfen könnt, so das PHP Genie bin ich leider auch ned.

Manne89

So hat sich erledigt, habe nochma nen Update auf die 1.4.25  gemacht danach geht ersma wieder alles.

Was aber seit dem vorherigen Update nicht mehr geht, sind die Zufallsbilder. Wenn ich diese anklicke, kommt Folgende Meldung

QuoteBeim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten.

While executing query "SELECT * FROM cpg143_pictures WHERE approved = 'YES' ORDER BY RAND() LIMIT -1" on 0 mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 1


Joachim Müller

Sperre Thread; Begründung vgl. Beitrag von eenemeenemuu