• I am hoping someone can help me. I have an application that has security using ricocheting’s SQL Wrapper and Login Singleton for PHP. I am installed a blog in the root directory of my application which requires user credentials to access. I am trying to wrap the main blog index.php page with my login singleton but I get an error. The code and the error are as follows:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    My code is on lines 14-24.

    The error I get is:

    Database Error
    Message: WARNING: No link_id found. Likely not be connected to database.
    Could not connect to server: [server name].
    Date: Monday, October 24, 2011 at 3:53:13 AM
    Script: /fitzwad/marsecdev/
    Database Error
    Message: WARNING: No link_id found. Likely not be connected to database.
    Could not open database: [database name]
    Date: Monday, October 24, 2011 at 3:53:13 AM
    Script: /fitzwad/marsecdev/

    Clearly it isn’t connecting to the database but I am not sure why. It connects on every other non-wp file in that directory but not the wp files. Is there some type of wp configuration blocking other databases from being ran?

    Any help would be greatly appreciated.

    Thanks in advance – Brent

  • The topic ‘Embedded Blog Question’ is closed to new replies.