WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] New to WP & Unable to Install (6 posts)

  1. Catadmin
    Member
    Posted 2 years ago #

    I'm very new to Word Press, trying to install it as a CMS (using NameCheap webhosting) and I seem to be unable to install it no matter how closely I follow the instructions.

    I threw the files into the root of public_html and tried to navigate to mydomain.com/wp-admin/install.php, which failed because there was no wp-admin folder. Once I figured out the install.php file was in the root of the domain, I tried running mydomain.com/install.php and got the following errors:

    Warning: require_once(/home/MyUser/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/MyUser/public_html/install.php on line 36

    Fatal error: require_once() [function.require]: Failed opening required '/home/MyUser/wp-load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/MyUser/public_html/install.php on line 36

    The files listed in the error message do exist in the public_html directory and nothing I'm finding on the support site makes enough sense to me to solve the problem. If anyone could assist me, and be as descriptive in questions / answers as possible, I would appreciate it.

  2. romuloctba
    Member
    Posted 2 years ago #

    I strongly advise u to upload wp again.

    Actually what i do is this:
    1) download original wp
    2) unzip it
    3) zip it wihout wordpress folder (i mean, i enter wordpress folder select all files and folders there , then zip it)
    4) name it wordpress.zip
    then i run the folowing unziper script, wich unzips alright for me
    then, i change the wp-content chmod to 775, and public_html also

    then acess mysite.com/wp-admin and it does the job ok

    <?php
    $zip = zip_open("wordpress.zip"); //DEFINE O ARQUIVO A SER ABERTO
    
    if (is_resource($zip)) {
      while ($zip_entry = zip_read($zip)) {
        $fp = fopen(/.zip_entry_name($zip_entry), "w");
        if (zip_entry_open($zip, $zip_entry, "r")) {
          $buf = zip_entry_read($zip_entry, zip_entry_filesize($zip_entry));
          fwrite($fp,"$buf");
          zip_entry_close($zip_entry);
    
    	  print(zip_entry_name($zip_entry)); //IMPRIME O ARQUIVO ABERTO
    
          fclose($fp);
        }
      }
      zip_close($zip);
    }
    ?>

    hope it helps

  3. romuloctba
    Member
    Posted 2 years ago #

    tell me if it worked for u

  4. Catadmin
    Member
    Posted 2 years ago #

    zip it wihout wordpress folder (i mean, i enter wordpress folder select all files and folders there , then zip it)

    I have a problem. I'm not seeing folders in the extracted WordPress stuff. This, I suspect, has been my problem all along. I see plenty of files, but no folders.

    -------------------

    Ignore what I just posted. I just realized my zip program went bonkers and didn't unzip the files properly. Instead of unzipping to their folder locations, it unzipped everything into a single root folder. And it's not working properly when I try and force it to the original folders.

    Thank you for the hints. As soon as I fix my zip program (I think it's corrupted), I'll try this again.

  5. Catadmin
    Member
    Posted 2 years ago #

    Good grief. That was the problem. My zip program was broken and wasn't unzipping the files to the correct folders.

    Fixed now. Installation ran. Now I just need to figure out how to uninstall so I can use the correct user for creating the database tables.

    Thank you for your assistance.

  6. romuloctba
    Member
    Posted 2 years ago #

    thats easy
    delete all files from server

    then open MySQL with phpmyadmin
    enter database u chose for wordpress, delete everything on it
    and do it all again =)

    good luck, glad to help
    dont forget to close the topic if it worked :)

Topic Closed

This topic has been closed to new replies.

About this Topic