php module problem?

Discussion in 'Installation' started by rlaubert, Jan 11, 2008.

  1. rlaubert

    rlaubert New Member

    Joined:
    Mar 29, 2007
    Messages:
    9
    Got the phpbb module installed. Configured database, updated phpbb admin and get an error on aMember Admin as follows

    aMember 3.0.9PRO
    PHP 4.4.7 (apache)
    OS Linux server54.integrityserv...
    MySQL WARNING: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in line 54 of file SmartyNoWrite.class.php(216) : eval()'d code
    WARNING: mysql_query() [function.mysql-query]: A link to the server could not be established in line 54 of file SmartyNoWrite.class.php(216) : eval()'d code
    WARNING: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in line 54 of file SmartyNoWrite.class.php(216) : eval()'d code

    Root Folder /home/chef394/public_html/members
  2. rlaubert

    rlaubert New Member

    Joined:
    Mar 29, 2007
    Messages:
    9
    ALso it does not seem that any of the members got access to phpbb. No accounts transfered.
  3. michael_41

    michael_41 New Member

    Joined:
    Aug 29, 2006
    Messages:
    1
    same trouble with phpbb plugin

    This is the same error I'm getting in the amember control panel after installing the phpbb plugin. I've emailed Alex about this and I'm waiting for a solution. I'll try to post the fix here when I have it.
  4. davidgjohnson

    davidgjohnson New Member

    Joined:
    Feb 28, 2008
    Messages:
    17
    I have a very similar error (almost identical). The only plugin I'm using is the WordPress plugin. Here's the error:

    WARNING: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in line 54 of file SmartyNoWrite.class.php(216) : eval()'d code
    WARNING: mysql_query() [function.mysql-query]: A link to the server could not be established in line 54 of file SmartyNoWrite.class.php(216) : eval()'d code
    WARNING: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in line 54 of file SmartyNoWrite.class.php(216) : eval()'d code

    I don't know if it might help to know that I'm hosting at 1and1.com
  5. davidgjohnson

    davidgjohnson New Member

    Joined:
    Feb 28, 2008
    Messages:
    17
    One additional thought - the error message leads me to believe it's looking for a "local" MySQL server. The app is logging into a non-local DB, so perhaps that's a clue?
  6. forimpact

    forimpact New Member

    Joined:
    Mar 2, 2008
    Messages:
    5
    Anyone have a resolution for this? I'm getting a similar error.

    WARNING:mysql_fetch_row(): supplied argument is not a valid MySQL result resource in line 54 of file [MYPATH]/amember/smarty/SmartyNoWrite.class.php(216) : eval()'d code
  7. sara_nylander

    sara_nylander New Member

    Joined:
    Feb 4, 2008
    Messages:
    3
    Me too whats the deal here?

Share This Page