Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2010, 05:28 PM
King Justice King Justice is offline
 
Join Date: Apr 2006
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database Error

Please assist with this database error, is causing my forum not to function properly. New users can't register, people can't access PMs, and people can't view profiles...

Here it is:

PHP Code:
Database error in vBulletin 3.8.4:

Invalid SQL:

                
SELECT user.*, (user.options 512) AS invisible avatar.avatarpathNOT ISNULL(customavatar.userid) AS hascustomcustomavatar.dateline AS avatardatelinecustomavatar.filedata_thumbcustomavatar.height AS avheightcustomavatar.width AS avwidthcustomavatar.width_thumb AS avwidth_thumbcustomavatar.height_thumb AS avheight_thumb
                    
                FROM userlist 
AS userlist
                INNER JOIN user 
AS user ON (user.userid userlist.relationid)
                
LEFT JOIN avatar AS avatar ON (avatar.avatarid user.avatarid)
                
LEFT JOIN customavatar AS customavatar ON (customavatar.userid user.userid
                
                
WHERE userlist.userid 16236
                    
AND userlist.type 'buddy'
                    
AND userlist.friend 'yes'
                    
                
ORDER BY RAND()
                
LIMIT 08;

MySQL Error   Can't create/write to file '/tmp/#sql_10c6_0.MYI' (Errcode: 13)
Error Number  1
Request Date  
SundayJanuary 10th 2010 02:24:42 PM
Error Date    
SundayJanuary 10th 2010 02:24:42 PM
Script        
http://www.egamingsupply.com/forum/member.php?action=getinfo&u=16236
Referrer      http://www.egamingsupply.com/forum/index.php
IP Address    68.39.148.100
Username      
Monarch
Classname     
vB_Database
MySQL Version 
5.0.51a-community 
Reply With Quote
  #2  
Old 01-10-2010, 05:36 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not an expert, but my guess would be that you've run out of disk space for /tmp. So I guess if that's not something you know how to check or deal with yourself you'd need to contact whoever does server-type stuff for you.
Reply With Quote
  #3  
Old 01-20-2010, 10:05 PM
King Justice King Justice is offline
 
Join Date: Apr 2006
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The tmp directory is empty. And it is 777 permissions. How do I fix this? I have more than enough disk space for the site...
Reply With Quote
  #4  
Old 01-21-2010, 01:36 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, the directory could be empty but the partition full. I think "df" command shows what's going on with disk space. If there's no /tmp in the "mounted on" column then look at the row for / (unless it's linked somewhere else?)

Or maybe it's something else. Anyone?
Reply With Quote
  #5  
Old 01-21-2010, 03:07 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See this - http://dev.mysql.com/doc/refman/5.0/...ot-create.html It sounds to me like kh99 is correct about there being no space left. It's either that or a permissions thing.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04274 seconds
  • Memory Usage 2,215KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete