phillcross (@phillcross)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • 915     function phpbb_username($id) {
    916 global $phpbb_tables;
    917 $sql = "SELECT username FROM " . $phpbb_tables['users'] . " WHERE user_id=$id";
    918 $result = mysql_query($sql);
    919 if ($row = mysql_fetch_object($result)){
    920 return $row->username;
    921 } else {
    922 return false;
    923 }
    924 }

    What am I missing??

    I got the memory increased – php.ini

    BTW – On a single site you can create / edit .htaccess and add

    php_value memory_limit 64M (or whatever)

    Still having trouble with the supplied argument?

    I read through all this here are my errors:

    1.Connected to the phpBB database host
    2.Selected the phpBB database
    3.Exporting forums...
    4.Exporting users...
    5.Exporting user metadata...

    Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/singer/public_html/phpbb2bbpress.php on line 920

    6.Exporting topics...

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 33030274 bytes) in /home/singer/public_html/phpbb2bbpress.php on line 373

    How do I increase my allowed memory? That should resolve # 6

    What supplied argument is invalid??

    I appreciate the assistance.

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