
در خواست رفع ارور قالب





نوشته : m0hammad
سلام
بچه ها من یه قالب برای وبم خریدم یه قالب vip که یه مشکلی که داره اینه که وقتی قالب فعال میشه پیشخوان وردپرس سفید میشه وقتی رفرش می کنم صفحه مرورگر رو پیشخوان لود میشه ولی وقتی که این قالب فعاله مثلا برم یه افزونه رو فعال یا غیر فعال کنم باز پیشخوان سفید میشه در کل سایت لود میشه ولی ایا این می تونه یک باگ حساب بشه؟
متاسفانه من به فروشنده هم ایمیل دادم ولی جوابی مبنی بر ویرایش قالب دریافت نکردم
شما می تونید راهنمایی کنید این مشکل قالب رو بر طرف کنم
مشکل از فانکشن قالب هست چون وقتی تابع های فانکن رو حذف می کنم دیگه پیشخوان سفید نمیشه ولی سایت ناقص میشه
نوشته : ahmad4u
دیباگ رو فعال کن ببین چه خطایی نشون میده
نوشته : m0hammad
در 15 ساعت قبل، ahmad4u گفته است :
دیباگ رو فعال کن ببین چه خطایی نشون میدهسلام
دیباگ رو چجوری و از کجا فعال کنم؟
ممنون
نوشته : Mobin
تو روت وردپرست فایل wp_config باز کن مقدار wp_debuge رو true کن
نوشته : m0hammad
در 12 ساعت قبل، lord_viper گفته است :
تو روت وردپرست فایل wp_config باز کن مقدار wp_debuge رو true کنهمین کارو کردم ولی اروری نشون نمیده حتی افزونه debug bar رو هم نصب کردم البته این افزونه کار نکرد
سایت لود میشه فقط پیشخوانه که مشکل داره البته سفید شدن پیشخوان هم بستگی داره
مثلا وقتی افزونه رو می خوام فعال کنم این مشکل وجود داره
البته وقتی قالب های دیگه رو تست می کنم این سفیدی پیشخوان وجود نداره
الان سوال من اینه تو ادرس اصلی سایت چیزی نشون داده نمیشه
سه ماهه من این قالب رو نمی زارم که مشکلشو رفع کنم ولی مثل اینکه باید بندازمش دور
نوشته : m0hammad
من این اطلاعات رو از debug bar دریافت کردم
Cache Hits: 972
Cache Misses: 71
- Group: options – ( 43.64k )
- Group: default – ( 0.03k )
- Group: users – ( 0.40k )
- Group: userlogins – ( 0.03k )
- Group: useremail – ( 0.04k )
- Group: userslugs – ( 0.03k )
- Group: user_meta – ( 1.18k )
- Group: plugins – ( 2.99k )
- Group: posts – ( 5.03k )
- Group: terms – ( 0.47k )
- Group: category_relationships – ( 0.38k )
- Group: post_tag_relationships – ( 0.02k )
- Group: post_format_relationships – ( 0.02k )
- Group: post_meta – ( 0.04k )
- Group: counts – ( 0.18k )
مشکلی که نیست؟
نوشته : m0hammad
لطفا یه جوابی بدهید
من دباگ رو فعال کردم و هشدار های زیر رو دریافت کردم
می تونن اینا ارور باشن؟
Notice: تابع register_sidebar به‌صورت نادرست ÙØ±Ø§Ø®ÙˆØ§Ù†ÛŒ شد. Noid
was set in the arguments array for the “خبرنامه” sidebar. Defaulting to “sidebar-1”. Manually set theid
to “sidebar-1” to silence this notice and keep existing sidebar content. Ù„Ø·ÙØ§Ù‹ برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضاÙÙ‡ شده است) in /home/andishma/public_html/forums/wp-includes/functions.php on line 3897Notice: تابع register_sidebar به‌صورت نادرست ÙØ±Ø§Ø®ÙˆØ§Ù†ÛŒ شد. No
id
was set in the arguments array for the “باکس Ú†Ù¾” sidebar. Defaulting to “sidebar-2”. Manually set theid
to “sidebar-2” to silence this notice and keep existing sidebar content. Ù„Ø·ÙØ§Ù‹ برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضاÙÙ‡ شده است) in /home/andishma/public_html/forums/wp-includes/functions.php on line 3897Notice: تابع register_sidebar به‌صورت نادرست ÙØ±Ø§Ø®ÙˆØ§Ù†ÛŒ شد. No
id
was set in the arguments array for the “ستون کناری 3” sidebar. Defaulting to “sidebar-3”. Manually set theid
to “sidebar-3” to silence this notice and keep existing sidebar content. Ù„Ø·ÙØ§Ù‹ برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضاÙÙ‡ شده است) in /home/andishma/public_html/forums/wp-includes/functions.php on line 3897Notice: Undefined index: cperpage in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 366
Notice: Undefined variable: output in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 436
Notice: Undefined variable: bfix_tags in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 437
Notice: Undefined variable: is_showdots in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 438
Notice: Undefined variable: m_tags in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 441
Notice: Undefined variable: m_tags in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 444
Notice: Undefined variable: m_tags in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 447
Notice: Undefined variable: post in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456
Notice: Trying to get property of non-object in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456
Notice: Undefined variable: post in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456
Notice: Trying to get property of non-object in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456
Notice: Undefined variable: more_links_title in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456
Notice: has_cap از نگارش 2.0 از رده خارج شده! Ø§Ø³ØªÙØ§Ø¯Ù‡ از Ø³Ø·ÙˆØ Ø¯Ø³ØªØ±Ø³ÛŒ کاربران توسط Ø§ÙØ²ÙˆÙ†Ù‡â€ŒÙ‡Ø§ Ùˆ پوسته‌ها از رده خارج شده است. از نقش‌های کاربری Ùˆ توانایی‌ها به‌جای آن‌ها Ø§Ø³ØªÙØ§Ø¯Ù‡ کنید. in /home/andishma/public_html/forums/wp-includes/functions.php on line 3842
Notice: Undefined index: page in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 83
Notice: has_cap از نگارش 2.0 از رده خارج شده! Ø§Ø³ØªÙØ§Ø¯Ù‡ از Ø³Ø·ÙˆØ Ø¯Ø³ØªØ±Ø³ÛŒ کاربران توسط Ø§ÙØ²ÙˆÙ†Ù‡â€ŒÙ‡Ø§ Ùˆ پوسته‌ها از رده خارج شده است. از نقش‌های کاربری Ùˆ توانایی‌ها به‌جای آن‌ها Ø§Ø³ØªÙØ§Ø¯Ù‡ کنید. in /home/andishma/public_html/forums/wp-includes/functions.php on line 3842
Warning: Cannot modify header information – headers already sent by (output started at /home/andishma/public_html/forums/wp-includes/functions.php:3897) in /home/andishma/public_html/forums/wp-includes/pluggable.php on line 1171
Warning: Cannot modify header information – headers already sent by (output started at /home/andishma/public_html/forums/wp-includes/functions.php:3897) in /home/andishma/public_html/forums/wp-includes/pluggable.php on line 1171
نوشته : Mobin
در 49 دقیقه قبل، m0hammad گفته است :
لطفا یه جوابی بدهید
من دباگ رو فعال کردم و هشدار های زیر رو دریافت کردم
می تونن اینا ارور باشن؟بله
نوشته : m0hammad
پس نمیشه از این قالب استفاده کرد
نمی دونم چرا هر کسی قالب می فروشه پشتیبانی نمی کنه
به هر حال به جهنم
اینم سومین قالب
می ندازم سطل اشغال
ممنون که لاقل شما بی جواب نذاشتید
نوشته : amazingha
توی فانکشن و pluggable یه خطایی وجود داره باید درستش کنی یا می خوای فایل فانکشنت رو بزار درست کنن
نوشته : amazingha
ببخشید ما ابتدایی ها نظر می دیم
نوشته : m0hammad
در در 1395/3/11 ه.ش. at 14:18، amazingha گفته است :
توی فانکشن و pluggable یه خطایی وجود داره باید درستش کنی یا می خوای فایل فانکشنت رو بزار درست کننممنون
من فانکشن قالب رو قرار دادم شما و دوستان اگر می تونید کمک کنید بعد از رفع مشکل مجبورم به دلیل رعایت حقوق کپی رایت فروشنده کد ها رو حذف کنم
نوشته : mojtabashahi
درود ،
این فایل را دانلود و جایگزین کنید ، توجه: کدهای داخل فایل را کپی نکنید بلکه فایل را جایگزین نمایید. نکته : ابتدا یک کپی از فایل فانکشن خود تهیه نمایید.
نوشته : m0hammad
در 12 ساعت قبل، mojtabashahi گفته است :
درود ،
این فایل را دانلود و جایگزین کنید ، توجه : کدهای داخل فایل را کپی نکنید بلکه فایل را جایگزین نمایید. نکته : ابتدا یک کپی از فایل فانکشن خود تهیه نمایید.سلام
بابت لطفتون ممنون
الان این ارورا ظاهر شدن و مشکل سفیدی همچنان پا برجاست
Notice: تابع register_sidebar بهصورت نادرست فراخوانی شد. No id was set in the arguments array for the "خبرنامه" sidebar. Defaulting to "sidebar-1". Manually set the id to "sidebar-1" to silence this notice and keep existing sidebar content. لطفاً برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضافه شده است) in /home/andishma/public_html/forums/wp-includes/functions.php on line 3897 Notice: تابع register_sidebar بهصورت نادرست فراخوانی شد. No id was set in the arguments array for the "باکس چپ" sidebar. Defaulting to "sidebar-2". Manually set the id to "sidebar-2" to silence this notice and keep existing sidebar content. لطفاً برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضافه شده است) in /home/andishma/public_html/forums/wp-includes/functions.php on line 3897 Notice: تابع register_sidebar بهصورت نادرست فراخوانی شد. No id was set in the arguments array for the "ستون کناری 3" sidebar. Defaulting to "sidebar-3". Manually set the id to "sidebar-3" to silence this notice and keep existing sidebar content. لطفاً برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضافه شده است) in /home/andishma/public_html/forums/wp-includes/functions.php on line 3897 Notice: Undefined index: cperpage in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 366 Notice: Undefined variable: output in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 436 Notice: Undefined variable: bfix_tags in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 437 Notice: Undefined variable: is_showdots in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 438 Notice: Undefined variable: m_tags in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 441 Notice: Undefined variable: m_tags in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 444 Notice: Undefined variable: m_tags in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 447 Notice: Undefined variable: post in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456 Notice: Trying to get property of non-object in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456 Notice: Undefined variable: post in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456 Notice: Trying to get property of non-object in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456 Notice: Undefined variable: more_links_title in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456 Notice: has_cap از نگارش 2.0 از رده خارج شده! استفاده از سطوح دسترسی کاربران توسط افزونهها و پوستهها از رده خارج شده است. از نقشهای کاربری و تواناییها بهجای آنها استفاده کنید. in /home/andishma/public_html/forums/wp-includes/functions.php on line 3842 Notice: Undefined index: page in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 83 Notice: has_cap از نگارش 2.0 از رده خارج شده! استفاده از سطوح دسترسی کاربران توسط افزونهها و پوستهها از رده خارج شده است. از نقشهای کاربری و تواناییها بهجای آنها استفاده کنید. in /home/andishma/public_html/forums/wp-includes/functions.php on line 3842
نوشته : mojtabashahi
آدرس سایت لطفا؟
نوشته : m0hammad
و تو صفحه اصلی سایت این ارورا پست قبلی مربوط می شد به پیشخوان
Notice: تابع register_sidebar بهصورت نادرست فراخوانی شد. No id was set in the arguments array for the "خبرنامه" sidebar. Defaulting to "sidebar-1". Manually set the id to "sidebar-1" to silence this notice and keep existing sidebar content. لطفاً برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضافه شده است) in /home/andishma/public_html/forums/wp-includes/functions.php on line 3897 Notice: تابع register_sidebar بهصورت نادرست فراخوانی شد. No id was set in the arguments array for the "باکس چپ" sidebar. Defaulting to "sidebar-2". Manually set the id to "sidebar-2" to silence this notice and keep existing sidebar content. لطفاً برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضافه شده است) in /home/andishma/public_html/forums/wp-includes/functions.php on line 3897 Notice: تابع register_sidebar بهصورت نادرست فراخوانی شد. No id was set in the arguments array for the "ستون کناری 3" sidebar. Defaulting to "sidebar-3". Manually set the id to "sidebar-3" to silence this notice and keep existing sidebar content. لطفاً برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضافه شده است) in /home/andishma/public_html/forums/wp-includes/functions.php on line 3897 Notice: Undefined index: cperpage in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 366 Notice: Undefined variable: output in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 436 Notice: Undefined variable: bfix_tags in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 437 Notice: Undefined variable: is_showdots in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 438 Notice: Undefined variable: m_tags in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 441 Notice: Undefined variable: m_tags in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 444 Notice: Undefined variable: m_tags in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 447 Notice: Undefined variable: post in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456 Notice: Trying to get property of non-object in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456 Notice: Undefined variable: post in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456 Notice: Trying to get property of non-object in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456 Notice: Undefined variable: more_links_title in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 456
نوشته : m0hammad
در 12 ساعت قبل، mojtabashahi گفته است :
آدرس سایت لطفا؟میشه یوزر و پس رو براتون بفرستم تا خودتون بررسی کنید
نوشته : mojtabashahi
پیغام خصوصی!
نوشته : m0hammad
در 12 ساعت قبل، mojtabashahi گفته است :
پیغام خصوصی!براتون ارسال کردم
نوشته : m0hammad
سلام
بچه ها این کد های شرطی که من غیر فعالشون کردم چیکار می کنند؟
چون وقتی فعالشون می کنم با ارور مواجه میشم
/**if ( function_exists('register_sidebar') ) register_sidebar(array( 'name' => 'خبرنامه', 'before_widget' => '', 'after_widget' => '', 'before_title' => '', 'after_title' => '
', )); ?> 'باکس چپ', 'before_widget' => '', 'after_widget' => '', 'before_title' => '', 'after_title' => ' ', )); ?> '', 'after_widget' => ' ', 'before_title' => '', 'after_title' => '
', ));*/ /**if ($_GET['page'] == basename(__FILE__)) { if ( 'save' == $_REQUEST['action'] ) { if(isset($_REQUEST['email'])) { update_option('email', $_REQUEST['email']); } else update_option('email', 'gogo19a@gmail.com'); if(isset($_REQUEST['tell'])) { update_option('tell', $_REQUEST['tell']); } else update_option('tell', '09359047387'); if(isset($_REQUEST['etlaeh'])) { update_option('etlaeh', $_REQUEST['etlaeh']); } else update_option('etlaeh', '10% تخفیف ویژ] به دت محدود برای کاربران سایت سیبل 10% تخفیف ویژ] به دت محدود برای کاربران سایت سیبل '); if(isset($_REQUEST['id_shop'])) { update_option('id_shop', $_REQUEST['id_shop']); } else update_option('id_shop', ''); if(isset($_REQUEST['id_akhbar'])) { update_option('id_akhbar', $_REQUEST['id_akhbar']); } else update_option('id_akhbar', ''); if(isset($_REQUEST['id_box_1_sidbar'])) { update_option('id_box_1_sidbar', $_REQUEST['id_box_1_sidbar']); } else update_option('id_box_1_sidbar', ''); if(isset($_REQUEST['id_box_2_sidbar'])) { update_option('id_box_2_sidbar', $_REQUEST['id_box_2_sidbar']); } else update_option('id_box_2_sidbar', ''); if(isset($_REQUEST['id_box_3_sidbar'])) { update_option('id_box_3_sidbar', $_REQUEST['id_box_3_sidbar']); } else update_option('id_box_3_sidbar', ''); header("Location: themes.php?page=functions.php&saved=true"); die; } add_action('admin_head', 'mimic_theme_page_head'); }*/
نوشته : mojtabashahi
این کدها ، سایدبار (ها) ، (نوار کناری) را تعریف و به پوسته اضافه می کنند. شاید دلیل خطا هنگام فعال بودن ، خالی بودن سایدبار ها باشد که به دلیل عدم کدنویسی صحیح و فراخوانی درست سایدبارها رخ می دهد. بهتر است کدها را فعال نمایید به “نمایش>ابزارک ها” رفته و در هر سایدبار یک ابزارک بکشید و ذخیره نمایید.
به جای افزونه “جلالی” هم از “افزونه بسته وی میزبان ایرانیان” نوشته شده توسط کاربران و مدیران همین انجمن استفاده نمایید. این افزونه کارآیی بهتر و تداخل کمتری دارد.
نوشته : m0hammad
در 13 ساعت قبل، mojtabashahi گفته است :
این کدها ، سایدبار (ها) ، (نوار کناری) را تعریف و به پوسته اضافه می کنند. شاید دلیل خطا هنگام فعال بودن ، خالی بودن سایدبار ها باشد که به دلیل عدم کدنویسی صحیح و فراخوانی درست سایدبارها رخ می دهد. بهتر است کدها را فعال نمایید به “نمایش>ابزارک ها” رفته و در هر سایدبار یک ابزارک بکشید و ذخیره نمایید.
به جای افزونه “جلالی” هم از “افزونه بسته وی میزبان ایرانیان” نوشته شده توسط کاربران و مدیران همین انجمن استفاده نمایید. این افزونه کارآیی بهتر و تداخل کمتری دارد.ممنون همین کارو کردم بازم درست نشد طبق معمول
نوشته : m0hammad
بچه ارورهایی که برای ابزارک ها می داد واسه این بود که ای دی براشون تعریف نشده بود
با تعریف ای دی براشون این ارور ها رفع شد
بچه ها واسه <?php <? که داخلش از کد html یا css استفاده نشده باشه ارور میده!!!
یعنی شما نمی تونید چند تا دستور php که شروع کردید این دستورات رو ببندید و دوباره با دستور <?php
باز کنید و دستورات php رو ادامه بدید باید در کل یه بار باز کنید و دستورات php رو بنویسید ولی اگر بینشون بخواین از html یا css استفاده کنید می تونید دستورات php رو ببندید و بعد دوباره باز کنید
به فضای خالی هم ارور میده!!!
ولی الان یه ارور مونده کمک کنید اینم رفع کنم
Notice: Undefined index: page in /home/andishma/public_html/forums/wp-content/themes/new-vip/functions.php on line 64
که مربوط میشه با این تابع شرطی
نوشته : sipa
توی هاستتون یک فایل به نام error.log وجود داره اینجا بگذارید تا دقیق بهتون بگم مشکل کجاست
نوشته : m0hammad
ویرایش شد