vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Solutions to this ERROR (https://vborg.vbsupport.ru/showthread.php?t=79686)

lasto 04-09-2005 06:42 PM

Solutions to this ERROR
 
Database error

Invalid SQL:
SELECT filename, filesize, postid, attachment.userid,
filedata,
dateline,
visible, mimetype, NOT ISNULL(deletionlog.primaryid) AS isdeleted,doitrepondre
FROM attachment AS attachment
LEFT JOIN attachmenttype AS attachmenttype ON(attachmenttype.extension = SUBSTRING_INDEX(attachment.filename, '.', -1))
LEFT JOIN deletionlog AS deletionlog ON(attachment.postid = deletionlog.primaryid AND type = 'post')
WHERE attachmentid = 4783

mysql error: MySQL client run out of memory

mysql error number: 2008

Board was running fine all week - have added nothing or changed anything then today get the error above when trying to download a rar.
if i try to upload a rar to the board it times out and gives me page not displayed but liek said everything was fine till today.

Any solutions - have emailed host regarding it but waiting on reply so wondering what you lot make of it ??

filburt1 04-09-2005 06:56 PM

MySQL is likely configured poorly, or the server itself has too little memory. In general, your host will need to fix this error.

As a slight hunch, back up (if you need it) and then delete the post deletion log.

lasto 04-09-2005 07:03 PM

cheers filburt seems host has now fixed it as attachments download fine now but can u tell me why delete post deletion log ??

filburt1 04-09-2005 07:10 PM

I was thinking that the joining of the two tables was what consumed so much memory, possibly. By freeing up one of them, there would be a smaller virtual table used for the query.


All times are GMT. The time now is 02:41 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.00964 seconds
  • Memory Usage 1,707KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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