Stretsh (@stretsh)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Seems like this is some kind of cache problem. I tested it in 3 different browsers on my Ubuntu box, clearing the cache, nothing worked until I restarted my box. So I think somehow the cache got messed up.

    In reply to: Import SMF to bbPress

    Did anyone report strange things happening after the import with this script? Like anonymous visitors not being able to view new posts.

    In reply to: Import SMF to bbPress

    This code is written for PHP5. It works perfectly.

    PHP4 users will need an extra piece of code, however, because the function file_put_contents does not come with PHP4.

    So copy this piece of code and paste it on the bottom of the php file, but before the ?> tag

    if (!function_exists('file_put_contents')) {
    function file_put_contents($file, $contents = '', $method = 'a+') {
    $file_handle = fopen($file, $method);
    fwrite($file_handle, $contents);
    fclose($file_handle);
    return true;
    }
    }

Viewing 3 replies - 1 through 3 (of 3 total)