[13-Sep-2007 17:18:29] PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable all-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /export/home/www/php/include/url.inc.php on line 337Fix: Change:
$fd = fsockopen($host, 80, &$errno, &$errstr);To
$fd = fsockopen($host, 80, $errno, $errstr);
[13-Sep-2007 17:43:04] PHP Notice: Undefined index: carson.eecs.berkeley.edu in /export/home/www/php/get.php on line 29Solution: The
sites
table needs to mention
carson.eecs.berkeley.edu
. Find a copy
of sites.sql
in a mysql backup directory,
for example /export/home/www/mysqlarchive/Wed/sites.sql
and change one of the hosts to carson.eecs.berkeley.edu
. Then follow
the procedure from php/util/mysqlrestoreall
:
su - mysql /opt/mysql/mysql/bin/mysqladmin -f drop sites cd /home/www/mysqlarchive/Wed /opt/mysql/mysql/bin/mysqladmin create sites /opt/mysql/mysql/bin/mysql sites < sites.sql
[13-Sep-2007 17:54:58] PHP Notice: Undefined variable: SCRIPT_URL in /export/home/www/php/trust.eecs.berkeley.edu/get.php on line 17Change the offending line to:
$url = $_SERVER['SCRIPT_URL'];
[13-Sep-2007 18:16:04] PHP Fatal error: require() [ function.require]: Failed opening required 'carson.eecs.berkeley.edu/config.php' (include_path='.:/usr/local/lib/php') in /export/home/www/php/mysql/config.inc.php on line 14Solution: add
/home/www/php
to PhP's includes
by editing php.ini
:
; UNIX: "/path1:/path2" ;include_path = ".:/php/includes" include_path = ".:/home/www/php"and restarting Apache with
/etc/init.d/gsrc stop; /etc/init.d/gsrc start
http://carson.eecs.berkeley.edu
and click on "login", I get a blank page.
Solution: The problem was that the ssl.conf
file was not include rewrite.conf
.
http://carson.eecs.berkeley.edu/trustlocal
brings up a blank page.
Solution: group.php needed to properly access formerly global vars.
cvs update -P -d -A
and copy
the cvswww
and wwwdata
directories.
gtar -cf - . | ssh cxh@carson "cat > ~www/cvswww/c.tar"
[Fri Sep 14 15:07:53 2007] [error] [client 64.142.12.29] client denied by server configuration: /home/www/cvswww/carson.eecs.berkeley.edu/education/This looks like a problem with symbolic links in
httpd.conf
:
<Directory /> Options FollowSymLinks AllowOverride None # Commented out by cxh so we can follow symbolic links for cvswww/carson* #Order deny,allow #Deny from all </Directory>and then restarted httpd