Andrew: Tried a few other things to connect with the database - removed the username- in front of the $database="username-databaseName" for the phpsqlsearch_dbinfo.php), I think I am getting closer. Please see my new error message:
Page: http://www.vl360.com/phpsqlsearch_genxml.php Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /hermes/bosweb/web036/b361/ipw.vl360com/public_html/phpsqlsearch_genxml.php on line 15 Not connected : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Line 15 is: // Opens a connection to a mySQL server $connection=mysql_connect (localhost, $username, $password); Any ideas are appreciated, I'm new at PHP and this tutorial will really help me learn. Map not changed: http://www.vl360.com/phpsqlsearch_map.html Thanks in advance, Colette -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of warden [Andrew Leach - Maps API Guru] Sent: Friday, January 02, 2009 10:24 AM To: Google Maps API Subject: Re: 500 Internal Server Error - Creating a Store Locator with PHP, MySQL & Google Maps On Jan 2, 1:57 pm, "warden [Andrew Leach - Maps API Guru]" <[email protected]> wrote: > A server error 500 generally means that there is an error in the PHP > code, perhaps a semi-colon missed or misplaced, or unmatched brackets. Of course, permissions of 770 may be the cause because the web server (which usually runs in the World group) has no permissions at all. 775 would be more usual. Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
