Loading...
 
Skip to main content

Call to ADONewConnection failing in plugins

Status
Closed
Subject
Call to ADONewConnection failing in plugins
Version
4.x
Category
  • Error
  • Usability
Feature
Database MySQL (MyISAM)
Wiki Plugin (extends basic syntax)
Submitted by
Steve
Volunteered to solve
Steve
Lastmod by
Steve
Rating
(0)
Description

I noticed that all the calls to the SQL plugin were killing my intranet website when going to version 4.x. Digging deeper I've narrowed it down to the ADONewConnection call of the wikiplugin_sql.php file. On that line of code PHP dies and I am left with a white page. I have tried playing with the call itself and even going to PDO which worked well enough to complete the page without dying, however I don't know enough about the PDO paradigm to actually retrieve data and rewriting the entire data retrieval strategy seems a bit extreme.

Upon learning of dbreport, the only other plugin I know of to also use ADONewConnection plugin, is also failing I've decided this might be an issue in the plugin engine itself which is beyond me to resolve. One black box at a time is my general approach to things and this now relates to ADO and the plugin engine.

I will continue to look at this issue, however assistance from bigger brains for PHP than my own would be a good thing.

Solution
None known.
Workaround
I know of no work-around other than continuing to run in a pre-4.x version.
Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3016
Created
Sunday 31 January, 2010 18:06:53 UTC
by Steve
LastModif
Sunday 31 January, 2010 19:55:23 UTC


Show PHP error messages