chemoul
Member
Posted 6 years ago #
Hi,
I decided to have a local copy of my WordPress blog on my XP machine to do all the development there instead of on the live site (live site is linux).
I followed the Moving WordPress guide at http://codex.wordpress.org/Moving_WordPress.
Database connection is working however I'm now getting the following error when trying to view the site/admin interface:
Warning: main(C:\webserver\htdocs\digitalcamera\wp-includes/functions-compat.php): failed to open stream: No such file or directory in C:\webserver\htdocs\digitalcamera\wp-includes\functions.php on line 3
I've changed all the paths from http://www.previousdomain.com to http://localhost in the sql database file before importing it.
Also, I changed the fileupload real path to c:/webserver/htdocs/digitalcamera/wp-content
Any idea why it's giving me this error? The path seems correct, apart from the forwardslash just in front of functions-compat.php.
thanks
Steve
I had that problem when trying to use XP Pro's "resident" server. I never could figure it out, and the MS knowledgebase wasn't any help either.
I finally downloaded and installed the latest XAMPP from http://www.apachefriends.org/en/xampp.html - which immediately solved the problem.
I wasn't able to use the older versions of XAMPP I had been using for years with earlier Windows versions - I think the one I had to get to work with XP Pro was 1.4.10 maybe....
If you want to try XAMPP, podz has an excellent installation tutorial at http://www.tamba2.org.uk/wordpress/xampp/
chemoul
Member
Posted 6 years ago #
Thanks.
I'm already using XAMPP version 1.4.11
chemoul
Member
Posted 6 years ago #
Sorry, I meant I'm already using XAMPP but I still experience the path problem.
chemoul
Member
Posted 6 years ago #
chemoul
Member
Posted 6 years ago #
it was actually not a path issue but a specific php file that get corrupted during the FTP transfer process