Closed alexandreteles closed 8 years ago
Hi and thank you for reporting the issue. To be honest the master is currently being refactored and that might be the cause of the issue. But I want to get more experience with the database behaviour on live systems anyway, so I set up two instances from the current master for sqlite and mysql.
I will debug the issues and get back to you when we have a stable master that works with both and will do my bigger changes in branches in the future. Sorry about the inconvenience. :-(
Found and corrected a few issues in the database layer. If you still have the issues, could you send me your [model_options] / opt setting and the type of database you are using? I guess your error happens during sending a new paste, right?
I'll consider this solved for now. Please feel free to reopen it, if the problem is not yet solved for you.
Using the current master branch or the latest release with MySQL i get:
PHP Fatal error: Call to a member function prepare() on a non-object in /var/www/h0t.in/paste-beta/lib/zerobin/db.php on line 423"
Any other details that I can actually provide to help with the debug?