• Resolved darrendavid

    (@darrendavid)


    Hey all-

    Seems like I’m hit with a familiar problem. My fresh install hangs on Step 2 at:

    “Second Step

    Now we’re going to create the database tables and fill them with some default data.”

    The system correctly generates the tables in mysql, but never responds with the admin password, et al.

    I’ve followed every thread I can find on the subject, to no avail. SMTP is working from this machine, database connectivity/permissions are fine, other PHP/MySQL apps working fine on this machine (MediaWiki, et al). Software:

    FreeBSD 6.2-STABLE
    Lighttpd 1.4.11
    Mysql 5.0.22
    PHP 4.4.4

    any and all help is appreciated here. If there were only a way to hack in a new admin password, I think I’d be golden. FWIW, if i do jump to the admin pagae and try to retrieve my password, the system hangs again, so maybe it /is/ email related, but i can send email from that box…

    Thanks,
    darren

Viewing 14 replies - 1 through 14 (of 14 total)
  • spencerp

    (@spencerp)

    Is SEND MAIL enabled on the account? Domain? Whatever… Usually it’s because it’s trying to send out an email to let you know what your username, password and other informations are…but it can’t send them… *Usually* that’s what it is…if I remember right…LOL!

    Thread Starter darrendavid

    (@darrendavid)

    Indeed it is. I’ve got other apps successfully using sendmail on this machine.

    Any other thoughts?

    Thread Starter darrendavid

    (@darrendavid)

    Solved it!

    For some reason, PHP’s mail() function was hanging. I changed line 189 of wp-includes/pluggable.php from:

    $phpmailer->IsMail(); // set mailer to use php mail()

    to

    $phpmailer->IsSendmail(); // set mailer to use sendmail

    Of course, I made sure I had a working sendmail first. All good, thanks to everyone that pointed me towards email as the culprit…

    Thread Starter darrendavid

    (@darrendavid)

    Oh, I should mention that I did this on the trunk out of SVN, YMMV.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    If php’s mail function doesn’t work, then the most likely problem is a php misconfiguration. Check your php.ini settings to make sure that it references sendmail and such correctly. You may want to look at the documentation as well: http://php.net/mail

    Also note that the Testers email list or the WordPress Trac might benefit from reports of problems with the ‘bleeding edge’ versions of WordPress.

    I have same issue. Mine maybe a little different since the first instance I installed worked fine. But from there out it won’t. I’m configured to use IIS and I have my smpt server, port and send from defined in php.ini. Also I wrote a test email.php page to make sure it was working and it is. Any other clues?

    Putting in breakpoints looks like its hanging on this function:

    File: upgrade_functions.php
    Line: 28
    make_db_current_silent();

    I’m investigating more.

    I have control of my server and its PHP 5.0, IIS 6 using CGI.

    after further review it looks like its getting to different break points at different times. which leads me to believe my connection is timing out to MySQL. I’m lookging at increasing my timeout times in My.ini for mysql.

    Still no lovin. I wish it PHP would throw back some sort of connection error or something like that. Any clues would be appreciated.

    I’m facing same issue with WP2.2. See my thread: http://wordpress.org/support/topic/122343

    The Sendmail didn’t work 4 me πŸ™

    This is realated to the following MySQL Bug (http://bugs.mysql.com/bug.php?id=29480):

    To repeat this bug the value of the global sql_mode variable
    should be set to STRICT_TRANS_TABLES. Also some of table fields
    have to be defined as NOT NULL without the default values.
    After the first successful INSERT into that table, next statement
    should be INSERT or INSERT SELECT with an implicit assignment
    to some field defined without default value.
    The last statement hung instead of the error reporting.

    ok. thanks.

    ———————–
    http://www.idezmax.com/

    I had this problem, I am running Wamp 1.7.0 with WordPress 2.2, so if you’re not setting up a blog on your local machine but using a proper webhost instead the following fix may not be much use to you.

    Anyway, I found that the wait after submitting step 1 was just over 30 seconds, so in the php.ini file I found a likely culprit, doubling the ‘max_execution_time’ setting from 30 to 60. Then I restarted Wamp, created a new database, and tried the WordPress install.php again.

    That works for me, ie I get the full page with the admin and password details without altering core WordPress files or MySQL bugs.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Installation hangs on Step 2’ is closed to new replies.