• Resolved tpresnell

    (@tpresnell)


    After trying to update to WP 4.0 within Instant WP automatically and continually getting error below (new themes also failed to download on a JavaScript file):

    Could not copy file.: C:/Program Files/InstantWP_4.3.1/iwpserver/htdocs/wordpress/wp-content/upgrade/wordpress-49.tmp/wordpress/wp-admin/js/editor.js

    I resorted to a manual update. While aspects of WP 4.0 are running smoothly, I am unable to preview or access pages/posts after publishing them. Is this perhaps a database error, and if so how do I fix it?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator James Huff

    (@macmanx)

    Before we dangerously dig into the database, let’s try the common culprits first. ??

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fourteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter tpresnell

    (@tpresnell)

    No luck unfortunately. I have everything backed up so if it crashes when tinkering with the database it shouldn’t be catastrophic.

    Moderator James Huff

    (@macmanx)

    Ok, one more thing, try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter tpresnell

    (@tpresnell)

    Unfortunately no difference. This means it’s gotta be an issue with wp-config.php I’m assuming. How can I repair it?

    Moderator James Huff

    (@macmanx)

    No, that wouldn’t be a WP-config problem, nothing in there controls such things. I’d suspect file permissions on the local sever, but you’ve reached the extent of my localhost comfort zone.

    Hang in there, someone with more localhost knowledge should be along eventually.

    Q to OP: Are you getting any errors in your error_log file?

    Moderator Stephen Edgar

    (@netweb)

    This will be a permissions issue with Windows Vista/7/8.

    You will not be able to write files in the C:/Program Files/ without running with elevated (UAC) privileges.

    I’d expect somewhere amongst Instant WP docs this would be covered, if not you should create a separate folder e.g. C:\web and assign full control to the user/service that runs Instant WP.

    Edit: A quick look on that docs of Instant WP, it is a “portable” app so you should install/extract it to e.g. C:\web or C:\users\yourusername\desktop\web\rather than the C:\Program Files\ folder.

    Thread Starter tpresnell

    (@tpresnell)

    That was it. I had previously tried upping the permissions but decided to reinstall/extract from the beginning and it worked like a charm. Thanks for all of your help!

    Moderator James Huff

    (@macmanx)

    Thanks for your assistance, Daniel and Stephen!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can't View Pages or Posts After Manual WP Update to Instant WP’ is closed to new replies.