Summary | Problem with latest changes to History.php |
Queue | Horde Framework Packages |
Queue Version | FRAMEWORK_3 |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | ben (at) |
Requester | eric.rostetter (at) physics (dot) utexas (dot) edu |
Created | 01/20/2006 (7187 days ago) |
Due | |
Updated | 01/24/2006 (7183 days ago) |
Assigned | 01/21/2006 (7186 days ago) |
Resolved | 01/24/2006 (7183 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Not A Bug
should probably be
done in any case; always check for and handle any possible errors,
right?) and
I'm not seeing any more errors being logged, so either this was bogus
to start with
or something else changed and fixed it. Closing this case for now.
59a60,62
Horde::fatal($this->_db, __FILE__, __LINE__);
}
< switch ($this->_db->phptype) {
---
switch ($this->_db->phptype) {
gave the error:
Jan 20 14:16:00 web2 httpd: PHP Notice: Undefined property: phptype
in /usr/share/pear/Horde/History.php on line 62
switching it to:
switch ($conf['sql']->phptype) {
Solved it for me. If this isn't correct, then I've got a big problem
somewhere. But since
it only affects this one file after your recent changes, I was betting
it was a mistake.
State ⇒ Feedback
fails, giving you a non-object type error?
The code assumes that the DB connection was successful. But, it did
before I touched it, too, which makes it hard for me to believe that
you were not having problems beforehand.
State ⇒ Assigned
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Problem with latest changes to History.php
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
for mssql support. The following far from perfect patch removed my
symptoms/problems.
RCS file: /repository/framework/History/History.php,v
retrieving revision 1.28.2.9
diff -r1.28.2.9 History.php
59a60
< switch ($this->_db->phptype) {
---