vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   mysql error number: 1054 (https://vborg.vbsupport.ru/showthread.php?t=59454)

chrisvonc 12-31-2003 02:12 AM

mysql error number: 1054
 
Hi,

I did a restore on my test forum and now I get this message when I try to veiw the posts in a thread. Any ideas?

Thanks!

Chris

-------------------------

Database error in vBulletin 2.3.2:

Invalid SQL: SELECT attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter,post.postid FROM attachment LEFT JOIN post on attachment.postid=post.postid WHERE attachment.attachmentid=0
mysql error: Unknown column 'attachment.postid' in 'on clause'

mysql error number: 1054

ajk 12-31-2003 02:20 AM

Hi Chris,

How are you logging in?

I think that is a log in or permission error.

chrisvonc 12-31-2003 02:32 AM

Nevermind...

Sorry, I had the vB3 Attachments hack installed and reran all 5 of it's queries and it fixed it. Any idea why the back up and restore would not have restored them?

ajk 12-31-2003 04:39 AM

I don't know. That's why I always use shell access.
Much simpler to reinstall the sql files.

In 2.3.3 as you know, the importer is a hack.
I don't use that at this time.

Glad you worked it out though.

Sorry.

Happy New Year!

chrisvonc 12-31-2003 09:20 AM

Hi Andy,

Thanks for your idea. I did not refresh the page when I made my 2nd post and didnt see that you had replied. I was logged in under an admin account.

I have never been able to SSH/Telent succesfully into my production host so I have had to go with a 3rd party restore solution (MySQL backups manager by Indexsoft) when I need to recover. I didnt have too much luck with getting the restore hacks working when I tried them but that was a while ago.

Thanks again, You too, have a happy new year.

Chris


All times are GMT. The time now is 03:04 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.01802 seconds
  • Memory Usage 1,715KB
  • 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
  • (5)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