2011-11-15 107 views
0

我已經將Drupal站點轉移到另一個託管服務提供商,並且某種程度上主題看起來不同,當我嘗試通過轉到/ user url登錄到管理員時,我得到以下消息。Drupal站點轉移到新主機

Warning: include(/home/spankyb/public_html/sites/all/themes/siteTheme/includes/inc.mainnav.php) [function.include]: failed to open stream: No such file or directory in include() (line 10 of /home/spankyou/public_html/sites/all/themes/siteTheme/templates/page--front.tpl.php). 
Warning: include() [function.include]: Failed opening '/home/spankyb/public_html/sites/all/themes/siteTheme/includes/inc.mainnav.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in include() (line 10 of /home/spankyou/public_html/sites/all/themes/siteTheme/templates/page--front.tpl.php). 
Warning: include(/home/spankyb/public_html/sites/all/themes/siteTheme/includes/inc.spankcounter.php) [function.include]: failed to open stream: No such file or directory in include() (line 42 of /home/spankyou/public_html/sites/all/themes/siteTheme/templates/page--front.tpl.php). 
Warning: include() [function.include]: Failed opening '/home/spankyb/public_html/sites/all/themes/siteTheme/includes/inc.spankcounter.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in include() (line 42 of /home/spankyou/public_html/sites/all/themes/siteTheme/templates/page--front.tpl.php). 
Warning: include(/home/spankyb/public_html/sites/all/themes/siteTheme/includes/inc.sharingfooter.php) [function.include]: failed to open stream: No such file or directory in include() (line 56 of /home/spankyou/public_html/sites/all/themes/siteTheme/templates/page--front.tpl.php). 
Warning: include() [function.include]: Failed opening '/home/spankyb/public_html/sites/all/themes/siteTheme/includes/inc.sharingfooter.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in include() (line 56 of /home/spankyou/public_html/sites/all/themes/siteTheme/templates/page--front.tpl.php). 

我想我需要改變的/ home/spankyb到spankyou

有沒有辦法做到這一點,也沒有辦法,我需要解決的另一個問題?

+0

使用自定義代碼來包含文件或者它是默認的。 – punit

回答

1

遵循以下步驟:

  1. 清空所有的緩存表手動或轉到管理/設置/性能和清除緩存。
  2. 訪問管理模塊重建/建造/模塊
  3. 訪問管理員重建主題/建設/主題

這應該可以解決所有的錯誤。

相關問題