vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   database error please help (https://vborg.vbsupport.ru/showthread.php?t=101283)

VBUsers 11-21-2005 05:38 PM

database error please help
 
i get this when someone trys to empty theyre PM folder why?

Invalid SQL:

SELECT pmid, pmtextid
FROM smora_pm AS pm
LEFT JOIN smora_pmtext AS pmtext USING (pmtextid)
WHERE folderid = 0
AND userid = 2989
AND dateline < 1132581876;

MySQL Error : Column: 'pmtextid' in field list is ambiguous
Error Number : 1052
Date : Monday, November 21st 2005 @ 08:04:54 AM
Script : http://www.lowandloud.com/private.php
Referrer : http://www.lowandloud.com/private.ph...der&folderid=0
IP Address : 00000000
Username : user

filburt1 11-21-2005 06:09 PM

You need to specifically choose a table when referencing the pmtextid colum given, according to the query, it exists in both smora_pmtext and smora_pm.

VBUsers 11-21-2005 07:38 PM

Quote:

Originally Posted by filburt1
You need to specifically choose a table when referencing the pmtextid colum given, according to the query, it exists in both smora_pmtext and smora_pm.


ok now how can i do that. can you be so kind as to give me the steps.?

Marco van Herwaarden 11-21-2005 10:18 PM

Check the bugtracker (or maybe it was the forum) at vb.com.

A fix was posted by Andreas some time ago.

Think it was just removing the ', pmtextid'


All times are GMT. The time now is 02:46 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.01136 seconds
  • Memory Usage 1,714KB
  • 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)bbcode_quote_printable
  • (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