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: Query Error  (Read 3384 times)

0 Members and 1 Guest are viewing this topic.

MadMoon

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Query Error
« on: September 16, 2005, 01:35:50 pm »

Hi there,

my gallery worked fine for some weeks but now all of a sudden I get this error message. But it only appears in the admin-area when I want to edit for example the album properties. For normal guests or users it works fine.

I already searched for a solution but I repaired all db tables and there should be also enough space on the server.

Thanks a lot for you help!

Quote
While executing query "SELECT aid, CONCAT('(', user_name, ') ', title) AS title FROM cpg133_albums AS a INNER JOIN cpg133_users AS u ON category = (10000 + user_id) ORDER BY title" on 0

mySQL error: Got error 28 from table handler

Quote
USER:
------------------
Array
(
    [ID] => e5693e84da25c5c9fe0dee7e6ed78cab
    [am] => 1
    [liv] => Array
        (
           
  • => 1030
  • [1] => 1031
                [2] => 1017
                [3] => 1033
                [4] => 1032
            )

       
[lap] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => Marc
    [user_password] => ********
    [user_lastvisit] => 2005-09-16 13:29:02
    [user_regdate] => 2005-06-07 09:19:30
    [user_group_list] =>
    [user_email] => xxxxxxxxxxxxxx
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 10
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg133_filetypes;
  • [1] => SELECT * FROM cpg133_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'f267baf18443a2424b447a03fbddcca4'
        [2] => 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 cpg133_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg133_banned WHERE expiry < '2005-09-16 13:31:49'
        [5] => SELECT * FROM cpg133_banned WHERE ip_addr='xxx.1xx.81.157' OR ip_addr='xxx.1xx.81.157' OR user_id=1
        [6] => SELECT * FROM cpg133_albums WHERE aid='50'
        [7] => SELECT aid, title FROM cpg133_albums WHERE category < '10000' ORDER BY title
        [8] => SELECT aid, CONCAT('(', user_name, ') ', title) AS title FROM cpg133_albums AS a INNER JOIN cpg133_users AS u ON category = (10000 + user_id) ORDER BY title
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[album] => 50
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.3.4 - OK
------------------
mySQL version: 4.0.18
------------------
Coppermine version: 1.3.3
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.15 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read 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.18
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
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 | Off
safe_mode_exec_dir | /home/htdocs/empty/ | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /home/htdocs/empty/ | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | . | .:
open_basedir | /home/htdocs/web27/html/:/home/htdocs/web27/phptmp/:/home/htdocs/web27/files/:/home/htdocs/web27/atd/ | /tmp
==========================
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 | 20M | 20M
==========================
Page generated in 0.644 seconds - 9 queries in 0.046 seconds - Album set :
« Last Edit: September 20, 2005, 01:20:33 am by GauGau »
Logged

Nibbler

  • Guest
Re: Query Error
« Reply #1 on: September 16, 2005, 01:43:34 pm »

Error 28 is lack of space, maybe on whatever drive your database is physically stored on or maybe in /tmp. The error would appear only on some pages as most of the db operations can be done in memory so hd space is not a factor.  Either way it is a server issue and not related to coppermine. Contact your host for a resolution.
Logged

MadMoon

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Query Error
« Reply #2 on: September 16, 2005, 01:50:38 pm »

ok ... I will check the server again.
Thank you for your fast reply.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.