After I save the project, close the IDE and use the editor to view the ppm file, I see old DB settings. When I reopen the IDE, in the popup, I see new DB settings. However, when I run the application, it still uses old DB settings.
No matter how many times I save and come back into IDE or try reloading the pages during testing, this problem still persists.
That didn't help. This problem still continues and very frustrating. After doing some digging around, I noticed that the ppm file is the culprit. When I make the changes in the IDE it is not saved into the ppm file. After saving and closing the IDE, I opened the ppm file through editor and saw still the old DB configuration settings. However, when I open the IDE next time, in the global settings popup, i see the new settings!
Looks like there is a serious bug in the project saving functionality. Instead of Rapid development, this is turning out to be a nightmare.
I have changed the database server ip address from one server to another in global settings popup and saved it. However, it still connects to the old server.
I reloaded the changes after publishing. But still the DB connection points to old server. Why?!!!
Field length in db is 45 characters. Entered value during test is 8 characters. Still I get the below error. Please help. See the attachment too.
http://localhost/ft1/<br /><b>Fatal error</b>: Uncaught PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'password' at row 1 in C:/xampp/htdocs/ft1/app/models/PDODb.php:395Stack trace:#0 C:\xampp\htdocs\ft1\app\models\PDODb.php(395): PDOStatement->execute()#1 C:\xampp\htdocs\ft1\app\models\PDODb.php(1118): PDODb->buildInsert('users', Array, 'INSERT')#2 C:\xampp\htdocs\ft1\app\controllers\IndexController.php(138): PDODb->insert('users', Array)#3 C:\xampp\htdocs\ft1\system\Router.php(184): IndexController->register()#4 C:\xampp\htdocs\ft1\system\Router.php(211): Router->run('index/register')#5 C:\xampp\htdocs\ft1\index.php(83): Router->init()#6 {main} thrown in <b>C:\xampp\htdocs\ft1\app\models\PDODb.php</b> on line <b>395</b><br />
For the last couple of days, I consistently get the "Loading..." message and application freezes there once I start the preview of the application AFTER enabling authentication. If there is no authentication enabled, application works ok. Can someone help? Thanks