• Resolved sppunk

    (@sppunk)


    I had a Joomla install at https://www.highlandgardens.org. I dropped the Joomla tables and deleted the files.

    I want to point the url to a WordPress install that’s build and ready in the /wp subdirectory. My index.php in the root folder shows this, the index.php in the wp doesn’t – .htaccess files are in both directories.

    I’m getting the following errors:

    Warning: Unexpected character in input: ”’ (ASCII=39) state=1 in /home4/grdnguru/public_html/index.php on line 17

    Warning: Division by zero in /home4/grdnguru/public_html/index.php on line 17

    Warning: require(0php) [function.require]: failed to open stream: No such file or directory in /home4/grdnguru/public_html/index.php on line 17

    Warning: require(0php) [function.require]: failed to open stream: No such file or directory in /home4/grdnguru/public_html/index.php on line 17

    Fatal error: require() [function.require]: Failed opening required ‘0php’ (include_path=’.:/opt/php52/lib/php’) in /home4/grdnguru/public_html/index.php on line 17

    On line 17 I have this:
    require( dirname( __FILE__ ) . ‘wp/wp-blog-header.php’ );

    My directory IS wp. I’ve tired with /wp/wp-blog … as well and get the same message. I have the site URL in my WP dashboard correct, the WP url is siteurl.org/wp

    Any help? Please!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sppunk

    (@sppunk)

    Turns out Mac’s TextEditor was messing with the PHP text and causing it to not be read correctly. Updating via capable fixed this issue.

    junaidrehman

    (@junaidrehman)

    if you have access to the database then go to wp_options table and change site_url and home to sitename.com/wp
    if you want to move your site to sitename.com then use sitename.com in site_url and home fields in wp_options table

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Moving WP site – now getting php errors’ is closed to new replies.