• I have posted here twice and nobody has been able to provide a solution. Is there any way of kicking a support request upstairs to the developers?

    I have a WP installation which doesn’t allow me admin access. ** I have refreshed the installation, disabled all the plugins and switched themes to 2010.

    The database is working because two other blogs are working off of it.

    Now, only the main blog page is showing and split posts do not.

    The error message I get:
    Warning: require_once(ABSPATHwp-admin/includes/bookmark.php) [function.require-once]: failed to open stream: No such file or directory in /usr/www/users/allanj/fn/wp-admin/admin.php on line 10

    Fatal error: require_once() [function.require]: Failed opening required ‘ABSPATHwp-admin/includes/bookmark.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /usr/www/users/allanj/fn/wp-admin/admin.php on line 10

Viewing 14 replies - 16 through 29 (of 29 total)
  • Thread Starter allansjackson

    (@allansjackson)

    Rich: Uploading that file has created a change. I now get the following when hitting the admin.php page, or any other page in the fn folder:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.

    sorry, I missed a bit, try this.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /fn/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /fn/index.php [L]
    </IfModule>
    
    # END WordPress

    Thread Starter allansjackson

    (@allansjackson)

    Rick: Thanks, have done and uploaded. There has been an improvement in that the server error has been eliminated and the read more links on the home page now work, but the abspath error message is back on the admin page.

    if it helps, I have run a php script page in the wp-admin folder and it gives the following as the path:

    /usr/www/users/allanj/fn/wp-admin

    In fact, if you look at the bookmark file that error message says is missing, it’s actually there:
    https://allanjackson.co.za/fn/wp-admin/includes/bookmark.php

    Thread Starter allansjackson

    (@allansjackson)

    Rick: Thanks, have done and uploaded. There has been an improvement in that the server error has been eliminated and the read more links on the home page now work, but the abspath error message is back on the admin page.

    if it helps, I have run a php script page in the wp-admin folder and it gives the following as the path:

    /usr/www/users/allanj/fn/wp-admin

    In fact, if you look at the bookmark file that error message says is missing, it’s actually there:
    https://allanjackson.co.za/fn/wp-admin/includes/bookmark.php

    Can you run this from a temp php script within the wp-admin directory:
    echo dirname(dirname(__FILE__));

    Does that match ‘/usr/www/users/allanj/’ ?

    Thread Starter allansjackson

    (@allansjackson)

    I get ‘/usr/www/users/allanj/fn’ from the script you sent. Don’t know why it doesn’t show the wp-admin folder too, seeing that the script is running in that folder…

    @allan
    Please check if you have these lines in your wp-config.php file

    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');

    Thread Starter allansjackson

    (@allansjackson)

    @rich: replacing the .htaccess has resulted in page links coming alive and full posts being displayed. Thanks there.

    @reuben:

    I do seem to have those lines right at the bottom and another reference to abspath and wp-settings.php. Could there be an issue there perhaps?

    From wp-config:

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);

    Will be ffline for a while at work. Will check here later.

    in wp-settings.php
    at line 120 change this

    require( ABSPATH . WPINC . '/bookmark.php' );

    to

    //require( ABSPATH . WPINC . '/bookmark.php' );

    and see if the admin panel loads.

    <b>Edit:</b> Not wp-settings.php but in wp-admin/includes/admin.php( line 10 )

    Hi again,

    It might be some missing files when you upgraded your wordpress. This happens usually when you upload the files and suddenly your connection stops.

    Before, I encountered a client with a lot of missing files of his wordpress site. Of course missing files could me error from everywhere. I did not reinstall wordpress coz the database is there I just uploaded all the wordpress files and updated the wp-config.php with the same database that has been used before and it went back to normal, except for a few missing images.

    So its either you manually check the missing files. Or you could delete the database and create a new one. This link I found will give you a guide on how to do this:
    https://www.tipsandtricks-hq.com/how-to-uninstall-and-reinstall-wordpress-245

    Thread Starter allansjackson

    (@allansjackson)

    @reuben: I don’t find a line like that in my in my includes/admin.php file. What I’ve got is:

    /** WordPress Bookmark Administration API */
    require_once(ABSPATH . ‘wp-admin/includes/bookmark.php’);

    @freelance: Thanks for the link. My thought is that, if all these attempts fail, is to import the posts and pages into a blog at WordPress.com burn and reinstall WordPress on my domain, and re-import the content.

    Hi Allan,

    Yes that is good too, before you delete the database. You export the posts and save it to your PC, you don’t need to add it in wordpress.com.

    goodluck

    Thread Starter allansjackson

    (@allansjackson)

    @freelance: I can’t export from inside WordPress but I have access to the hosts dbase control panel. Do you know if I can I import posts from the database once saved on my PC, if there’s more than one blog stored in it? There are three in fact.

    I think you can.. Check the database name in wp_config.php, of the blog having problem. The database name is what this blog is using. If you go to php myadmin, on the left side, you will see the database names… Anyway here is a link to further guide you in the process:
    https://codex.www.ads-software.com/Backing_Up_Your_Database

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘If this forum doesn't work ?’ is closed to new replies.