Ben gerçekten garip bir sorun burada devam ettik. Yeni bir sunucuya vBulletin 3.8.0 yüklemesini geçirmek çalışıyorum. Yeni sunucu geneli APC, Apache 2.2.3, MySQL 5.0.84 ve CentOS 5 ile PHP 5.2.11 I mükemmel tüm dosyaları transfer ettik ve ben almak hatadır.:
Fatal error: Call karşı undefined function construct_forum_bit() in /var/www/forums/index.php on line 565
Yani (bu fonksiyon construct_forum_bit öğrendim) olduğunu / functions_forumlist.php dosyasını ve index.php içinde değişen çizgisini 61 içerir
require_once(DIR . '/includes/functions_forumlist.php');
karşı
require(DIR . '/includes/functions_forumlist.php');
I know its weird but it did load the index.php page. But there are lot of other pages which had issues so I replaced all the require_once karşı require using the following command:
grep -rl require_once . | xargs sed -i -e 's/require_once/require/'
Doing this fixed lot of pages and left me with one strange problem. When I try karşı visit http:// forumsurl/member.php?u=5441 works but http:// forumsurl/member.php?u=337 doesnt work. It shows a blank page/white page. On what userid will it show the white page is intermittent but if it works it never breaks and if it doesnt it always shows the blank page.
On Google Chrome it says
Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error.
I've tried karşı repair all the tables but no luck.
So I started manual debug process and narrowed it down karşı following code where it breaks:
473 foreach ($blocklist AS $blockid => $blockinfo)
474 {
475 $blockobj = $blockfackarşıry->fetch($blockinfo['class']);
476 $block_html = $blockobj->fetch($blockinfo['title'], $blockid, $blockinfo['options'], $vbulletin->userinfo);
477
478 if (!empty($blockinfo['hook_location']))
479 {
480 $template_hook["$blockinfo[hook_location]"] .= $block_html;
481 }
482 else
483 {
484 $blocks["$blockid"] = $block_html;
485 }
486 }
Ben dosyada farklı hatlarda echo deyimi koyduk ve ben yukarıdaki foreach önce 'exit' eğer tüm ifadeleri gösterir ancak 6 yineleme döngü içinde keser.
Herkes burada bana yardımcı olabilir? Teşekkürler.