Skip site navigation (1) Skip section navigation (2)

pgadmin website changes

From: Miha Radej <miha(dot)radej(at)siix(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: pgadmin website changes
Date: 2006-01-22 09:43:55
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers

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/ 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/ 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/ on line 3
[21-Jan-2006 20:43:15] PHP Fatal error:  Call to undefined function 
www_page() in /net/www/ on line 23

these errors went away after i changed all occurances of 
_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?


"... the small primitive tribes joined up and became huge, powerful 
primitive tribes with more sophisticated weapons."
   -- Terry Pratchett, Small Gods

Attachment: pgadmin_website_diff.tgz
Description: application/x-compressed-tar (2.4 KB)

pgadmin-hackers by date

Next:From: SusemailDate: 2006-01-22 09:49:00
Subject: Missing make files, etc
Previous:From: Peter EisentrautDate: 2006-01-21 22:06:20
Subject: Please include NEWS or changelog in the package

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group