رفتن به مطلب

مشکل فشار زیاد روی سرور


python

پست های پیشنهاد شده

سلام دوستان

من چند وقتی هست که سایتم به دلیل فشار زیاد روی سرور ساسپند میشه

بخاطر همین موضوع مجبور میشم مدام سرور رو عوض کنم

افزونه کش هم فعاله و بهینه شدست

هر بار هم که دلیل ساسپند شدن رو از پشتیبان میپرسم فقط میگن سایت شما فشار زیادی رو سرور وارد میکنه و این فشار هم از دیتابیس شماست...

نه خودشون حل میکنن نه اینکه راهنمایی میکنن تا حلش کنم!!!!فقط بلدن ساسپند کنن

میخواستم ببینم علت این موضوع چی میتونه باشه و راه حلش چیه؟

بازدیدمم زیاد نیست روزانه 7هزار آی پی

دیگه خسته شدم از بس هاست عوض کردم...

لینک به ارسال

سلام اگر نظر زیاد دارید می تونه از افزونه های اطلاع رسان باشه و یا تلاش بعضی از افزونه ها برای برقراری ارتباط با سروری که از ایران مسدوده یا ایران رو تحریم کرده و یا اختلال داره مانند پروتکل https اگر افزونه گوگل پلاس یا فیس بوک دارید چند روز غیر فعال کنید و تست بگیرید

لینک به ارسال

شاید سایت شما مورد حملات Ddos قرار گرفته.آموزش مسدود کردن این ای پی هاو به حداقل رساندن فشار سرور رو از اساتید پیگیر باشید.بعضی از اسکریپتها مثل افزایش بازدید قانونی نیستن و ایرادات زیادی دارن.

دلیل دیگه هم اینه که ممکنه به طور عادی بازدید شما از حد هاست معمولی بالاتر رفته و اگر هاست معمولی دارید به یه هاست پربازدید انتقال بدید.البته من خودمم هنوز هاست معمولی دارم.یکم پول میخواد دیگه :)

ویرایش شده توسط آریارامن
لینک به ارسال

سلام اگر نظر زیاد دارید می تونه از افزونه های اطلاع رسان باشه و یا تلاش بعضی از افزونه ها برای برقراری ارتباط با سروری که از ایران مسدوده یا ایران رو تحریم کرده و یا اختلال داره مانند پروتکل https اگر افزونه گوگل پلاس یا فیس بوک دارید چند روز غیر فعال کنید و تست بگیرید

نظر زیاد ندارم و افزونه اطلاع رسانی هم ندارم فقط یه دونه افزونه فیس بوک داشتم که اونم غیر فعال کردم

شاید سایت شما مورد حملات Ddos قرار گرفته.آموزش مسدود کردن این ای پی هاو به حداقل رساندن فشار سرور رو از اساتید پیگیر باشید.بعضی از اسکریپتها مثل افزایش بازدید قانونی نیستن و ایرادات زیادی دارن.

دلیل دیگه هم اینه که ممکنه به طور عادی بازدید شما از حد هاست معمولی بالاتر رفته و اگر هاست معمولی دارید به یه هاست پربازدید انتقال بدید.البته من خودمم هنوز هاست معمولی دارم.یکم پول میخواد دیگه :)

سایتم توی سایت های افزایش بازدید ثبت نشده

بازدیدم فرقی نکرده فقط گاهی این مشکل پیش میاد اونم توی بازه زمانی خاص اکثرا شب ها این مشکل پیش میاد

هاستم هم پربازدید هستش

در مورد حملات Ddos بیشتر توضیح میدین

از اساتید کمک کنن

ممنون

لینک به ارسال

نظر زیاد ندارم و افزونه اطلاع رسانی هم ندارم فقط یه دونه افزونه فیس بوک داشتم که اونم غیر فعال کردم

سایتم توی سایت های افزایش بازدید ثبت نشده

بازدیدم فرقی نکرده فقط گاهی این مشکل پیش میاد اونم توی بازه زمانی خاص اکثرا شب ها این مشکل پیش میاد

هاستم هم پربازدید هستش

در مورد حملات Ddos بیشتر توضیح میدین

از اساتید کمک کنن

ممنون

بیشتر اوقات قالب های خراب ، کوئری های زیاد از حد و افزونه جلالی و آمار پست و ... باعث این ها میشه و گاهی هم حملات و ... که کمتر پیش میاد

راحت ترین راه اینه که از مدیر هاستتون درخواست کنید بهتون یک لاگ از سرور بده ببینید کجا بیشتر مصرف میکنه

در مورد حملات DDOS هم به طور خلاصه اینکه یه سری آدم میان با ip های زیاد به هاست و سرور کانکت میشن و باعث میشن سرور شلوغ بشه و همه پهنای باند رو مشغول کنن و اینطوری سایت بالا نمیاد ( تو ایران خیلی کم پیش میاد مگه اینکه دشمن داشته باشید یا سایت واقعن عالی ای داشته باشید )

لینک به ارسال

بیشتر اوقات قالب های خراب ، کوئری های زیاد از حد و افزونه جلالی و آمار پست و ... باعث این ها میشه و گاهی هم حملات و ... که کمتر پیش میاد

افزونه جلالی رو که کلا حذفش کردم

اما قالب رو چون خودم توش تغییراتی دادم میتونه باشه

فقط افزونه ای چیزی هست که بشه کدهای مخرب و کوئری هارو پیدا کرد؟

لینک به ارسال

راستی توی فایل error log که توی هاستم قرار داره این ارورهارو نشون میده:


[17-May-2013 14:39:22] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:28] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:31] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:37] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:45] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:50] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:53] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:55] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:57] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:02] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:10] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:11] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:19] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:24] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:27] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:35] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:36] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:44] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:47] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:51] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:52] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:55] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:05] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:09] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:12] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:34] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:42] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:43] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:53] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:59] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:06] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:06] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:10] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:13] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:15] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:18] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:28] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:36] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:42] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:43] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:51] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:00] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:04] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:14] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:17] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:20] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:23] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:34] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:38] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:46] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:48] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:54] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:55] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:59] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81

ربطی به این مساله داره؟

لینک به ارسال

راستی توی فایل error log که توی هاستم قرار داره این ارورهارو نشون میده:


[17-May-2013 14:39:22] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:28] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:31] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:37] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:45] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:50] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:53] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:55] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:39:57] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:02] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:10] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:11] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:19] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:24] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:27] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:35] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:36] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:44] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:47] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:51] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:52] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:40:55] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:05] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:09] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:12] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:34] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:42] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:43] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:53] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:41:59] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:06] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:06] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:10] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:13] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:15] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:18] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:28] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:36] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:42] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:43] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:42:51] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:00] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:04] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:14] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:17] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:20] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:23] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:34] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:38] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:46] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:48] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:54] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:55] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81
[17-May-2013 14:43:59] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 81

ربطی به این مساله داره؟

بله احتمال داره ... توی این کدها به همین قالبی که الان دارین مشکل گرفته ، چک کنید.

بعدش لطفا بفرمایید که هاستتون رو از کجا تهیه کردید ؟

لینک به ارسال

بله احتمال داره ... توی این کدها به همین قالبی که الان دارین مشکل گرفته ، چک کنید.

بعدش لطفا بفرمایید که هاستتون رو از کجا تهیه کردید ؟

من برای نمایش آخرین مطالب یه سایت دیگه از کد نمایش آر اس اس استفاده میکنم

اون خطی که ارور گرفته این هستش:


$items = array_slice($rss->items, 0, $maxitems);

از henterz.com

لینک به ارسال

من برای نمایش آخرین مطالب یه سایت دیگه از کد نمایش آر اس اس استفاده میکنم

اون خطی که ارور گرفته این هستش:


$items = array_slice($rss->items, 0, $maxitems);

از henterz.com

لطفا لینک وبسایتتون رو بزارید.

لینک به ارسال

funrooz.com

این افزونه رو نصب کنید :

W3 Total Cache

آموزش تنظیمات افزونه

بعد از نصب و فعالسازی افزونه با یه همچنین کادری در بالای صفحه مواجه میشید

WP-Super-Cache-Warning.jpg

بعد از مشاهده پیغام بالا برروی نوشته ی

plugin admin page

کلیک کنید، که به صفحه تنظیمات افزونه هدایت خواهید شد. در صفحه تنظیمات این افزونه مانند تصویر زیر تیک ” Caching Off ” را به ” Caching On

(Recommended)

” تغییر دهید.

Enable-Caching.jpg

بعد از انجام این کار به تب ” Advanced ” بروید و گزینه ها را به ترتیب زیر انتخاب و تغییر دهید.در قسمت Caching :

Use mod_rewrite to serve cache files

در قسمت Miscellaneous :

Compress pages so they’re served more quickly to visitors

304 Not Modified browser caching. Indicate when a page has not been modified since last requested

Don’t cache pages for known users

Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated

و در آخر، در قسمت Advanced :

Extra homepage checks. Very occasionally stops homepage caching

گزینه های بالا را انتخاب کنید. دقت کنید که گزینه هایی را که نام برده شده را انتخاب کنید. بعد از انجام کار های بالا برروی دکمه Update Status کلیک کنید. وقتی که این کار هم انجام دادید با یک هشدار مانند تصویر زیر مواجه خواهید شد.

rewrite-rules.jpg

به این هشدار توجهی نکنید :Dو به پایین صفحه بیایید و یک کادر بزرگ زرد رنگی را مشاهده می کنید و برروی Update Mod_Rewrite Rules Button کلیک کنید.

update-modrewrite.jpg

کادر زرد رنگه به سبز تغییر کرد و تبریک می گویم ! شما توانستید این افزونه را تنظیم کنید و تنظیمات را آپدیت کنید.

mod-rewrite-rules-updated.jpg

بعد از اینکه اینکارها رو انجام دادید. از این به بعد فشار سرور شما کمتر میشه، سرعت بارگذاری وبسایت هم بیشتر میشه و در واقع یجورایی سایتتون بهینه میشه.

چنانچه باز مشکلی بود، همینجا مطرح کنید.

:)

لینک به ارسال

من هم دقیقا هم مشکل این دوستمون هستم ، و یکی از سرورهایی که رفتم همین henterz بود ، در نهایت هم پیشنهاد داد بیا رو سرور ما ما کارمون درسته ، ولی ساسبند کرد و گفت میدمت یکی از دوستام بهینه کنه ، 55 تومان هم ازم گرفتن و هیچی به هیچی

جالبه با همین سایت شما که بازدید زیادی هم داره من رو وسوسه کرد برم رو سرورش

وارد راه سختی شدی دوست عزیز

در ضمن تنها در تاریکی جان ، من این w3 رو وقتی فعال میکنم ، internal error میده سایتم ، رو 4 سرور مختلف هم تست کردم

ویرایش شده توسط ariamovie
لینک به ارسال

من هم دقیقا هم مشکل این دوستمون هستم ، و یکی از سرورهایی که رفتم همین henterz بود ، در نهایت هم پیشنهاد داد بیا رو سرور ما ما کارمون درسته ، ولی ساسبند کرد و گفت میدمت یکی از دوستام بهینه کنه ، 55 تومان هم ازم گرفتن و هیچی به هیچی

جالبه با همین سایت شما که بازدید زیادی هم داره من رو وسوسه کرد برم رو سرورش

وارد راه سختی شدی دوست عزیز

در ضمن تنها در تاریکی جان ، من این w3 رو وقتی فعال میکنم ، internal error میده سایتم ، رو 4 سرور مختلف هم تست کردم

غیر از w3 شما هیچ افزونه ای مربوط به کش نصب نکردید ؟؟؟

لینک به ارسال

نه فقط همینه ، و توی این سایتهایی که نشون میده سرعت سایت چطوره و ریت میده وقتی فعالش میکنم خیلی زیاد نشون میده همه ی ریت هام سبز شده و سایت عالی شده و سرعت رفته بالا و تا غیر فعال میکنی یهو همه چی میخوابه

افزونه ی فوق العاده ایه و آرزومه رو سایتم کار کنه

لینک به ارسال
  • 2 هفته بعد...

من ارور لاگ روی هاست رو که چک میکنم پر شده از این ارور ها:


[27-May-2013 01:01:59 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 41
[27-May-2013 02:02:16 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 41
[27-May-2013 02:02:21 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 41
[27-May-2013 02:02:23 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 41
[27-May-2013 02:02:25 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 41
[27-May-2013 02:02:33 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 41
[27-May-2013 02:02:33 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 41
[27-May-2013 02:02:37 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 41
[27-May-2013 02:02:48 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 41
[27-May-2013 02:02:50 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 41
[27-May-2013 02:02:59 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 41
[27-May-2013 09:22:16 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 80
[27-May-2013 10:22:27 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 80
[27-May-2013 10:22:29 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 80
[27-May-2013 10:22:30 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 80
[27-May-2013 10:22:34 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 80
[27-May-2013 10:22:36 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 80
[27-May-2013 10:22:39 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 80
[27-May-2013 10:22:50 Asia/Tehran] PHP Warning: array_slice() expects parameter 1 to be array, null given in /home/funroozc/public_html/wp-content/themes/fun92/leftsbar.php on line 80

اینم کدی که بهش اشاره میکنه:

$items = array_slice($rss->items, 0, $maxitems);

کد اصلیشم:


<?php
include_once(ABSPATH . WPINC . '/rss.php');
$rss = fetch_rss('http://site.com/feed');
$maxitems = 15; //تعداد نمایش
$items = array_slice($rss->items, 0, $maxitems);
?>
<?php if (empty($items)) echo '<li>مطلبی وجود ندارد</li>';
else
foreach ( $items as $item ) : ?>
<li><a href='<?php echo $item['link']; ?>'
title='<?php echo $item['title']; ?>'>
<?php echo $item['title']; ?>
</a></li>
<?php endforeach; ?>

این کد مربوط به نمایش فید دیگر سایت هاست

چطوری حلش کنم؟

لینک به ارسال

بررسی کنید آرایه باشه


<?php
include_once(ABSPATH . WPINC . '/rss.php');
$rss = fetch_rss('http://site.com/feed');
$maxitems = 15; //تعداد نمایش
if(is_array($rss->items)){
$items = array_slice($rss->items, 0, $maxitems);
?>
<?php if (empty($items)) echo '<li>مطلبی وجود ندارد</li>';
else
foreach ( $items as $item ) : ?>
<li><a href='<?php echo $item['link']; ?>'
title='<?php echo $item['title']; ?>'>
<?php echo $item['title']; ?>
</a></li>
<?php endforeach;
} ?>

لینک به ارسال

بررسی کنید آرایه باشه


<?php
include_once(ABSPATH . WPINC . '/rss.php');
$rss = fetch_rss('http://site.com/feed');
$maxitems = 15; //تعداد نمایش
if(is_array($rss->items)){
$items = array_slice($rss->items, 0, $maxitems);
?>
<?php if (empty($items)) echo '<li>مطلبی وجود ندارد</li>';
else
foreach ( $items as $item ) : ?>
<li><a href='<?php echo $item['link']; ?>'
title='<?php echo $item['title']; ?>'>
<?php echo $item['title']; ?>
</a></li>
<?php endforeach;
} ?>

متوجه نشدم؟؟؟

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...