The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Moving wordpress to windows server - path issue (6 posts)

  1. chemoul
    Posted 10 years ago #

    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.



  2. vkaryl
    Posted 10 years ago #

    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/

  3. chemoul
    Posted 10 years ago #

    I'm already using XAMPP version 1.4.11

  4. chemoul
    Posted 10 years ago #

    Sorry, I meant I'm already using XAMPP but I still experience the path problem.

  5. chemoul
    Posted 10 years ago #


  6. chemoul
    Posted 10 years ago #

    it was actually not a path issue but a specific php file that get corrupted during the FTP transfer process

Topic Closed

This topic has been closed to new replies.

About this Topic