Poseidon FAQ
This is a collection of frequently asked questions about Poseidon. Feel free to edit this page.
Version 1.0 (cvs)
I get an "__autoload(<path>/mysqli.php)" error when I try to load a Poseidon page. What's wrong?
By default, the main CVS branch of Poseidon 1.0 tries to use PHP‘s MySQLi database extension. You’re seeing that error because the MySQLi extension isn’t enabled and PHP is trying to fall back to its autoload behavior, which causes it to attempt to load mysqli.php from Poseidon’s include directory.
If you can, I highly recommend that you enable the MySQLi extension. If that’s not an option (for example, if you use other software that depends on the older MySQL extension), edit Poseidon’s config.php file and change this line:
define('DB_DRIVER', 'MySQL41i');
To this:
define('DB_DRIVER', 'MySQL41');
This will tell Poseidon to use the older MySQL extension for communicating with the database. Of course, since primary development in CVS is carried out using the MySQLi extension, you’ll have to make this change every time you perform a CVS update. Also, I can’t guarantee that the MySQL database code will always be as up-to-date as the MySQLi code, so it may break from time to time.
Failed opening required '<path>/lib/XsltProcessor.php'? What's up with that?
Looks like you need to install PHP‘s XSL extension. It comes with PHP 5 by default, but you (or your hosting provider) may have disabled it at compile time. See the link above for instructions on recompiling PHP with XSL support or contact your hosting provider and ask them to enable the XSL extension. Poseidon generates pages as XML internally, then uses XSL to transform the XML into XHTML for display, so the XSL extension is vital.
Is there a way to see the XML version of a web page before it gets transformed to XHTML?
Yep. Just append /xml to the URL (or ?display=xml if you’ve disabled friendly URLs), like so: http://example.com/xml or http://example.com/?display=xml
Version 0.6.1
Does Poseidon work with PHP5?
Yes, although you may find that it generates errors if you have PHP configured to display Notices or Strict warnings. Turning debug mode off in config.php should solve that problem.
How do I edit a post?
When you’re logged on as the administrator, you can edit a post by clicking on its title.
How do I use line breaks or paragraph breaks in my post?
Poseidon tries to be smart about paragraph breaks. If it sees that you’re using HTML tags like <p> and <br />, then it’ll leave your post alone and assume that you want to do your own formatting with HTML. If your post doesn’t contain those tags, then Poseidon assumes that two newlines indicate a new paragraph and it inserts the appropriate formatting automatically.
For example, this would be considered a new paragraph.
This wouldn’t.
No matter what I search for, Poseidon displays "1 relevant match found" but doesn't show any results. What's wrong?
You’re probably using an old version of MySQL that doesn’t support the full-text search features that Poseidon uses. Upgrade to MySQL 4.0.2 or higher.
Are user names and passwords case sensitive?
No. This is because, by default, MySQL string comparisons are not case sensitive. In Poseidon 1.0, passwords will be case sensitive.