اقتباس:
المشاركة الأصلية كتبت بواسطة Sawah
السلام عليكم
أخوي أحمد الجدول غير مكرر
وحذفته والجدول ينشأ بعد الحذف تلقائياً
ولا يقبل الإنشاء بواسطة الأمر اللي أعطيتني إياه
وما زالت الأخطاء توصلني على الإيميل كود PHP: خطأ في قاعدة بيانات vBulletin 3.6.8:
Invalid SQL:
SELECT thread.threadid, thread.forumid, thread.title, postusername, postuserid, thread.lastpost, thread.replycount, forum.title AS forumtitle
,post.pagetext AS preview
FROM thread AS thread
INNER JOIN forum AS forum ON (forum.forumid = thread.forumid)
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
WHERE thread.threadid IN (1353, 2717, 12039, 3080, 11186) AND thread.visible = 1
AND forum.password = ''
ORDER BY lastpost DESC;
خطأ MySQL : MySQL server has gone away
رقم الخطأ : 2006
كود PHP: خطأ في قاعدة بيانات vBulletin 3.6.8:
Invalid SQL:
SELECT user.username, user.usergroupid, user.membergroupids,
session.userid, session.inthread, session.lastactivity,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid,
IF(user.options & 512, 1, 0) AS invisible
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1211694731
ORDER BY username ASC, lastactivity DESC;
خطأ MySQL : MySQL server has gone away
رقم الخطأ : 2006
كود PHP: خطأ في قاعدة بيانات vBulletin 3.6.8:
Invalid SQL:
INSERT IGNORE INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate)
VALUES
('b71318c82667ef2bcf4d56d73069c90d', 0, '78.154.211.99', '90e201461f64b2b00250b75c6c18c359', 1211701651, '/vb/showthread.php?p=1011180', 0, 0, 0, 4, 53729, 0, 0, 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1)', 0, 0);
خطأ MySQL : MySQL server has gone away
رقم الخطأ : 2006
كود PHP: خطأ في قاعدة بيانات vBulletin 3.6.8:
Invalid SQL:
INSERT IGNORE INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate)
VALUES
('b71318c82667ef2bcf4d56d73069c90d', 0, '78.154.211.99', '90e201461f64b2b00250b75c6c18c359', 1211701651, '/vb/showthread.php?p=1011180', 0, 0, 0, 4, 53729, 0, 0, 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1)', 0, 0);
خطأ MySQL : MySQL server has gone away
رقم الخطأ : 2006
| جرب التالي:
اضف الأمر في قاعدة البيانات وبعده اضف التالي: اقتباس: | CREATE TABLE `session` (
`sessionhash` char(32) NOT NULL default '',
`userid` int(10) unsigned NOT NULL default '0',
`host` char(15) NOT NULL default '',
`idhash` char(32) NOT NULL default '',
`lastactivity` int(10) unsigned NOT NULL default '0',
`location` char(255) NOT NULL default '',
`useragent` char(100) NOT NULL default '',
`styleid` smallint(5) unsigned NOT NULL default '0',
`languageid` smallint(5) unsigned NOT NULL default '0',
`loggedin` smallint(5) unsigned NOT NULL default '0',
`inforum` smallint(5) unsigned NOT NULL default '0',
`inthread` int(10) unsigned NOT NULL default '0',
`incalendar` smallint(5) unsigned NOT NULL default '0',
`badlocation` smallint(5) unsigned NOT NULL default '0',
`bypass` tinyint(4) NOT NULL default '0',
`profileupdate` smallint(5) unsigned NOT NULL default '0', PRIMARY KEY (`sessionhash`)
) TYPE=HEAP; |
__________________
دعم فني - تطوير - ترقيه - حماية - تركيب > وبأسعار مناسبه Se@Marsavb.com |