There is not so much documentation on how to receive an email on Google App Engine (gae) with PHP. The official documentation is not really explicit, I guess it is because it is still experimental as I write. After fighting some time, here is how to do it. configure app.yaml with […]
PHP
Google Apps Engine doesn’t allow cURL, among lots of other things, like PHP native mail(), we will come back on this another day. I needed to post a tweet from Google Apps Engine and couldn’t find a library using URL Fetch to do so, in few lines. It seems that […]
Codebird without cURL
Un petit reminder de comment débuter un nouveau projet sur de bonnes bases avec Symfony, xampp et Windows, sans utiliser la sandbox. En 5 étapes (bon, d'accord, j'ai triché sur la numérotation un peu) et sans utiliser pear.
Symfony, nouveau projet & premiers pas…
Sometimes, it’s not easy with Symfony’ filters to create links displaying a content already filtered without using a specific action. These are examples of how it works directly with an URL generated with a link_to() : <?php echo link_to('New Application', 'applicant', array('sort' => 'created_at', 'sort_type' => 'desc'))?> <br /> <?php […]
Symfony Filter links
This is a SfGuardUser Plugin hack to extend user management of their own profile and just their profile, not the other users’. Moreover, this hack allows also to decide in their profile which field they can modify! Because by default, if you want an user to be able to change […]
Sf_Guard_User Extended credentials
While deploying an application realized with Symfony Framework, I had this horrible fatal error 500 by Apache, when trying to access the /web files 500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [xxxx] and […]
Symfony and error 500 on Apache server
Problem while uploading file in admin generator ? The extension is replaced by .exe for .ods files ? or for MIME application/octet-stream ? Just want to keep the name of you files when uploading ? This is your solution: Put this mySfValidatorFile in your root/lib folder. <?php /** * mySfValidatorFile validates […]
Symfony Upload File Name
Everything was very well working when suddenly: Error 500 | Internal Server Error | InvalidArgumentException The "/submission/:id/edit.:sf_format" route has some missing mandatory parameters (:id). Only in dev environment, prod was working without problem. One quick-fix/solution I found was to rewrite the settings.yml in the concerned app folder config like that: […]
Symfony bug route mandatory parameters missing
Parce que CakePHP (framework de developpement web d'une pouissance monstroueuse !), c'est bien, mais c'est pas l'essence même de la vie, on a envie de l'essayer sur un coin de site, sans se prendre la tête avec une configuration difficile...
Voici un petit tuto qui permet de faire une installation "sale" diront certains, "pratique, rapide et confinée" pour d'autres, limitant le nombre de dossiers à mettre partout, et les multiples .htaccess dangereux d'utilisation, et ça fonctionne sous OVH (start5g)...