Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Object not found - help!

Nichiren Dinzeo
Registered User
Join date: 14 Feb 2007
Posts: 203
02-21-2007 10:10
Using xampp - php/apache server 2.2 on winxp....

http://localhost/xampp/phpinfo.php works fine

created a registration script called registration.php and put it in the xampp directory..same location as phpinfo.php

http://localhost/xampp/registration.php returns:

Object not found!
The requested URL was not found on this server.


I checked spelling..ok
I changed the mysql_connect log on to use root and root password - no difference
I switched to php4 ..no difference

any clues why is wrong or what else I can check. I am using php5.0 I will tr
Nichiren Dinzeo
Registered User
Join date: 14 Feb 2007
Posts: 203
registration php
02-21-2007 10:23
<?php
// Connects to your Database
mysql_connect("http://localhost/xampp", "test", "testpword";) or die(mysql_error());
mysql_select_db("slgeocache";) or die(mysql_error());
?>

I commented out all the code except the connect code (above)...and still get error

xampp is installed on my hard drive :
c:\Program Files\xampp

my two scripts ( phpinfo.php and registration.php) are in the xampp directory

I am baffled....
Nichiren Dinzeo
Registered User
Join date: 14 Feb 2007
Posts: 203
02-21-2007 10:24
I have also changed the connect info to just say localhost like below:
<?php
// Connects to your Database
mysql_connect("localhost", "root", "arivaca";) or die(mysql_error());
mysql_select_db("slgeocache";) or die(mysql_error());
?>
Nichiren Dinzeo
Registered User
Join date: 14 Feb 2007
Posts: 203
02-22-2007 08:56
found my problem...had xampp not installed on the highest of root. c:\