Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter moltar

    (@moltar)

    Found a similar problem someone faced: https://www.ads-software.com/support/2/11577
    Haven’t tested it yet, but I guess I am not alone…!

    Thread Starter moltar

    (@moltar)

    It took me a while, but I traced the segmentation fault to the pin point.
    It seems to be failing in the following file: /wp-includes/wp-db.php
    On line 144 (in latest release).
    It’s in function query($query)
    Here is a piece of code with the problem line in bold:

    } else {
    $i = 0;
    while ($i < @mysql_num_fields($this->result)) {
    $this->col_info[$i] = @mysql_fetch_field($this->result);
    $i++;
    }
    $num_rows = 0;
    while ( $row = @mysql_fetch_object($this->result) ) {
    $this->last_result[$num_rows] = $row;
    $num_rows++;
    }

    Thread Starter moltar

    (@moltar)

    Of course ??
    I mentioned that tables do get created. I checked the actual database thru myadmin, not just the messages on the screen.
    This post got me some more useful info: https://www.ads-software.com/support/2/7740
    I commented out upgrade_all() and install went smooth, but I think some tables were missing. But when I try to access any other pages (login, edit) I still get segfaults.

    Thread Starter moltar

    (@moltar)

    In those 3 posts you pointed out people had problem with mysql + php not working together. Mostly because of mod_mysql.
    I have it installed and it’s working. I am running myadmin and other php scripts fine that interact with database on daily basis. Besides, i can go all the way to the end of step 2 during installation. I think even step 3 completes, but I just don’t get any return. Tables get created fine, and when I press to go onto step 3, admin user is added to the database with password and everything, I just don’t get any output.
    When I run php –modules in shell, it lists mysql as one of the modules too, so it’s loaded for sure.

    Thread Starter moltar

    (@moltar)

    If I run the edit.php or any other file for that matter in shell, I get segmentation fault error.
    There was another problem that I found open_basedir was limited in Plesk. And script was requesting a file a catalogue up and system wouldn’t allow it. After I fixed that, I started getting Segmentation faults.
    They only happen after I finish the install. Well, not finish, but go all the way to step 3 which fails. Then even If I run install.php again, I get seg faults.

    Thread Starter moltar

    (@moltar)

    So as I understand – no solution yet?

Viewing 6 replies - 16 through 21 (of 21 total)