• Hi there,

    Today I re-installed a complete WordPress 2.1.2 package with the “Famous 5-minute install”. The first 4 steps went ok, but when I want to run url/wp-admin/install.php I get the error message “The server encountered an internal error or misconfiguration and was unable to complete your request.

    Moreover, when I go with my browser to url/wp-config.php the content of this file is shown as text – with database name, user name and password.

    I then created a brand new database with a different name on the server, changed wp-config accordingly and tried again. The same thing happens again: I get an internal error when calling /url/wp-content/install.php and I get the content of wp-config shown in my browser when calling this file.

    Before I re-installed the blog was running ok.

    Can anybody here give me hints what I’m doing wrong? Thanks a lot!

    desertman

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter desertman

    (@desertman)

    … I’m wondering, since I see the content of php files as text, – could it be that I “lost” all php functionalities (or so)?

    Hi all,

    It is the first time I am installing WP. The first 4 steps was okay, than I went to the last one: ..//wp-admin/install.php and I encountered a similar problem.

    When I click on INSTALL on my browser, it showed a page of error with the following message:


    Warning: require_once(..//wp-settings.php) [function.require-once]: failed to open stream: No such file or directory in ..//wp-config.php on line 20

    Fatal error: require_once() [function.require]: Failed opening required ‘..//wp-settings.php’ (include_path=’.:/usr/local/php5/lib/php’) in ..//wp-config.php on line 20″

    What am I doing wrong?

    I am looking forward to hearing from you, WPeers!
    I have no idea of what to do now. Thanks a lot, Patricia.

    Welcome Patricia; typically your problem is a result of the files not uploading completely/successfully.

    You might want to delete and reupload the WordPress files.

    Additional resources:
    Using_Filezilla
    Uploading_WordPress_to_a_remote_host

    Thread Starter desertman

    (@desertman)

    Hello again,

    After contacting the hosting company I got now this answer from them:

    “We have examined your issue and it appears that your .htaccess file is coded improperly. We disabled the .htaccess file and uploaded test php and php5 files and there were no issues. Please correct your .htaccess file and you should no longer experience these issues.”

    How do I do this? I did reinstall the whole package already (from a newly unzipped original download) – that did not help. I also have to say that I don’t know what this .htaccess file is and where it normally would be (I just know that it must be an invisible file).

    Is this a file that is on the server only, or is it also somewhere on my computer? What should be in it?

    Thanks for your help … hopefully!

    desertman

    @desertman

    Well you could just rename .htaccess to htaccess.hold.

    Thread Starter desertman

    (@desertman)

    Michael,

    Thanks for your reply.

    Where would I do this? On the server? In the directory where the blog is, or above? How do I rename an invisible file on the server?

    And, when I rename this file, does that mean that a new one gets generated automatically?

    desertman

    Thread Starter desertman

    (@desertman)

    … ok, in Dreamweaver I can see this file locally and on the server in the root directory of the site (before I was only looking with my ftp client and did not see it).

    Now, should I rename it locally, wait for a new one to appear and then put it onto the server?

    desertman

    Thread Starter desertman

    (@desertman)

    I figured that this file is not neccessary and renamed it, both locally and on the server. Now the blog works. The rest of the website hopefully, too.

    Thanks for the help.

    The questions remain why there was this .htaccess file in the first place and what might have corrupted it.

    desertman

    Thank you, Michael!!

    Thread Starter desertman

    (@desertman)

    Hello again,

    Below is the text from the now disabled .htaccess file. It has obviously been put there by the previous webmaster (I just took this website over).

    The reason why PHP and the blog did not work seems to be that I changed the name of the sub-directory where the blog files are in.

    Is here someone who understands such a file? Would it make sense to put this file (with the correct directory name) into action again?

    desertman

    **********************************************
    # -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName http://www.domainname.com
    AuthUserFile /home/xxxxxx/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/xxxxxx/public_html/_vti_pvt/service.grp
    AddHandler application/x-httpd-php .php .html .htm

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /OldDirectoryName/

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /OldDirectoryName/index.php [L]

    </IfModule>
    **********************************************

    I’ve got about the same problem as Patricia, only different numbers:

    Warning: require_once(ABSPATH/wp-admin/admin-functions.php) [function.require-once]: failed to open stream: No such file or directory in /storage/…../public/sites/www.bruddstyker.nl/wp-admin/upgrade-functions.php on line 5

    Fatal error: require_once() [function.require]: Failed opening required ‘ABSPATH/wp-admin/admin-functions.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /storage/…../public/sites/www.bruddstyker.nl/wp-admin/upgrade-functions.php on line 5

    It’s a complete new installation, but it just won’t work. Very weird. Tried it with three different FTP-programs.

    On the site of my blog I get the following message:
    Fatal error: Call to undefined function wp() in /storage/…../public/sites/www.bruddstyker.nl/wp-blog-header.php on line 16

    petpro

    (@petpro)

    I am getting the error that I cannot connect to the database.
    there doesn’t happen to be a SQL db guide for godaddy users is there?

    MichaelH

    (@michaelh)

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Cannot run install.php’ is closed to new replies.