إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

         :: تصميم وتركيب برجولات خشب في الطائف | جودة ومتانة برجولات الباحة 0556109470 (آخر رد :ksa ads)       :: احدث موديلات تيشيرت اليوم الوطني,افضل ماركات تيشيرت اليوم الوطني (آخر رد :بوابة الصين العربية)       :: قهوجي في جدة | صبابين ومباشرين قهوة محترفين | 0539307706 (آخر رد :ksa ads)       :: كراتين للبيع: الحل الأمثل للتخزين والنقل (آخر رد :layansherief)       :: شراء مكيفات مستعملة: حل اقتصادي وعملي (آخر رد :layansherief)       :: شراء اثاث مستعمل حولي: اختيار ذكي لتجديد الأثاث (آخر رد :layansherief)       :: شراء اثاث مستعمل الجهراء: حل عملي واقتصادي (آخر رد :layansherief)       :: مقاول مجالس خارجية بالرياض بأسعار منافسة وتصاميم فاخرة 0551033861 (آخر رد :ksa ads)       :: لماذا يُعتبر استضافة ووردبريس المُدارة الخيار الأمثل لمواقع الإنترنت (آخر رد :نادية معلم)       :: طµظٹط§ظ†ط© ظˆط§ظٹطھ ظˆط³طھظ†ط¬ظ‡ط§ظˆط³ ظپظٹ ظ…طµط± – ط®ط¯ظ…ط§طھ ظ…ط¶ظ…ظˆظ†ط© ظˆظ‚ط·ط¹ ط؛ظٹط§ط± ط£طµظ„ظٹط© (آخر رد :انوش العاصي)      

 
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 08-07-2009, 09:40 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,670
عدد الـنقاط :3341
 تقييم المستوى : 2140

I've been customizing my vBulletin template, mostly by editing the navbar template and some smaller tweaks here and there to allow me to use the navbar as a sidebar element on my site. During this process I noticed that my logout link would return an error message, but still successfully log me out of the forums.

Error Message:
Code:
Parse error: syntax error, unexpected T_CLASS in /home/username/public_html/forums/includes/functions.php(2954) : eval()'d code on line 11
Looking at functions.php I found the following around line 2954. I've highlighted line 2954 in red below.
Code:
if ($vbulletin->GPC['ajax'])
{
require_once(DIR . '/includes/class_xml.php');

$xml = new vB_AJAX_XML_Builder($vbulletin, 'text/xml');
$xml->add_tag('error', $errormessage);
$xml->print_xml();
exit;
}
else
{
if ($vbulletin->noheader)
{
@header('Content-Type: text/html' . ($vbulletin->userinfo['lang_charset'] != '' ? '; charset=' . $vbulletin->userinfo['lang_charset'] : ''));
}

eval('print_output("' . fetch_template($templatename) . '");');
exit;
}
A side note: right now I'm using cookies to save my template preferences, so the template isn't being used as the main one just yet. Switching back to my main template and clicking the logout link does not result in any error message. I tried comparing the code form the main template to the modified version, but there's way too much to go through. If someone could direct me towards any template files that might be the cause that would be greatly appreciated.

Edit: I just discovered that the same error appears when I try to access an attachment.
__DEFINE_LIKE_SHARE__
رد مع اقتباس
 

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة


المواضيع المتشابهه
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
Forum When I clik on activation button/URL an error message appears: Parse error? محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 06-09-2010 07:36 PM
Forum Tags template doesn't inherit the customized template محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 04-13-2010 11:40 AM
Change default error message for "The message you have entered is to short" محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 11-26-2009 10:50 PM
How to restore the default template (without deleting a customized one)? محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 11-22-2009 01:50 PM
Error Message Template? محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 04-29-2009 10:40 PM


الساعة الآن 11:32 AM


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML