Re: [GENERAL] migration problem

2008-05-30 Thread PJ
Thank you Tom & co. for your most helpful suggestions. If I may, I'll give a quick resume of my "adventure": In trying to debug this upgrade from php4 to php5 and postgresql 7.4 to 8.3 I have learned much. First trying to set up various debuggers like PHPed, Eclipse with phpeclipse, DEBUG and X

Re: [GENERAL] migration problem

2008-05-21 Thread Scott Marlowe
On Fri, May 16, 2008 at 7:23 PM, PJ <[EMAIL PROTECTED]> wrote: > I have a couple of LAN servers set up for learning & developing. One is > FreeBSD 4.10 running apache 1.3 with php4 module and postgresql 7.3 ; the > 7.0 is running apache22, php5 and posstgresql 8.3. > Here's the problem: Everything

Re: [GENERAL] migration problem

2008-05-17 Thread Tom Lane
Craig Ringer <[EMAIL PROTECTED]> writes: > That function hits the database repeatedly. If the problem is in fact > with a database query that it's generating you need to determine which > one. You could step through the function with a PHP debugger or just > insert log/printing statements in the

Re: [GENERAL] migration problem

2008-05-17 Thread Craig Ringer
PJ wrote: ($_SERVER["DOCUMENT_ROOT"].. and all that is well. However, there seems to be a problem with the sql code which was done by another party. There is a function "checkuser" which is invoked upon login from index.php. The instruction is: checkuser(array(0,1,2,3,4,5,6));.. and th

[GENERAL] migration problem

2008-05-17 Thread PJ
I have a couple of LAN servers set up for learning & developing. One is FreeBSD 4.10 running apache 1.3 with php4 module and postgresql 7.3 ; the 7.0 is running apache22, php5 and posstgresql 8.3. Here's the problem: Everything is fine on the older machine. I transferred one "WebSite" to the n