Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - rameshtk

1
Issues / Re: Changing DB Server in Global Settings doesn't change the database connection
...Additional clarifications.

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.
2
Issues / Re: Changing DB Server in Global Settings doesn't change the database connection
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.

Appreciate if you can quickly resolve this.
4
Issues / SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column
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 />
6
Issues / After enabling authentication, application freezes
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