Bug fixes

4 views
Skip to first unread message

Clark

unread,
Apr 28, 2008, 6:40:29 PM4/28/08
to myupb-de...@googlegroups.com
Hi guys,
 
Fixed a couple of bugs including a biggie in the update script - a missing ")"
 
The other was related to var being deprecated so I change it to public in config.class.php and tdb.class.php
 
I wasn't sure where or how to put the changes so I just committed them to trunk
 
Hope you can find a way to incorporate them into the release, especially the first one.
 
Clark

Rebles

unread,
Apr 28, 2008, 8:02:07 PM4/28/08
to MyUPB Developers Forum
Yeah, I found a bug that I made in ajax.php.

Jerroyd Moore

unread,
Apr 28, 2008, 11:06:24 PM4/28/08
to myupb-de...@googlegroups.com

Hey Clark,

 

One thing about tdb.class.php, that’s for PHP5.  The public declaration isn’t supported by PHP4, so it wouldn’t work.  It’s better to leave it as “var”, and change the error_reporting.  Can we do that instead for now?

 

--Rebles

Clark

unread,
Apr 29, 2008, 5:53:05 AM4/29/08
to myupb-de...@googlegroups.com
Yeah, we could do that.
 
If we get any more queries, just point them to the thread on the board.
 
Or else put a PHP version sniffer in if that's possible....I'm not that hot on OOP and it's next on my list of things to get my head round.
 
Going to try it out on my website.
 
Clark

Jerroyd Moore

unread,
Apr 29, 2008, 12:07:08 PM4/29/08
to myupb-de...@googlegroups.com
Here is a phsueodo example: 
If(php5) {
Include "tdb5.class.php";
} else {
Include "tdb4.class.php";
}

--Jerroyd Moore
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MyUPB Developers Forum" group.
To post to this group, send email to myupb-de...@googlegroups.com
To unsubscribe from this group, send email to myupb-developers
Reply all
Reply to author
Forward
0 new messages