Day 3 - First Symfony Application

February 12th, 2008

Greetings! (Back for more? There’s medication for that, you know..)

At the end of day 2, I had built a DB schema in YAML, and symfony seemed to be reasonably comfortable with it, at least symfony propel-build-model didn’t toss up any errors.

But, symfony propel-build-all started griping about a mysql connection, so I’m thinking something isn’t right in my symfony config files.

Warning: SoapboxA personal note, I’m writing this from the Druid City Hospital’s Cath Lab waiting room. Evidently, DCH doesn’t allow SSH connections out. Grr^3. C’mon, folks, realize that of the few visitors with data devices, there is likely to be an admin who would really appreciate SSH or other access. Either provide Internet access or don’t. It’s not like SSH is bandwidth-intensive. Assuming a good security policy, it’s not a risk to devices inside the hospital. All blocking SSH does is annoy people like me who are actually trying to DO something while doing the “be there for a loved one” routine.End Soapbox.

Reading through (mt)’s docs, it looks like you’ve got to use internal-db.s###.gridserver.com (#’s replaced by your server number) for db connections. I’ve modified the ~/domains/domain.com/symfony/config for this name. Now to find some way to test …grr..no..SSH

Well, it looks like I’m out of luck. No SSH from the Hospital. Cell phone has got net access, but SSH doesn’t work on it for some reason. So, by reason of limited net access, today is going to be cut short. On the other hand, I’m going to play some Nintendo DS!

More evidence I’m a geek. Just couldn’t stop fiddling with SSH on the phone, now it’s working.

Gave it a symfony propel-build-all, no luck - properties file doesn’t exist. What?

symfony clear-cache, tried again..better - at least a different error message. Now, it’s saying “wrapped: No driver has been registered to handle connection type:” Google, wherefore art thou? Possibility - here talks about this - adding a datasource: symfony in the database.yml file is reported to fix this.

Changed that line in database.yml, removed the insert in the schema.yml, and changed the propel.ini, but..nothing yet. Same error.

This may help, if I’ll read the whole thing. Yes, I’m impatient.

3 Responses to “Day 3 - First Symfony Application”

  1. My Domains » Blog Archive » Day 3 - First Symfony Application Says:

    […] Original post by Molten Networks […]

  2. davak Says:

    Cath lab? Why do I have the mental image of somebody shaving your groin while you type away on your lappie?

  3. abanks Says:

    Well, not quite (although banging away on an iPod touch, maybe!). I had a family member displaying some symptoms that lead the cardios to think something was up heart-wise (…when all you have is a hammer…). Good thing, results came back crystal clear. I saw the film, looked good to me - no pinches or anything. We are all very happy with the result, but still don’t know what are causing the symptoms that started it all!

Leave a Reply

You must be logged in to post a comment.