عرض مشاركة واحدة
واحد من الناس
تاريخ التسجيل: Jun 2005-
#44 (permalink)  

اقتباس:
المشاركة الأصلية كتبت بواسطة Rewish-Maxer
مشكلة اخواني تعبتني اتمني اجد الحل

عند دخول قسم تظهر هذا الرسالة مع اني استبدلت النسخة كاملة وبردك نفس المشكلة

كود PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html>
<
head>
    <
title>منتديات  Database Error</title>
    <
meta **********="Content-Type" content="text/html; charset=ISO-8859-1" />
    <
style type="text/css">
    <!--    
    
body background-colorwhitecolorblack; }
    
#container { width: 400px; }
    #message   { width: 400px; color: black; background-color: #FFFFCC; }
    #bodytitle { font: 13pt/15pt verdana, arial, sans-serif; height: 35px; vertical-align: top; }
    
.bodytext  font8pt/11pt verdanaarialsans-serif; }
    
a:link     font8pt/11pt verdanaarialsans-serifcolorred; }
    
a:visited  font8pt/11pt verdanaarialsans-serifcolor#4e4e4e; }
    
-->
    </
style>
</
head>
<
body>
<
table cellpadding="3" cellspacing="5" id="container">
<
tr>
    <
td><img src="./image.php?type=dberror" alt="Database Error" width="48" height="48" /></td>
    <
td id="bodytitle" width="100%">Database error</td>
</
tr>
<
tr>
    <
td class="bodytext" colspan="2">The منتديات database has encountered a problem.</td>
</
tr>
<
tr>
    <
td colspan="2"><hr /></td>
</
tr>
<
tr>
    <
td class="bodytext" colspan="2">
        
Please try the following:
        <
ul>
            <
li>Load the page again by clicking the <a href="#" onclick="******.******** = ******.********;">*******</abutton in your web browser.</li>
            <
li>Open the <a href="/">www.aser-al7b.com</ahome pagethen try to open another page.</li>
            <
li>Click the <a href="java******:history.back(1)">Back</abutton to try another link.</li>
        </
ul>
    </
td>
</
tr>
<
tr>
    <
td class="bodytext" colspan="2">The [url]www.xxxxx.com[/urlforum technical staff have been notified of the errorthough you may <a href="mailto:webmaster@xxxxx.com">contact them</a> if the problem persists.</td>
</
tr>
<
tr>
    <
td class="bodytext" colspan="2">&nbsp;<br />We apologise for any inconvenience.</td>
</
tr>
</
table>

<
form><textarea rows="15" cols="70" wrap="off" id="message">Database error in vBulletin 3.6.0:

Invalid SQL:

        
SELECT
            announcement
.announcementidstartdatetitleannouncement.views,
            
user.usernameuser.useriduser.usertitleuser.customtitle
            
NOT ISNULL(announcementread.announcementid) AS readannounce
        FROM announcement 
AS announcement
        LEFT JOIN announcementread 
AS announcementread ON (announcementread.announcementid announcement.announcementid AND announcementread.userid 1)
        
LEFT JOIN user AS user ON(user.userid announcement.userid)
        
WHERE startdate &lt;= 1160075737
            
AND enddate &gt;= 1160075737
            
AND forumid IN (48,1,-1)
        
ORDER BY startdate DESCannouncement.announcementid DESC
        LIMIT 1
;

MySQL Error  Column 'title' in field list is ambiguous
Error Number 
1052
Date         
ThursdayOctober 5th 2006 10:15:37 PM
******       : [url]http://www.xxxxxx.com/vb/forumdisplay.php?f=48[/url]
Referrer     : [url]http://www.xxxxxx.com/vb/[/url]
IP Address   196.204.249.161
Username     
XXXXXX
Classname    
vb_database</textarea></form>

</
body>
</
html

الحل

ادخل على forumdisplay.php

وابحث عن :
كود PHP:
title
واستبدله ب :
كود PHP:
announcement.title
تحياتي لك اخي الفاضل وخبرني بالنتيحة






__________________
Swalif (for) ever
ahmed-samara غير متواجد حالياً   قديم 02-12-2006, 11:31 PM
رد مع اقتباس