Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DokuHTTPClient has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/HTTPClient.php on line 20 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; HTTPClient has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/HTTPClient.php on line 53 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Event has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/events.php on line 12 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Event_Handler has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/events.php on line 116 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cache has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/cache.php on line 15 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cache_parser has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/cache.php on line 163 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cache_instructions has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/cache.php on line 277 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_LexerParallelRegex has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/lexer.php on line 35 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_LexerStateStack has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/lexer.php on line 229 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Lexer has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/lexer.php on line 285 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 4 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_CallWriter has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 699 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_Nest has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 728 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_List has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 770 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_Preformatted has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 963 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_Quote has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 1017 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_Table has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 1109 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Doku_Handler_Block has a deprecated constructor in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/plugins/dokuwiki/inc/parser/handler.php on line 1386 FS#98 : Problems while connected to a second database

ConLite

  • Status Researching
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Backend
  • Assigned To
    Ortwin Pinke
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version ConLite 2.0 RC
  • Due in Version ConLite 2.1.1
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: ConLite
Opened by Anonymous Submitter - 17.01.2013
Last edited by Ortwin Pinke - 18.01.2013

FS#98 - Problems while connected to a second database

If, in a module, you connect to an external database, all modules after that one in the template won’t work.
The configuration for those following modules says “-unnamed module-”.
If you close the connection to the external database in the module, the following modules work as they should.

If you have the module with the external database connection more than once in the template, directly following eachother, then each second one won’t connect to that database even if you use different variables for the connection, but only in the backend (configuration).
In the frontend everything works as it should even with the same variable for the external database connection, but only while closing the connection in the module (every instance).

Question/Problem:
Why does ConLite try to get the module information over the last opened database connection instead of using it’s own connection $db?

Attached is a module for showing a Modified Shopsoftware article in ConLite for testing.

Deprecated: Function create_function() is deprecated in /var/www/vhosts/conlite.org/httpdocs/dev/tickets/includes/class.user.php on line 115 Project Manager
Ortwin Pinke commented on 18.01.2013 15:53

I have to check db-behaviour.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing