Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Critical error... Upload Failure - './albums/edit/'  (Read 4819 times)

0 Members and 1 Guest are viewing this topic.

Shozen

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • .:: friend2friends ::.
Critical error... Upload Failure - './albums/edit/'
« on: April 19, 2007, 09:55:48 pm »

Komme leider nicht weiter.... habe mir auch schon folgenden Link angeguckt...

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble

Jetzt bekomme zwar den fehler nicht mehr... aber wenn ich ein Bild uploade... will er immer die Datei db_input.php downloaden.

Vor dem Debug-Modus wollte er beim ersten Klick die upload.php downloaden... beim zweiten Klick kam halt immer diese Fehlermeldung...

Critical error... Upload Failure - './albums/edit/'

Debug Modus
Code: [Select]
USER:
------------------
Array
(
    [ID] => 008d783ea9a9a99e35a78a47bfe5e955
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Hulk
    [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 gallery_filetypes; (0s)
    [1] => select * from gallery_plugins order by priority asc; (0s)
    [2] => delete from `d004c72b`.gallery_sessions where time<1177008481 and remember=0; (0s)
    [3] => delete from `d004c72b`.gallery_sessions where time<1175802481; (0s)
    [4] => select user_id from `d004c72b`.gallery_sessions where session_id=md5("817a479a8196016828c673443fc4c1fb1813a1154eba907ee0ae20176306a174"); (0s)
    [5] => select user_id as id, user_password as password from `d004c72b`.gallery_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.avatar_url AS avatar_url, u.enable_admin_email AS notify, u.auto_subscribe_post AS auto_subscribe_post, u.auto_subscribe_comment AS auto_subscribe_comment, u.user_group+100 AS group_id FROM `d004c72b`.gallery_users AS u INNER JOIN `d004c72b`.gallery_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `d004c72b`.gallery_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 gallery_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  gallery_usergroups WHERE group_id= 1 (0s)
    [10] => update `d004c72b`.gallery_sessions set time='1177012081' where session_id=md5('817a479a8196016828c673443fc4c1fb1813a1154eba907ee0ae20176306a174'); (0s)
    [11] => SELECT user_favpics FROM gallery_favpics WHERE user_id = 1 (0.001s)
    [12] => SELECT count(*) FROM  gallery_pms WHERE owner=1 (0s)
    [13] => SELECT count(*) FROM  gallery_pms WHERE owner=1 AND showed='0' (0s)
    [14] => SELECT count(*) FROM  gallery_buddy WHERE user_id=1 (0s)
    [15] => SELECT count(*) FROM  gallery_buddy_req WHERE buddy_to=1 (0s)
    [16] => DELETE FROM gallery_banned WHERE expiry < '2007-04-19 21:48:01' (0s)
    [17] => SELECT * FROM gallery_banned WHERE (ip_addr='88.73.43.187' OR ip_addr='88.73.43.187' OR user_id=1) AND brute_force=0 (0s)
    [18] => SELECT aid, title FROM gallery_albums WHERE category < 10000 ORDER BY title (0s)
    [19] => SELECT aid, title FROM gallery_albums WHERE category='10001' ORDER BY title (0s)
    [20] => DELETE FROM gallery_temp_data WHERE timestamp < 1177008481 (0.04s)
    [21] => SELECT cat.name FROM gallery_categories cat, gallery_albums alb WHERE alb.aid='6' AND cat.cid=alb.category (0.015s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.6 - OK
------------------
mySQL version: 4.1.22-max-log
------------------
Coppermine version: 1.4.10 modpack v1(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 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
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.27
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
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 | On | On
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/php:.. | .:/usr/share/php:..
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost | me@localhost
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 | 200M | 200M
post_max_size | 200M | 200M
==========================
Page generated in 0.19 seconds - 22 queries in 0.056 seconds - Album set : ; Meta set: ;

Php-Info
Code: [Select]
System Linux dd15408 2.6.17.8-nmm1 #4 SMP Fri Jan 26 15:05:12 CET 2007 i686
Build Date Mar 5 2007 21:17:51
Configure Command './configure' '--prefix=/usr/' '--datadir=/usr/share/php/' '--bindir=/usr/bin/' '--libdir=/usr/share/' '--with-exec-dir=/usr/lib/php/bin/' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php4-config' '--enable-force-cgi-redirect' '--enable-memory-limit' '--enable-sigchild' '--enable-track-vars' '--enable-trans-sid' '--with-mysql=no' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-exif' '--enable-filepro' '--enable-ftp' '--enable-magic-quotes' '--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--with-gettext' '--with-gmp' '--with-mcrypt' '--with-mcal=/usr/' '--with-iconv' '--with-mcrypt' '--with-zlib' '--with-bz2' '--with-openssl=/usr' '--with-pear' '--enable-suhosin' '--with-config-file-path=/etc/phpCgi' '--enable-discard-path' '--enable-fastcgi'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/phpCgi/php.ini
Scan this dir for additional .ini files /etc/php4-config
additional .ini files parsed /etc/php4-config/curl.ini, /etc/php4-config/dba.ini, /etc/php4-config/domxml.ini, /etc/php4-config/gd.ini, /etc/php4-config/imap.ini, /etc/php4-config/mhash.ini, /etc/php4-config/mysql.ini, /etc/php4-config/pdflib.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib

Übet etwas hilfe würde ich mich sehr freuen!!!  ;)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Critical error... Upload Failure - './albums/edit/'
« Reply #1 on: April 20, 2007, 08:00:24 am »

Deutsche Postings sind nur im Deutschen Board erlaubt, jedoch nicht im internationalen Board (dort nur Englisch). Verschiebe Thread entsprechend.
In der Doku, auf die Du Dich beziehst steht deutlich, dass Du debug_output nicht posten sollst! Lies die Doku nochmal und tue exakt, wie dort beschrieben. Falls Du den Text lieber auf Deutsch lesen möchtest, dann lies "Upload troubleshooting auf Deutsch". Wir können (und wollen )Dir nicht helfen, wenn Du Dich nicht an die Gepflogenheiten hälst!
Logged

Shozen

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • .:: friend2friends ::.
Re: Critical error... Upload Failure - './albums/edit/'
« Reply #2 on: April 22, 2007, 08:33:40 pm »

Hallo GauGau...

erstmal sorry.... ich hoffe ich mach jetzt alles richtig ;)
Habe mir das Deutsche troubleshooting mehr mals durchgelesen... und natürlich auch das Forum durchsucht... leider ohne Erfolg...

Habe das Uploaden von zwei verschieden großen Bildern probiert...

1. Bild 1,81 MB
Keine Fehlermeldung... aber es öffnet sich immer eine Download von der "db_input.php"

2. Bild 295 KB
Fehlermeldung:
Fehler
Das gewählte Album bzw. die gewählte Datei existiert nicht!

Datei: /www/htdocs/w0084897/gallery/include/functions.inc.php - Zeile: 1356

Bild wird dennoch hochgeladen...

---------------------------------------

Und das bei folgenden Einstellungen:

Maximalgröße für das Hochladen von Dateien (kB): 5120 KB
Maximale Breite oder Höhe für das Hochladen von Bildern/Videos (in Pixel): 5120 Pixel


Test-User-Account:
Benutzername: Test
Passwort: test

Gallery-URL: http://www.friend2friends.de/gallery/
Logged

Shozen

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • .:: friend2friends ::.
Re: Critical error... Upload Failure - './albums/edit/'
« Reply #4 on: April 24, 2007, 10:56:47 pm »

Also leider hat mir das nicht geholfen...

Habe folgendes geändert wie hier beschrieben geändert... http://coppermine.svn.sourceforge.net/viewvc/coppermine/trunk/cpg1.4.x/db_input.php?r1=3338&r2=3364&diff_format=h

...dennoch das selbe Problem...

Habe mal die db_input.php die er dann zum download anbietet heruntergeladen... steht folgendes drin...

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@friend2friends.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.4 Server at www.friend2friends.de Port 80


Liegt es vielleicht an meinem Webspace...?

Habe das Modpack drauf... cpg1.4 modpack by Stramm... liegt es vielleicht daran?

Sorry für die Strapazierung deiner Nervern GauGau!!!  :-[
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Critical error... Upload Failure - './albums/edit/'
« Reply #5 on: April 25, 2007, 07:46:38 am »

Weisst Du, wofür ein DIFF zwischen Versionen gut ist? Falls nicht, dann lass die Finger weg und lade eine Original-Datei hoch.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 22 queries.