versch. Probs. nach Installation versch. Probs. nach Installation
 

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

versch. Probs. nach Installation

Started by RoyMappay, September 17, 2007, 04:39:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RoyMappay

Hola,
hab die cpg1413 installiert siehe http://handball.tvholz.de/finished_project/galerie.htm
. Die Allgemeinen Einstellungen kann ich noch ändern aber ansonsten kommt bei Datei hochladen, Admin Werkzeuge, Benutzer, Neuste Uploads, Neuste Kommentare etc. die Fehlermeldung:
Internal Server Error

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

Folgendes bekomme ich als Debug-Info:
USER:
------------------
Array
(
    [ID] => 670a0e6236329c34c2c2c21e829b2524
    [am] => 1
    [lang] => german
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Admin
    [groups] => Array
        (
           
  • => 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
    (
       
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0.001s)
        [1] => select * from cpg14x_plugins order by priority asc; (0.001s)
        [2] => delete from `d005e4db`.cpg14x_sessions where time<1190036281 and remember=0; (0s)
        [3] => delete from `d005e4db`.cpg14x_sessions where time<1188830281; (0s)
        [4] => select user_id from `d005e4db`.cpg14x_sessions where session_id=md5("0e551ba417a58468950587fbc47360fcad5130ba025e37e2fcfda4314a376790"); (0s)
        [5] => select user_id as id, user_password as password from `d005e4db`.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 `d005e4db`.cpg14x_users AS u INNER JOIN `d005e4db`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `d005e4db`.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) (0.001s)
        [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
        [10] => update `d005e4db`.cpg14x_sessions set time='1190039881' where session_id=md5('0e551ba417a58468950587fbc47360fcad5130ba025e37e2fcfda4314a376790'); (0s)
        [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg14x_banned WHERE expiry < '2007-09-17 16:38:01' (0s)
        [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='91.66.99.235' OR ip_addr='91.66.99.235' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = ''  ORDER BY pos (0.001s)
        [15] => SELECT aid FROM cpg14x_albums WHERE category = 2 (0s)
        [16] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0s)
        [17] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '2' (0.001s)
        [18] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_albums as a LEFT JOIN cpg14x_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,1 (0s)
        [19] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (1)GROUP BY a.aid (0s)
        [20] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '2'  ORDER BY pos (0.001s)
        [21] => SELECT aid FROM cpg14x_albums as a WHERE category>=10000 (0s)
        [22] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
        [23] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '1'  ORDER BY pos (0.001s)
        [24] => SELECT aid FROM cpg14x_albums as a WHERE category = '0' (0s)
        [25] => SELECT count(*) FROM cpg14x_albums as a WHERE 1 (0s)
        [26] => SELECT count(*) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
        [27] => SELECT count(*) FROM cpg14x_comments as c LEFT JOIN cpg14x_pictures as p ON c.pid=p.pid LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 (0s)
        [28] => SELECT count(*) FROM cpg14x_categories WHERE 1 (0s)
        [29] => SELECT sum(hits) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON p.aid=a.aid WHERE 1 (0s)
        [30] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
        [31] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '0' (0.001s)
        [32] => SELECT COUNT(*) from cpg14x_pictures WHERE approved = 'YES'  (0s)
        [33] => SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8 (0s)
        [34] => SELECT COUNT(*) from cpg14x_pictures WHERE approved = 'YES'  (0s)
        [35] => SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8 (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.6 - OK
    ------------------
    mySQL version: 4.1.22-max-log
    ------------------
    Coppermine version: 1.4.13(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 | exec,system,passthru,shell_exec,popen,escapeshellcmd,proc_open,proc_nice,ini_restore | exec,system,passthru,shell_exec,popen,escapeshellcmd,proc_open,proc_nice,ini_restore
    file_uploads | On | On
    include_path | .:/usr/share/php:.. | .:/usr/share/php:..
    open_basedir | /www/htdocs/w00841ac/:/tmp:/usr/bin:/www/htdocs/w00841ac:/bin:/usr/local/bin:/usr/share/php | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost | me@localhost
    sendmail_path | /usr/sbin/sendmail -t -i -f wwwrun@handball.tvholz.de -F wwwrun@handball.tvholz.de | /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.487 seconds - 36 queries in 0.009 seconds - Album set : ; Meta set: ;


    Was hab ich falsch gemacht? Oder was stimmt nicht?

    Grüße RoyMappay

Joachim Müller


RoyMappay

Quote from: GauGau on September 17, 2007, 06:17:23 PM
Tatsächliche URL ist http://handball.tvholz.de/cpg1413/index.php.
http://forum.coppermine-gallery.net/index.php?topic=40997.0
Bitte nicht ungefragt debug_output posten!

Zuerst mal sorry für falschen Link.
Dann noch ein Sorry das ich das angegebene Topic die Nacht schon gelesen hatte und anscheinend doch nicht.
Hier die Daten für test Account:
User: test
Pass: user

lamama

QuoteWas hab ich falsch gemacht? Oder was stimmt nicht?

Gute Frage... Bin etwas ratlos. Was sagen denn die server logs? Insbesondere das error_log des Apachen?

RoyMappay

Hab vom Webmaster im Moment nur die access-log bekommen, aber die dürfte wohl nicht viel weiterhelfen,oder?

lamama

#5
Wenn's nen guter "Webmaster" bzw. Server-Admin ist, würd ihn ein Interner Server Error etwas nervöser machen und er sich den Fehler mal live anschauen (und dazu möglichst live das error_log verfolgen).

In der Tat wird das error_log das spannende sein.

[Nachtrag:]
Ich befürchte, ich hab eurem Webmaster grad unrecht getan: ich vermute mal, ihr habt bei all-inkl keinen Server, sondern lediglich Webspace gemietet - und all-inkl liefert AFAIK nur access_logs, keine errorlogs.

Da deine Gallery noch völlig leer ist: installier CPG nochmal komplett neu - upload aller Dateien, am besten in ein neues Verzeichnis (und binde es erst in die restliche Seite ein, wenn's läuft). So schließt du schon mal kaputte Dateien aus. Am besten den Testlauf auch nur mit dem default-Theme machen.

Notfalls kann man auch den (in der Regel freundlichen und kompetenten) Telefon-Support von all-inkl.com fragen, falls sich der Server Error nicht anders aus der Welt bringen läßt.

RoyMappay

Yipppie..... die Galerie läuft.
Hab eine andere Version genommen und halt neu installiert.
Danke für eure Mühen.

Könnt Topic closen!

lg RoyMappay  :D