Configure the symfony-mailer (swiftmailer) during runtime

Posted by Eric Bartels

One of my current projects is a multi-client environment. Each client has its own smtp-settings for the mailings that are done within that application. From static … Symfony allows the configuration of the mailer in its factories.yml. There smtp-settings can be definied. But in this case this is impossible as every client has different smtp-settings [...]

Fixing TYPOlight-error #145 – Table ‘./tl_search’ is marked as crashed and should be repaired

Posted by Eric Bartels

Today a website of a customer running with TYPOlight stopped working. The friendly “there is an error”-message appeared. Even the administration-backend was not working anymore. Enabling the “display-error” setting revealed that there was a database-problem (perhaps due to a crash of mysql). #145 – Table ‘./tl_search’ is marked as crashed and should be repaired The [...]

Its time to change the orm

Posted by Eric Bartels

I attended the great symfony day 09 in cologne yesterday. It was an awesome conference with nice people, interesting talks and discussions. Propel is dead One thing got crystal clear during the talks. Propel is dead! In the next version 1.3 of symfony Doctrine will be the default orm. If thats not a hint … [...]

Solving SOAP-ERROR: Parsing WSDL in PHP

Posted by Eric Bartels

Consuming web services is nothing special nor exciting. In one of my current projects I just did this. Using the web service on my development-system and on the test-system works just fine. However when deploying the module to the production-system and using it an exception is thrown containing the following error: SOAP-ERROR: Parsing WSDL: Couldn’t [...]

Solving utf-8-encoding-issues when connecting to oracle with php and oci8

Posted by Eric Bartels

In a recent project of mine a web-application is developed. This application consumes “some data” from an enterprise Oracle database. The development environment has the latest oracle drivers installed. Everything works as expected. Even the connection-speed is very good. But then comes the deployment of that application. The production environment already runs for a while [...]