Looks like you have a space before the www (or is that from your cut and paste). Yes, that < looks wrong. Yeh, that '<' is really odd. I'm checking the web for similar errors.
This is from var/log/httpd: //this is a copy and paste:
[Tue Dec 17 14:40:59 2002] [error] [client 127.0.0.1] File does not exist: /var/ www/html/edventure/<, referer: http://localhost/edventure/index.php [Tue Dec 17 14:40:59 2002] [error] [client 127.0.0.1] File does not exist: /var/ www/html/edventure/<, referer: http://localhost/edventure/index.php [Tue Dec 17 14:40:59 2002] [error] [client 127.0.0.1] File does not exist: /var/ www/html/edventure/<, referer: http://localhost/edventure/index.php [Tue Dec 17 14:40:59 2002] [error] [client 127.0.0.1] File does not exist: /var/ www/html/edventure/<, referer: http://localhost/edventure/index.php [Tue Dec 17 14:40:59 2002] [error] [client 127.0.0.1] File does not exist: /var/ www/html/edventure/. ED_SITE_ROOT ., referer: http://localhost/edventure/index.php
these caused me concern I'm not sure what the
-
'<' means...
-
edventure/. ED_SITE_ROOT
-
what about the backslashes?
whatever the meaning of the errors fixing the machine_name made them go away
-
Sure! Here it is
Looks like you don't have a ED_SITE_MACHINE line uncommented. Is that right? That would explain your error messages. -Doug
-
My bad. It is _not_ commented out.
Parse error: parse error, unexpected $ in /var/www/html/edventure/ed_lib.php on line 6739 Fatal error: Call to undefined function: ed_header() in /var/www/html/edventure/index.php on line 109
-
So these are the new errors. They look better than the apache errors above. Apache is not complaining at all now so I'm thinking changing the machine name fixed those errors. Now...the ed_header and ed_lib.php. Ed_lib is 6737 lines long, not 6739. So that's just plain odd. I'm going to check on ed_header and see what's going on there.
bash-2.05b$ cat config.php <?php // I added the php to be in 'good form' //-------------------------------------- define(ED_SITE_ROOT, "/edventure"); // leave off final slash //-------------------------------------- //does the (ED_SITE_ROOT, "/edventure") need to be a full path? //no, it doesn't appear to need a full path //...I'm going to try changing the config to the name found in /etc/hosts //Looking at this part here, I'm thinking I need to rename this to my //machine name as found in my /etc/hosts file. Right? //define(ED_SITE_MACHINE, "computer.college.edu"); //this doesn't work, but it looks like an FQDN //define(ED_SITE_MACHINE, "dhcp-864-64"); //this doesn't work //which is the name that my macine gives me directly //from my dhcp connection to my cable ISP //I definitely need to get a router going here so I can set //my machine name permanently //i get the exact same errors as above. //leave off final slash: //-------------------------------------- define(ED_SITE_MACHINE, "localhost.localdomain"); //-------------------------------------- //my remote site is using my domain dennisgdaniels.com and it works //which didn't work either, I did restart httpd after the changes. //"localhost.localdomain" seems to correct the apache errors // //-------------------------------------- define (ED_PATH_ROOT, "/var/www/html/edventure"); //-------------------------------------- //this part looks okay // leave off final slash: //-------------------------------------- define (ED_PATH_SECURE, "/var/edventure_secure"); //-------------------------------------- //I created this // leave off final slash: //-------------------------------------- define (ED_TEMP_PATH, "tmp"); //-------------------------------------- // Institute #. Needs to be unique among Edventure sites for sharing //-------------------------------------- $ED_INSTITUTE = 2; //-------------------------------------- //I've not bothered to change that yet. I guess it'd be a good idea for my remote server //-------------------------------------- $ED_INSTITUTE_DOMAIN = 'mail.college.edu'; //-------------------------------------- define(DB_TYPE, "mysql"); //-------------------------------------- //I'm using mysql //define(DB_TYPE, "postgresql"); //-------------------------------------- define(DB_DATABASE, "edventure"); //-------------------------------------- // i created that //-------------------------------------- define(DB_PASSWORD, "you don't need to know this"); //-------------------------------------- // or something //-------------------------------------- define(DB_SERVER, "localhost"); define(DB_USER, "denny"); ?>
