I am developing a local website using; PHP 5.4.6 Apache 2.4.2 MySQL 5.5.27
currently i am implementing a simple login script, with a small database. on local it works fine. when i
af update kirka "%webdev%"
af tunnel
, and then
source mysql_dump.sql;
everything seems to fly without errors.
then i hook my environmental variables for establishing connection on the webserver using getenv("VCAP_SERVICES")
and then my website hosted on appfog starts showing connectivity to the database, but its as if the database is empty, or it fails to select anything from it.
when i redo source mysql_dump.sql;
, it tells me it had to erase 7 rows, and re-add them. meaning the database is not empty.
why does my appfog instance of the application fail to fetch info from db? anybody have any experience with this?
pic at localhost; http://img811.imageshack.us/img811/7818/55079155.png
pic at appfog; http://img707.imageshack.us/img707/2983/94724810.png
source code on github; https://github.com/kirka121/CST8285_Webdev
looking forward to a reply folks