0

I am switching over a website that was built on Wordpress from one HostGator server to another HostGator server. I have successfully transferred over the files via FTP, and migrated the MySQL database over and have both connected successfully.

I am running into an issue when I view the site in the browser and I receive this following error message:

Warning: require(DIR/warp.php) [function.require]: failed to open stream: No such file or directory in /home/abcworld/public_html/new2/wp-content/themes/yoo_moustache_wp1/index.php on line 10

Warning: require(DIR/warp.php) [function.require]: failed to open stream: No such file or directory in /home/abcworld/public_html/new2/wp-content/themes/yoo_moustache_wp1/index.php on line 10

Fatal error: require() [function.require]: Failed opening required 'DIR/warp.php' (include_path='.:/opt/php52/lib/php') in /home/abcworld/public_html/new2/wp-content/themes/yoo_moustache_wp1/index.php on line 10

When I switch to the themes that comes with Wordpress, the site is displayed with the data that is in the MySQL database, so it seems that the Template is what's causing the error. I am using a Yootheme Template called 'Moustache' and have downloaded the latest version and uploaded it to Wordpress and the error message is still there.

The site I am working on is: http://abcworldwidestone.com/new2/

I am unsure what's causing this and would love some assistance - Any thoughts?

4

2 回答 2

2

您的服务器必须仍在使用 PHP 5.2 ,至少使用 5.3.3 或更高版本。

于 2014-09-30T12:08:29.260 回答
0

根据文档

5.3.0添加了 DIRNAMESPACE常量

您很可能正在运行 PHP 版本 < 5.3.0。

于 2014-09-30T12:13:51.153 回答