• Resolved philhulett

    (@philhulett)


    Frustrating. I’m on my third install…third database….and still this. I uploaded to the root at wilmingtonfumc.org. wilmas_fumc is the name of the database (is that a problem?) wp-config is updated with database, user, password and keys. I left “LOCALHOST” as is. Anything else?

    Here are the 2 warning messages I get:

    Warning: require(/home/wilmas/public_html/wp-blog-header.php): failed to open stream: No such file or directory in /home/wilmas/public_html/index.php on line 17

    Fatal error: require(): Failed opening required ‘/home/wilmas/public_html/wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/wilmas/public_html/index.php on line 17

    Thanks for your help.

    Phil

Viewing 12 replies - 1 through 12 (of 12 total)
  • Seems like you there are files missing in your wordpress installation. I recommend you to delete all the files you have in your installation folder and download a fresh copy of wordpress.zip file from WordPress official site and extract them in your root folder and try again.

    Thread Starter philhulett

    (@philhulett)

    Happy to try again, but I’ve done exactly that twice already. Could it be something else?

    The only other thing that it coudl possibly be is a permissions issue with the files on the server. You can check the files to see if they are set as 644 and if not, set them to that. You can read more about file permissions here.

    If the permissions are fine, then check on your server to see if the files really are there. From experience I know that sometimes FTP programs can fail with some files and just miss them out, and you don’t see the error message as it’s gone way to quickly.

    If the files are in the right place, talk to your hosting company and get them to investigate as there’s probably soemthing on the server that’s miss-configured.

    Thread Starter philhulett

    (@philhulett)

    Permissions are all set to 0644

    I took everything out of the public/html folder except for the cgi, images, fonts, and js folders. I also left the error log there.

    I uploaded for a 5th time to the root directory and wilmingtonfumc.org produces the following:

    Index of /

    cgi-bin/
    fonts/
    images/
    js/
    Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Server at wilmingtonfumc.org Port 80

    Im not sure what you’re looking at, but that folder structure is not from WordPress. The /cgi-bin/ folder is a standard things for a hosting account, but things like /fonts/ and /images/ are not WordPress folders. Where they there before you installed WordPress?

    Ifyou have installed WordPress to the root folder, then there’s something wrong on the server. You would at least see the file structure, which isn’t there. It’s strange that you’re not seeing that now, as you had actual WordPress errors before, so maybe you’re trying to upload the files to the wrong folder (not the root folder for the public area)?

    This is the sort of time that you really need to talk to your hosting company. If you’ve got the files in te right place, got the right permissions set, and you’re seeing that directory listing, the server is serving out the wrong thing, so they’re the ones that will need to fix that.

    Thread Starter philhulett

    (@philhulett)

    Very lost now. 5 minutes has turned into 5 hours. I understand I am not a pro, but setting up a database in mysql if fairly rudimentary. Unzipping, altering and renaming the the config file is simple. I did allude to the leaving “localhost” for DB_Host.

    I am downloading wordpress from www.ads-software.com. Changing the config file locally, and uploading to the root. When I upload to the public_html folder I get an entirely different set of problems.

    I have deleted databases and started with fresh ones.

    All of my permissions are established 0644.

    I have a recent version of php on my server.

    Wilmingtonfumc.org produces this:

    Index of /

    cgi-bin/
    fonts/
    images/
    js/

    Public_html folder has the following items:
    Folder: cgi-bin
    Folder: fonts
    Folder: images
    Folder: js
    File: error_log

    WordPress folder is in the root directory.
    All the usual files are inside.

    I appreciate any thoughts you might have.

    Thanks

    Phil

    WordPress folder is in the root directory.

    Where in the root directory? It’s not shwoing in the directory listing that’s being shown in /public_html/, so it can’t be “seen” by the server to sever out to the public.

    If you want to have this as your main website, you’d want to delete everything (except maybe the /cgi-bin/ folder as some hosts like to ahve this in place) from your /public_html/ folder, and then upload all of the files into the /public_html/ folder – not a sub-folder anywhere. That will get the WordPress site directly on your websites URL.

    Thread Starter philhulett

    (@philhulett)

    catacuastic,

    I think you caught me mid delete/re-upload.
    If you look now everything is there. My past uploads I was just dragging the wordpress folder over. This time I dragged the contents of the folder over. New, not encouraging result: “Error establishing a database connection”

    I’ll give this a few minutes for you to check it out…then I’ll do what you suggest.

    That error is actually a lot better!

    What that means is that the system is working, but one of the database connection details in yor wp-config.php file isn’t corrct. Most times that’s either from using localhost where the server doesn’t allow it, from the server not having access to the database sever, or the database user not having the correct permissions set for the database.

    Again, if everything does seem correct you will need to talk to your hosting company to confirm that everything there is actually correct. If there is anything wrong they’ll normally be able to tell you.

    Thread Starter philhulett

    (@philhulett)

    I’m in. Thanks for your patience. After uploading one more time, I got the database connection error again. I double-checked the config info and it was correct. So…I deleted the database and made a new one, updated the config file and bingo. I’m in.

    Something is fickle on my side and it needs to be punished.

    Thanks again for your help.

    Case closed.

    Phil

    hy! I have same problem:

    Warning: require(/volume1/web/wp-blog-header.php): failed to open stream: No such file or directory in /volume1/web/index.php on line 17 Call Stack: 0.0001 132536 1.

    Thanks for help.

    @dronekg – If the steps above haven’t helped you, you should start your own thread as piggy-backing on someone elses like this isn’t the done thing around here. ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Fatal Error’ is closed to new replies.