Search
Categories
- Getting Things Done (RSS) (3)
- SEO (RSS) (1)
- Web Development (RSS) (86)
I am currently using sfGuardUser table from the sfDoctrineGuardPlugin to link up to a messages table which stores the user id of sender and receiver. To ensure that the data schema is properly normalised I need to make sure that both the user id are actually foreign keys to the sfGuardUser table. Here are the [...]
Recently I had an issue on one of my work websites where the database schema was setup in Latin-1 encoding, this was fine till the encoding of the website was also set to iso-8859-1 and nothing fancy was going on. However later in the last few months, I had been doing some development which required [...]
If your precious evening hacking time has been wasted by this useless error message:
rp@devbox:trunk$ php symfony –trace doctrine:build-all-reload –no-confirmation
>> doctrine dropping databases
>> doctrine Successfully dropped database f…octrine" named "secret_project"
>> doctrine creating databases
>> doctrine Successfully created database f…octrine" named "secret_project"
>> doctrine generating model classes
[Doctrine_Parser_Exception]
Unable to parse string: [...]
My development process involves using doctrine and svn. Documenting my development steps to make sure I can put this is some sort of build script in future.
Creating svn directories
svn mkdir -m "create default directories" http://svn.clients.rajatpandit.com/project-name/trunk http://svn.clients.rajatpandit.com/project-name/tags http://svn.clients.rajatpandit.com/project-name/branches
Checkout these directories locally:
svn co http://svn.clients.rajatpandit.com/project-name/ .
Move to the trunk directory
cd trunk
Creating a new project
$ symfony generate:project brp
$ [...]
Recent Comments