Strange button click problem.
Posted: Mon Mar 02, 2015 8:53 am
Hi, This problem has me stumped. I have a local host setup on my home desktop and I put a copy on my notebook to occasionally do offsite work. Everything was fine on both machines but now when I go to the index.php on the notebook then click the login button it inserts this URL in the web browser
http://localhost/MJN/index.php/login.php
(and it essentially calls the index page again) when it should be inserting this
http://localhost/MJN/login.php
to go to the login page.
The desktop does not do this. The buttons are defined exactly the same on the desktop and the notebook. The only thing that might have changed the behavior on the notebook that I can figure is I used phpMyAdmin to first drop the database on the notebook then I created the blank database on the notebook again and used phpMyAdmin to download the MySql database from the VPS site and I imported that database in to the notebook database. I have done this at least 100 times from the desktop machine to the notebook without problem and this is the only time I have brought it in from the VPS service database. That VPS service database was an upload from the desktop in the first place and the structure has not changed. The problem is I have not gone in to the notebook local host database in probably a week so I can't for sure say when this problem was triggered. I am concerned about returning this VPS site database into the desktop machine now but it would be useful for debugging to do this. I can override the URL it creates and force it to go to http://localhost/MJN/login.php and get in to see the data base.
Thanks for any suggestions to figure this out (Apache config has not changed - no config files have changed).
John
http://localhost/MJN/index.php/login.php
(and it essentially calls the index page again) when it should be inserting this
http://localhost/MJN/login.php
to go to the login page.
The desktop does not do this. The buttons are defined exactly the same on the desktop and the notebook. The only thing that might have changed the behavior on the notebook that I can figure is I used phpMyAdmin to first drop the database on the notebook then I created the blank database on the notebook again and used phpMyAdmin to download the MySql database from the VPS site and I imported that database in to the notebook database. I have done this at least 100 times from the desktop machine to the notebook without problem and this is the only time I have brought it in from the VPS service database. That VPS service database was an upload from the desktop in the first place and the structure has not changed. The problem is I have not gone in to the notebook local host database in probably a week so I can't for sure say when this problem was triggered. I am concerned about returning this VPS site database into the desktop machine now but it would be useful for debugging to do this. I can override the URL it creates and force it to go to http://localhost/MJN/login.php and get in to see the data base.
Thanks for any suggestions to figure this out (Apache config has not changed - no config files have changed).
John