vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Vbulletin Database Error :: 'attachmentpermission' (https://vborg.vbsupport.ru/showthread.php?t=222531)

masterwebguy 09-05-2009 03:27 PM

Vbulletin Database Error :: 'attachmentpermission'
 
Code:

Database error in vBulletin 3.8.3:

Invalid SQL:

                SELECT pm.*, pmtext.*, userlist_ignore.userid AS ignored
                        ,icon.iconpath, icon.title AS icontitle
                FROM pm AS pm
                INNER JOIN pmtext AS pmtext ON(pmtext.pmtextid = pm.pmtextid)
                LEFT JOIN userlist AS userlist_ignore ON
                        (userlist_ignore.userid = 1 AND userlist_ignore.relationid = pmtext.fromuserid AND userlist_ignore.type = 'ignore')
                LEFT JOIN icon AS icon ON(icon.iconid = pmtext.iconid)
                WHERE pm.userid = 1
                        AND pm.messageread = 0
                ORDER BY pmtext.dateline DESC
                LIMIT 5;

MySQL Error  : Can't create/write to file '#sql_1e6a_0.MYD' (Errcode: 17)
Error Number  : 1
Request Date  : Saturday, September 5th 2009 @ 10:20:59 AM
Error Date    : Saturday, September 5th 2009 @ 10:20:59 AM
Script        : http://honleague.com/usercp.php
Referrer      : http://honleague.com/usercp.php
IP Address    : 67.181.59.218
Username      : HunteR_
Classname    : vB_Database
MySQL Version : 5.0.45

I went to mysql admin to see if it was a database issue, and I got this

Code:

Error

SQL query:

SHOW FULL FIELDS FROM `attachmentpermission` ;

MySQL said: Documentation
#1 - Can't create/write to file '#sql_1e6a_0.MYD' (Errcode: 17)

I looked it up everywhere and people said it could be related to the tmp dir not deleting files properly but i deleted them all, even made the directory again and cmod 777

Does not resolve.

Ideas?

snakes1100 09-05-2009 03:38 PM

Set sql to use a custom tmp dir and then restart sql

tmpdir = /home/tmp

or whatever you want to use, make sure to chown it to mysql user as well as 777 it if need be.

Added note:
Make sure you init script doesnt have a tmpdir hard coded in it as well if the temp dir doesnt change.


All times are GMT. The time now is 06:24 AM.

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.01370 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete