الويب العربي

الويب العربي (http://www.arabwebtalk.com/index.php)
-   قسم المنتديات (http://www.arabwebtalk.com/forumdisplay.php?f=112)
-   -   مشكلة في ( البحث عن المواضيع الجديده ) !! (http://www.arabwebtalk.com/showthread.php?t=39379)

amorat 18-10-2006 11:07 PM

مشكلة في ( البحث عن المواضيع الجديده ) !!
 
مشكلة في ( البحث عن المواضيع الجديده ) !!


السلام عليكم

اخواني الكرام

بسبب التحديثات الاخيرة لـ قواعد بيانات السيرفر والتقطيعات اللي فيها

حدثت مشكلة في زر ( البحث عن المواضيع الجديده )

فبعد الضغط عليها تظهر هالرسالة :

=========================

Invalid SQL:
SELECT DISTINCT post.userid,
thread.threadid,thread.threadid AS postid,thread.title AS threadtitle,thread.iconid AS threadiconid,thread.replycount,
thread.views,thread.pollid,thread.open,thread.last post AS postdateline,thread.lastpost,thread.lastposter,
forum.forumid,forum.security AS security,forum.title AS forumtitle,forum.allowicons,attach,
thread.postusername AS usrname,
user.userid AS postuserid,
threadicon.iconpath AS threadiconpath,threadicon.title AS threadicontitle
FROM
thread,forum
LEFT JOIN user ON user.username=thread.postusername
LEFT JOIN icon AS threadicon ON thread.iconid=threadicon.iconid
LEFT JOIN post ON (thread.threadid = post.threadid AND post.userid = '1' AND post.visible = 1)
WHERE
thread.forumid=forum.forumid AND thread.threadid IN (0)
ORDER BY
thread.lastpost DESC,thread.lastpost DESC
mysql error: Unknown column 'thread.postusername' in 'on clause'
mysql error number: 1054
Date: Wednesday 18th of October 2006 05:33:40 AM
Script: http://www.amorat.net/vb/vb/search....&searchid=14 511
Referer:
=========================

فهل المشكلة في جدول المواضيع thread او في جدول المرفقات ؟؟

وتفسيركم للسطر :

Unknown column 'thread.postusername' in 'on clause'

؟؟؟؟؟؟

والله يعطيك الف عافيه

support_3arabawys 19-10-2006 04:19 AM

جرب repair لقواعد البيانات

واتمنى ايضا وضع رابط منتداك

amorat 19-10-2006 05:41 AM

سويت اصلاح للجداول من لوحة التحكم

وسويت تحديث للعدادات ..

ونفس المشكلة ..

المشكلة اللي مو فاهمها هو ::

اني سويت استرجاع لقاعدة البيانات اللي قبل اسبوع .. ونفس المشكلة

؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ ؟؟؟؟؟؟؟؟؟

http://www.amorat.net/vb

support_3arabawys 19-10-2006 06:16 AM

رقم اصدار منتداك؟

amorat 19-10-2006 10:18 AM

لم تحل المشكلة الي الان

لكن الحمد لله عرفت السبب !!

وهي بسبب تحديث قواعد بيانات السيرفر الي mysql 5.x.x

==================

وتجد على هالرابط مقال ممتع عن المشكلة :

http://hosting.infomaniak.ch/suppor...odeQuestion= 312

==================

Here is an example:

drop table if exists table1;
drop table if exists table2;
drop table if exists table3;

create table table1 ( t1 int(11) );
create table table2 ( t2 int(11) );
create table table3 ( t3 int(11) );

insert into table1 (t1) values (1);
insert into table2 (t2) values (1);
insert into table3 (t3) values (1);

select count(*) from table1, table2 left join table3 on table3.t3 = table1.t1;

MYSQL 5.0.x : will respond ERROR 1054 (42S22): Unknown column 'table1.t1' in 'on clause'

MYSQL 4.x.x : will reply that it has been successful 1 row in set (0.01 sec)

==================

ومشكور اخوي support_3arabawys

على مساعدتك واقدر لك وقتك الثمين الذي اخذت منه الكثير

وكثر الله من امثالك

وكل عام وانتم بالف خير

support_3arabawys 19-10-2006 05:56 PM

الحمد لله اخي
كل عام وانت بالف خير اخي


جميع الأوقات بتوقيت مكة المكرمة. الساعة الآن » 01:56 AM.

Powered by vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © ArabWebTalk.Com 2004-2012