Re: pgadmin website changes

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Miha Radej" <miha(dot)radej(at)siix(dot)com>, "pgadmin-hackers" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: pgadmin website changes
Date: 2006-01-22 10:47:30
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40103D9ED@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks Miha, patch applied.

> -----Original Message-----
> From: pgadmin-hackers-owner(at)postgresql(dot)org
> [mailto:pgadmin-hackers-owner(at)postgresql(dot)org] On Behalf Of Miha Radej
> Sent: 22 January 2006 09:44
> To: pgadmin-hackers
> Subject: [pgadmin-hackers] pgadmin website changes
>
> hi!
>
> i've set up a copy of pgadmin's website on my local machine.
> i am using
> apache 2.0.54 and php 5.0.4. when i tried to view the site, a
> bunch of
> errors popped up in my php error log:
>
> [21-Jan-2006 20:43:15] PHP Notice: Undefined index: _SERVER in
> /net/www/www.pgadmin3.org/index.php on line 3
> [21-Jan-2006 20:43:15] PHP Warning: main(/include/page.php) [<a
> href='function.main'>function.main</a>]: failed to open
> stream: No such
> file or directory
> in /net/www/www.pgadmin3.org/index.php on line 3
> [21-Jan-2006 20:43:15] PHP Warning: main() [<a
> href='function.include'>function.include</a>]: Failed opening
> '/include/page.php' for inclusion (include_pa
> th='.:/net/www/libs/adodb:/net/www/libs/Smarty/libs') in
> /net/www/www.pgadmin3.org/index.php on line 3
> [21-Jan-2006 20:43:15] PHP Fatal error: Call to undefined function
> www_page() in /net/www/www.pgadmin3.org/index.php on line 23
>
> these errors went away after i changed all occurances of
> $GLOBALS["_SERVER"]["DOCUMENT_ROOT"] to $_SERVER["DOCUMENT_ROOT"].
> _SERVER is also an autoglobal, used since php 4.1.0. on any
> php version
> greater than this the change should therefore have no ill effect.
>
> the attached diff file contains these changes. there's also a
> fix of a
> typo (an windows installer -> a windows installer) and another small
> change in the include/session.php file.
>
> also, what happened to the language selection menu?
>
> regards,
> Miha
>
> --
> "... the small primitive tribes joined up and became huge, powerful
> primitive tribes with more sophisticated weapons."
> -- Terry Pratchett, Small Gods
>

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2006-01-22 10:53:39 Re: Missing make files, etc
Previous Message svn 2006-01-22 10:45:52 SVN Commit by dpage: r4948 - in trunk/www: . advocacy development docs download include screenshots support translation