| |
اقتباس: |
المشاركة الأصلية كتبت بواسطة 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-color: white; color: black; }
#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 { font: 8pt/11pt verdana, arial, sans-serif; }
a:link { font: 8pt/11pt verdana, arial, sans-serif; color: red; }
a:visited { font: 8pt/11pt verdana, arial, sans-serif; color: #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="******.******** = ******.********;">*******</a> button in your web browser.</li>
<li>Open the <a href="/">www.aser-al7b.com</a> home page, then try to open another page.</li>
<li>Click the <a href="java******:history.back(1)">Back</a> button to try another link.</li>
</ul>
</td>
</tr>
<tr>
<td class="bodytext" colspan="2">The [url]www.xxxxx.com[/url] forum technical staff have been notified of the error, though you may <a href="mailto:webmaster@xxxxx.com">contact them</a> if the problem persists.</td>
</tr>
<tr>
<td class="bodytext" colspan="2"> <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.announcementid, startdate, title, announcement.views,
user.username, user.userid, user.usertitle, user.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 <= 1160075737
AND enddate >= 1160075737
AND forumid IN (48,1,-1)
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1;
MySQL Error : Column 'title' in field list is ambiguous
Error Number : 1052
Date : Thursday, October 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: , announcement.title,
تحياتي لك اخي الفاضل وخبرني بالنتيحة
__________________
Swalif (for) ever |
02-12-2006, 11:31 PM
| | | | |