Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Noice13 – best thing to try is downloading a fresh copy of Stream. Sounds like there’s a file missing.

    Thread Starter Noice13

    (@noice13)

    I uninstall the plugin and reinstalled it by uploading the zip file. Sorry to say same error message. The error message appears to be thrown by class-plugin.php when it builds the connection to the database. Where is the database connection define (name, table, etc)?

    Thanks

    Hi Noice13,

    What version of PHP are you running?

    You’re right that it’s thrown by class-plugin.php. Using the autoloader (which is registered a few lines earlier), it tries to instantiate the class DB (namespaced it’s \WP_Stream\DB. If you’re version of PHP is less than 5.3, then it won’t support the namespacing and thus won’t work.

    But you should have been notified before that happened that your PHP version is too low.

    Try debugging around lines 77 – 79 – try to die() early, if the class exists, for example.

    Also, are you sure you’re running the latest version of Stream? 3.0.3?

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

The topic ‘Connection error’ is closed to new replies.