Mrz 27
  • english
  • german

I have added some new features and fixed some bugs:

  • members can now provide an email address for paypal donations. When they have already done something on the website, this link is displayed in their profile
  • the filesize of the uncompressed files is now shown on the plugin detailpage and the download basket page
  • there have been some bugs in the edit profile action. They are gone now.
  • some SEO for the detail pages

I hope these improvements are useful :-)

Mrz 13
  • english
  • german

While analyzing my blog statistics, I was really happy finding out that many people came with the keyword "symfony" and I didn't think about it any further. After googling it myself, I realized that my post about symfony and testing is listed on the first page. I welcome this very much, particularly there are a thousand other websites writing much more about symfony.

Have I already mentioned that I really like wordpress ;-)

Mrz 12
  • english
  • german

After editing one single class file in my project (one in /lib that has nothing to do with the database), I unpredictably got the error "wrapped: Cannot fetch TableMap for undefined table: xxx" in the prod mode as well as in the dev mode.
XXX stands for a random table name in my database.

I tried to clear symfony cache, browser cache and finally I replaced the file with the old version, with any improvement of the situation. My last chance was a restart of the apache server, then everything was running like before. I have absolutely no clue where this error came from...

UPDATE: The restart was not the solution! The error just took some time to reappear. Thus, I added some debug code before the actual php exception is thrown. Then I found out that "lib/model/om/BaseXXXPeer.php" could not include the file "lib/model/XXXPeer.php" which is very logical for me, because the controller is located in "web/". Seen from there, tha path should be "../lib/model ...". After adding "../" to the include_path variable in the php.ini, the error seems to be gone.

I don't get why those includes do not use absolute paths. It would be very nice to see this in the next version of symfony.

Mrz 12
  • english
  • german

After upgrading from php 5.0.4 to 5.2.5 on my server, I got a blank page as output several times. In dev mode, the error message said, that a creole file could not be loaded. I had to change the include_path value in the php.inito get it working. I just added "/usr/share/php/pear/symfony/lib/vendor", then the error was gone. Depending on whether you installed your symfony via pear or via svn, the path has to be changed of course.

Finally, don't forget to clear the symfony cache (symfony cc).

Mrz 10
  • english
  • german

After fighting against Apache and PHP on the webserver for two days (I had to recompile it in the end), my website is now online. I hope it fits its purpose and I appreciate any comments.

http://www.esteak.net

Mrz 09
  • english
  • german

I haven't written anything here for some time now. With a reason! As I already mentioned a few times, I am currently working on a small plattform and because I invested a lot of energy and time in getting it done, the moment is almost there! I think on monday (tomorrow), it'll be online. I will not reveal the name yet, but describe its functions.

It is all about MooTools, in my opinion THE JavaScript framework. What I don't like about it is, that you can only find plugins, that some people write for it, in the MooTools forum, because a simple internet search is not that satisfying. The forum again, is quite big and, as the users mostly talk about the linked plugins, also a bit unclear. So it may take some time until you have downloaded the piece of javascript you came for.

The website I developed, is designed to do better. Everyone can, after signing up, upload his own plugins, categorize and tag them. Additionally, you can define dependencies to other packages (also the core).

The users then can (without login) put plugins in the download basket (no shopping cart) and download them later. The website will care for the dependencies, and add them to the download automatically. You can also exclude the core packages if you already have a mootools script.

Of course, users can also rate the plugins and leave a comment. These ratings, the categories and the tags are intended to assist the user to find and download the plugin the want and to make these actions as easy and comfortable as possible.

I hope, this website will help the mootools framework to become even more successful than it is right now. I appreciate any comments, even if the website is not yet online. Of course I will write a new post when the website is finally online and then I will see whether the effort of the last days weeks was worth it. One more thing: it'll be completely free for everyone, of course!

Feb 25
  • english
  • german

After further investigation of the problem I posted last Thursday, I finally found a solution to get it to work! I took a closer look at the subversion repository and found another branch (which is described nowhere). So you have to add an svn:external to the plugin folder named sfPHPUnitPlugin and targetting to http://svn.symfony-project.com/plugins/sfPHPUnitPlugin/branches/1.0/. Then you need to update the plugin folder. If you then type symfony -T, the new tasks are visible.

Hurray! But wait a minute: it still doesn't work! There seems to be one mistake in the file "sfPHPUnitTestPrinterTap.php" in the "lib" directory of the plugin. In line 159, you need to replace the "$suite->testCount()" by "$suite->count()" and then it finally works! Unbelievable, but true. After a long journey, I made it - symfony runs with PHPUnit. Thank God.

Feb 21
  • english
  • german

I am currently working on a small project and I decided to use symfony, because this framework has some good features. I follow the given tutorial to come to the 15th day today, the unit test day. Symfony uses an own "Framework" (it's 1 file) called lime. Sadly the whole testfile looks very weird and not really useable. As I used ASUnit and PHPUnit several times in the past, I think this is quite lame.Weiterlesen »

Feb 11
  • english
  • german

Currently, I use Symfony to create a small Web-Community. Because I use MAMP on my Mac, I tried to create a virtual host as said in the installation manual of Symfony and therefore I edited the httpd.conf file in the MAMP directory. Sadly I previously changed the path to my document root using the actual MAMP control to point at /Users/Grundi/Sites. This variation of the original file seems to push MAMP to rewrite the httpd.conf on every server restart - without my changes of course.

In Symfony, I then had the problem that all the files which are located in the Symfony library (web/sf/...), could not be loaded. As I also use AJAX, and therefore Prototype is needed, my whole application was broken. Weiterlesen »

Feb 05

Ich entwickle gerade eine kleine Anwendung mit Symfony und benutze dabei das Askeet-Tutorial. Am Tag 6 des Tutorials wird eine validation YAML-Datei erstellt die login.yml heisst. Da der Inhalt bereits vorgegeben ist, hat es mich gewundert, dass ich immer folgenden Fehler bekam:

Configuration file ....../login.yml is missing "names" category

Nach längerem Probieren blieb mir schließlich nur noch das Orakel übrig. Dessen Antwort enthielt unter anderem ein Forum und das wiederum dann (dank der Suchfunktion) den entscheidenden Hinweis: Encoding und Line Endings müssen passen, sonst geht nichts! Ich hab also schnell das File als UTF8 mit LF-Endings gespeichert und siehe da, es geht!

Das hat locker ne Stunde gedauert bis ichs raus hatte - uff.