-11104: Session not connected.

Explanation:

The system attempted to communicate with the database kernel. Here the system detected that there is no longer a connection to the database kernel.

User Response:

Reconnect to the database kernel with the function maxdb_connect().

See also:

PHP Manual