Advanced search  

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

Pages: [1]   Go Down

Author Topic: "Error while processing a database query"  (Read 4605 times)

0 Members and 1 Guest are viewing this topic.

olti

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • Galeria Shqiptare - Albanian Gallery
"Error while processing a database query"
« on: June 11, 2006, 10:00:52 pm »

This below is what I see now in my CPG:
I'm still using: Gallery 1.3.0 Beta3- Build 2004-04-02 18:30 h UTC+1 (public beta tester version)

There was an error while processing a database query.


While executing query "SELECT count(*) FROM cpg130_pictures as p, cpg130_albums as a WHERE p.aid = a.aid AND category >= 10000" on 0

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



File: /home/httpd/vhosts/zeriyt.com/httpdocs/galeria/include/functions.inc.php - Line: 110


Code: [Select]
USER:
------------------
Array
(
    [ID] => ee3472460116e03e590255b5e232a49e
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [0] => 2
    [user_id] => 2
    [1] => 1
    [user_group] => 1
    [2] => YES
    [user_active] => YES
    [3] => ***
    [user_name] => ****
    [4] => 0112371
    [user_password] => ********
    [5] => 2006-06-11 14:59:41
    [user_lastvisit] => 2006-06-11 14:59:41
    [6] => 2004-05-30 12:32:57
    [user_regdate] => 2004-05-30 12:32:57
    [7] => 2
    [user_lang] => 2
    [8] => ***@yahoo.com
    [user_email] => ***@yahoo.com
    [9] =>
    [user_website] =>
    [10] =>
    [user_location] =>
    [11] =>
    [user_interests] =>
    [12] =>
    [user_occupation] =>
    [13] => fce3c556cad49639b63a5469fd1802c4
    [user_actkey] => fce3c556cad49639b63a5469fd1802c4
    [14] => 1
    [group_id] => 1
    [15] => Administrator
    [group_name] => Administrator
    [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] => 7
    [num_file_upload] => 7
    [28] => 7
    [num_URI_upload] => 7
)

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

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.2 - OK
------------------
mySQL version: 4.1.19
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
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.1.19
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
==========================
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 | /home/httpd/vhosts/zeriyt.com/httpdocs:/tmp | 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.2 seconds - 7 queries in 0.111 seconds - Album set :


Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: "Error while processing a database query"
« Reply #1 on: June 11, 2006, 10:08:16 pm »

There's an issue with mysql. Search the error message (without the punctuation).

Other than that, there is no support for beta products. You must upgrade to the latest stable version, 1.4.8.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.