Critical Error (When trying to view Gallery) Critical Error (When trying to view Gallery)
 

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

Critical Error (When trying to view Gallery)

Started by howser, April 03, 2005, 03:55:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

howser

Hello,
    I've asked my webserver guys to look into their config, but they say it's something on my side.  On my part, I'm made no changes, but have added a category with pictures.  After that, I got this error, along with this from the debug mode.  Any ideas would be appreciated, I know that this question has been asked before, but the answers havent' led me to a solution for this particular problem.

There was an error while processing a database query.

While executing query "SELECT count(*) FROM cpg130_pictures, cpg130_albums WHERE cpg130_pictures.aid = cpg130_albums.aid AND category = 2" on 0

mySQL error: Can't open file: 'cpg130_pictures.MYI'. (errno: 145)

File: /hsphere/local/home/thiel/mcthiel.com/include/functions.inc.php - Line: 110


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

==========================
USER DATA:
------------------
Array
(
   
  • => 1
        [user_id] => 1
        [1] => 1
        [user_group] => 1
        [2] => YES
        [user_active] => YES
        [3] => rob
        [user_name] => rob
        [4] => thiel
        [user_password] => ********
        [5] => 2005-04-02 20:41:38
        [user_lastvisit] => 2005-04-02 20:41:38
        [6] => 2004-04-23 00:25:01
        [user_regdate] => 2004-04-23 00:25:01
        [7] =>
        [user_lang] =>
        [8] =>
        [user_email] =>
        [9] =>
        [user_website] =>
        [10] =>
        [user_location] =>
        [11] =>
        [user_interests] =>
        [12] =>
        [user_occupation] =>
        [13] =>
        [user_actkey] =>
        [14] => 1
        [group_id] => 1
        [15] => Administrators
        [group_name] => Administrators
        [16] => 0
        [group_quota] => 0
        [17] => 1
        [has_admin_access] => 1
        [18] => 1
        [can_rate_pictures] => 1
        [19] => 1
        [can_send_ecards] => 1
        [20] => 1
        [can_post_comments] => 1
        [21] => 1
        [can_upload_pictures] => 1
        [22] => 1
        [can_create_albums] => 1
        [23] => 0
        [pub_upl_need_approval] => 0
        [24] => 0
        [priv_upl_need_approval] => 0
        [25] => 3
        [upload_form_config] => 3
        [26] => 0
        [custom_user_upload] => 0
        [27] => 5
        [num_file_upload] => 5
        [28] => 3
        [num_URI_upload] => 3
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg130_filetypes;
        [1] => SELECT * FROM cpg130_users, cpg130_usergroups WHERE user_group = group_id AND user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '5fe76a2108de1f7b4a03b0f4275beb16'
        [2] => DELETE FROM cpg130_banned WHERE expiry < 1112492869
        [3] => SELECT * FROM cpg130_banned WHERE ip_addr='64.102.254.33' OR ip_addr='64.102.254.33' OR user_id=1
        [4] => SELECT cid, name, description, thumb FROM cpg130_categories WHERE parent = ''  ORDER BY pos
        [5] => SELECT aid FROM cpg130_albums WHERE category = 2
        [6] => SELECT count(*) FROM cpg130_pictures, cpg130_albums WHERE cpg130_pictures.aid = cpg130_albums.aid AND category = 2
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.20
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    T1Lib Support enabled
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.22
    MYSQL_MODULE_TYPE none
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.1.4
    ==========================
    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 | .: | .:
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | no value | no value
    sendmail_path | /usr/sbin/sendmail-wrap -t -i -f  webmaster@mcthiel.com | /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.338 seconds - 7 queries in 0.159 seconds - Album set :

kegobeer

Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

howser

I didn't see that one.  I followed the directions and it's resolved.  Thank you for the quick reply!

Quote from: kegobeer on April 03, 2005, 04:50:58 AM
So, this post didn't help?

http://forum.coppermine-gallery.net/index.php?topic=10409.0

kegobeer

No problem.

Searching can be tricky; it can take a while to figure out the best way to word a search phrase.  I posted a guide on how to search in the General discussion board.  You may find it helpful.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots