Kritischer Fehler bei Bild upload Kritischer Fehler bei Bild upload
 

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

Kritischer Fehler bei Bild upload

Started by ösi, September 14, 2006, 10:06:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ösi

Habe folgendes Prob:
Habe version 1.4.9 installiert und alles eingerichtet. Habe nun versucht Bilder über ,,Bilder uploaden" einzufügen. Erstes hat geklappt. Beim zweiten kommt aber der Fehler:

Kritischer Fehler –  Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten

Dieser steht dann auf fast allen Seiten.

Ich hoffe ich poste das hier richtig:
Link: http://oe-pinscher-klub.at/fotoalbum/index.php
Tester
123456
Danke für einen Tipp!


While executing query "INSERT INTO cpg149_pictures (aid, filepath, filename, filesize, to-tal_filesize, pwidth, pheight, ctime, owner_id, owner_name, title, caption, keywords, appro-ved, user1, user2, user3, user4, pic_raw_ip, pic_hdr_ip, position) VALUES ('1', 'userpics/', 'yoko2.jpg', '140627', '177562', '709', '688', '1158220428', '1', 'webmaster','Gini von der Bir-kenheide', '', '', 'YES', '', '', '', '', '80.243.168.98', '80.243.168.98', '0')" on 0

mySQL error: Incorrect key file for table 'cpg149_pictures'; try to repair it

Datei: /home/www/web491/html/fotoalbum/include/functions.inc.php - Zeile: 249




Debug Info:

USER:
------------------
Array
(
    [ID] => 188f3251d7952b3898181aa053bd64a8
    [am] => 1
    [lang] => german
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => webmaster
    [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 cpg149_filetypes; (0s)
        [1] => select * from cpg149_plugins order by priority asc; (0s)
        [2] => delete from `usr_web491_1`.cpg149_sessions where time<1158216828 and re-member=0; (0s)
        [3] => delete from `usr_web491_1`.cpg149_sessions where time<1157010828; (0s)
        [4] => select user_id from `usr_web491_1`.cpg149_sessions where sessi-on_id=md5("64795f12bbb6dff544da90976210f7fadb1f4ea10791bc6bd26dff4a4066759b"); (0s)
        [5] => select user_id as id, user_password as password from `usr_web491_1`.cpg149_users where user_id=1 (0s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS pass-word, u.user_group+100 AS group_id FROM `usr_web491_1`.cpg149_users AS u INNER JOIN `usr_web491_1`.cpg149_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `usr_web491_1`.cpg149_users AS u WHERE u-ser_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 cpg149_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg149_usergroups WHERE group_id= 1 (0s)
        [10] => update `usr_web491_1`.cpg149_sessions set time='1158220428' where sessi-on_id=md5('64795f12bbb6dff544da90976210f7fadb1f4ea10791bc6bd26dff4a4066759b'); (0s)
        [11] => SELECT user_favpics FROM cpg149_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg149_banned WHERE expiry < '2006-09-14 07:53:48' (0s)
        [13] => SELECT * FROM cpg149_banned WHERE (ip_addr='80.243.168.98' OR ip_addr='80.243.168.98' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT category FROM cpg149_albums WHERE aid='1' (0s)
        [15] => INSERT INTO cpg149_pictures (aid, filepath, filename, filesize, total_filesize, pwidth, pheight, ctime, owner_id, owner_name, title, caption, keywords, approved, user1, user2, user3, user4, pic_raw_ip, pic_hdr_ip, position) VALUES ('1', 'userpics/', 'yoko2.jpg', '140627', '177562', '709', '688', '1158220428', '1', 'webmaster','Gini von der Birkenheide', '', '', 'YES', '', '', '', '', '80.243.168.98', '80.243.168.98', '0') (0.001s)
        [16] => SELECT COUNT(*) FROM cpg149_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [album] => 1
        [MAX_FILE_SIZE] => 1048576
        [title] => Gini von der Birkenheide
        [caption] =>
        [keywords] =>
        [event] => picture
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.11 - OK
    ------------------
    mySQL version: 4.1.18
    ------------------
    Coppermine version: 1.4.9(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: 2.0 or higher
    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:
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.1.18
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE -I/usr/local/mysql/include/mysql
    MYSQL_LIBS -L/usr/local/mysql/lib/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.1
    Linked Version 1.2.1
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | On | On
    safe_mode_exec_dir | /home/www/empty/ | no value
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | /home/www/empty/ | no value
    sql.safe_mode | Off | Off
    disable_functions | show_source | show_source
    file_uploads | On | On
    include_path | . | .:/usr/local/php-4.3.11/lib/php
    open_basedir | /home/www/web491/html/:/home/www/web491/phptmp/:/home/www/web491/files/:/home/www/web491/atd/ | 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 | 60 | 60
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.658 seconds - 17 queries in 0.001 seconds - Album set : ; Meta set: ;



Joachim Müller


ösi

heißt es das die datei zu groß ist, oder wie kann man das übersetzen?? oder wie kann ich das beheben??

tschuldige, für mein unwissen...

Stramm

QuotemySQL error: Incorrect key file for table 'cpg149_pictures'; try to repair it

carefully read the actual error message... seems like the pictures table got corrupted or can't be saved. Try to repair it using your server control panel (if you have one) or a tool like phpmyadmin. If that doesn't help do as GauGau suggested and read the thread he linked to. Possibly /tmp is full

edit: schein ich schlafe... ist ja deutsch hier. Also, den table reparieren oder, wenn das nicht klappt, mal nach /tmp kucken

Joachim Müller