Forums

[resolved] Word Press Installer won't start: (22 posts)

  1. metiqolman
    Member
    Posted 2 years ago #

    Installing on a Macbook with OS X 10.5
    Installed MAMP. Seems to be working fine.

    I've run thru all the tutorials and have made sure I followed all the steps carefully.
    When I try to go to my local host and run the Word Press installer I get a 404 file not found error referencing the install.php file (which does exist and the path seems correct)

    Looking at the Apache log file I see the following: (thought I'd include it just incase someone would want it) There's also a MYSQL log file I could include if someone needs the info to help me thru this.

    Tue Nov 17 12:14:25 2009] [notice] Apache/2.0.63 (Unix) PHP/5.2.11 DAV/2 configured -- resuming normal operations
    [Tue Nov 17 12:14:32 2009] [error] [client ::1] File does not exist: /Applications/MAMP/bin/mamp/wordpress
    [Tue Nov 17 12:14:33 2009] [error] [client ::1] File does not exist: /Applications/MAMP/bin/mamp/wordpress
    [Tue Nov 17 12:14:53 2009] [notice] caught SIGTERM, shutting down
    [Tue Nov 17 12:14:54 2009] [notice] Digest: generating secret for digest authentication ...
    [Tue Nov 17 12:14:54 2009] [notice] Digest: done
    [Tue Nov 17 12:14:54 2009] [notice] Apache/2.0.63 (Unix) PHP/5.2.11 DAV/2 configured -- resuming normal operations

    Can anyone help me over this hump?

  2. whooami
    Member
    Posted 2 years ago #

    what, EXACTLY, are you putting in your chosen browser's url box to try to access the install.php page?

  3. metiqolman
    Member
    Posted 2 years ago #

    Here is the MYSLQ log file info:
    It states: 'You have forced lower_case_table_names to 0 through a command-line option' ... not sure how that could be. I haven't done anything thru command line...
    The only editing I've done was to the wp-config-sample.php file and then saved it to wp-config.php

    091117 12:14:53 mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql
    091117 12:14:53 [Warning] You have forced lower_case_table_names to 0 through a command-line option, even though your file system '/Applications/MAMP/db/mysql/' is case insensitive. This means that you can corrupt a MyISAM table by accessing it with different cases. You should consider changing lower_case_table_names to 1 or 2
    091117 12:14:53 [Warning] One can only use the --user switch if running as root

    091117 12:14:53 [Note] Plugin 'FEDERATED' is disabled.
    091117 12:14:53 [Note] Plugin 'ndbcluster' is disabled.
    091117 12:14:53 InnoDB: Started; log sequence number 0 44253
    091117 12:14:53 [Note] Event Scheduler: Loaded 0 events
    091117 12:14:53 [Note] /Applications/MAMP/Library/libexec/mysqld: ready for connections.
    Version: '5.1.37' socket: '/Applications/MAMP/tmp/mysql/mysql.sock' port: 8889 Source distribution

  4. metiqolman
    Member
    Posted 2 years ago #

  5. songdogtech
    Member
    Posted 2 years ago #

    Try http://localhost/~yourshortusername/public_html/

    That will get you an index listing of your public_html directory; from there you will see the wordpress folder, if it's in the right place. if not, drop it in and then go to install.php

    Be sure personal web sharing is turned on in the Sharing Preference Pane.

  6. metiqolman
    Member
    Posted 2 years ago #

    Ok.
    Personal web sharing is on in my preferences pane.

    I had placed the word press folder in the htdocs directory per some instructions I received. I moved that info to my 'sites' folder and am now able to see an index of all the files and folders.
    Now when I open up the install.php it shows us as a text document rather than starting the install.

    Still working on it... getting closer but not there yet! :)

  7. songdogtech
    Member
    Posted 2 years ago #

    What kind of text document? php code? Than php isn't running: Marc Liyanage - Software - Mac OS X Packages - PHP and/or Enabling PHP in Mac OS X 10.5.

  8. metiqolman
    Member
    Posted 2 years ago #

    Yeah... that's what it looks like.
    But all the files that I see in the browser look like links.

    In any case I did everything described in 'Enabling PHP in Mac OS X 10.5.
    The changes did need to be made but I'm a bit confused as to why. It was my understanding that the MAMP install and config would cover all this... I guess not.

    I've made all the changes and stopped and started my servers. Put this in my URL
    http://localhost/~administrator/wordpress/wp-admin/install.php and it continues to open up the install.php in text format instead of the Word Press install dialogue.

  9. songdogtech
    Member
    Posted 2 years ago #

    Make a plain text file and call it phpinfo.php and put just this line in it:

    <?php phpinfo(); ?>

    then put the file in the root of pubic_html, and then go to that file with your web browser. http://localhost/~administrator/phpinfo.php

    If you see text that says "phpinfo", then php isn't running. If you see a long list of php configurations, then php is running.

  10. metiqolman
    Member
    Posted 2 years ago #

    Yup... PHP is running...

  11. songdogtech
    Member
    Posted 2 years ago #

    Strange. I have four different wordpress installs right now on localhost, and I never had issues installing or running.

    I think you've got a bad URL in the database from all the attempts. So I'd install and use PHPMyAdmin to delete any databases and start over with a new database. It can be the same name and passowrd, just use PHPMyAdmin to clear it out and start over. You'll need PHPMyAdmin anyway to export databases, and it's a great tool. I use it all the time on localhost. phpMyAdmin

  12. metiqolman
    Member
    Posted 2 years ago #

    yeah.. I've already got that installed.

    Are you familiar with the MAMP application?

    I installed that and created a data base thru that. It has PHPMyAdmin built right into it.

    I'll delete the data bases and start over and see if anything changes. Actually I'm probably going to start right from the beginning and walk thru the steps again.

  13. songdogtech
    Member
    Posted 2 years ago #

    I might be messing you up as I don't use MAMP; I use the OS X default apache/php/mysql under localhost without MAMP.

    Does MAMP write to the .htaccess file? I'd check that for a mod_rewrite block that is confusing the wordpress installer.

    Or reinstall MAMP, or uninstall it and try the default OS X way.

  14. shonnalemke
    Member
    Posted 2 years ago #

    I'm having this exact issue, have been for a few days now. I religiously followed all steps in the tutorial I was using, downloaded & installed MAMP, downloaded & installed Word Press, created a new database within the MyPHPAdmin of MAMP, input the login etc in the config file...but when I go to launch the install, I get either a 404 page, or some gobbly gook code, or if I drag the file to my browser, it just shows the text within the file.

    From the comments in some of the tutorials I've been following, this is a pretty common issue, but everyone seems to resolve it differently, none of which have worked for me.

    HELP!!!

  15. songdogtech
    Member
    Posted 2 years ago #

    Run phpinfo as I pointed out above to see if you've got php installed with the right path.

    You can't just drag the file to the browser, as php won't execute.

    404ing might be .htaccess, if MAMP writes to that.

  16. metiqolman
    Member
    Posted 2 years ago #

    Songdotech,
    I'll check that out and let you know. I tried installing WordPress on my G5 using the method you described and didn't get very far with that at all. Although with the knowledge that I've acquired in the last day I might go back to that machine and try again. I'll check the .htaccess permissions and let you know.

    I know what you mean shonnalemke. It can be very confusing when you watch someone else get it working but it just won't for you! :)

  17. shonnalemke
    Member
    Posted 2 years ago #

    Just found a new and slightly different tutorial. Going to start over:
    http://tinyurl.com/odasnd

  18. metiqolman
    Member
    Posted 2 years ago #

    I think I might to... my only question is where do I start over from?
    Do i just delete the folders with MAMP and WordPress and start from scratch?

  19. shonnalemke
    Member
    Posted 2 years ago #

    Eureka!

    Ok, so it just worked for me. Before, I was trying to do the install into the "htdocs" folder within MAMP. But, in the tutorial I posted above: http://tinyurl.com/odasnd he has you putting the wordpress files in your "sites" folder, as well as setting some parameters within the Apache preferences tab of MAMP.

    I did not even have to reinstall everything, just follow the steps that look new in the above tutorial.

    Good luck! Let us know how it goes.

    Shonna

  20. shonnalemke
    Member
    Posted 2 years ago #

    Oh, and also, my local host was the 8888, not the 8889 I was using originally. Double check that in both places.

  21. metiqolman
    Member
    Posted 2 years ago #

    Well... shonnalemke...
    I don't know what to say... but THANKS!
    I followed the instructions in your link and mine is finally working...
    The ONLY thing thats different is the step where he states "test if it is working by opening your browser and going to http://localhost:8888/ You should see the contents of your ~/Sites "
    I was always putting in http://localhost:8888/~username/'wordpress folder name'/wp-admin/install.php

    This time I just put in http://localhost:8888/ and it found the install.php and started the dialogue.
    Now I just hope it keeps running. :)
    Thanks for everyones help!
    Greg

  22. songdogtech
    Member
    Posted 2 years ago #

    Glad you got it to work. "Sites" is the default directory for apache with OS X, while port 8888 must be unique to the MAMP installer, as that port doesn't work with mine non-MAMP setup.

Topic Closed

This topic has been closed to new replies.

About this Topic