Archives for “Bug solving”

more on this. Now that we know how to trigger django permission creation mechanism with a fake migration, there is still one more issue. Those permissions are not associated to the right content_type (the one that corresponds to the proxy models), so they are useless in the django admin. This is related to an old [...]


So much for a post title. The thing is as follows: you use migrations for a certain app in some point at your development, you add proxy models to that app you need to have specific permissions for that recently created proxy model. since that app you’re adding the proxy model is not controlled by [...]


If you are a web developer, maybe this post title doesn’t say nothing new to you. But I’m really really tired of IE annoyances. Today  I worked extra hours on an ajax problem with IE. The page I was working on has an ajax call like this one: <div id="LoginForm"> </div> <script type="text/javascript"> new Ajax.Updater('LoginForm', [...]


dWhen executing this code: $this->items = $object->getItens(); ... foreach($this->items as $item) { ...yadda yadda $item->getId() yadda yadada } within a symfony action, the php engine throws: Notice: Indirect modification of overloaded property  xxxActions::$items has no effect in xxxactions.class.php That’s related to a php bug , whose implications in symfony are described here. It looks like [...]


Nuestros queridos amigos de Joomla / Joomla Spanish, ni sé ni quiero echar las culpas a nadie, se han olvidado un trozo de código en una query para borrar imágenes y saltaba el mensajito de: No tiene permiso para acceder a esta sección o algo similar. Lo que hay que hacer es, en la línea [...]


Let me introduce a new category of “quick&dirty” tricks to apply when “quick&dirty” things happen in symfony (yes, they happen). After a new pear upgrade, a new “bug” may appear concerning sfPropelADministrator. something similar to this may show up: Notice: Undefined offset: 1 in /usr/share/php/symfony/config/sfGeneratorConfigHandler.class.php on line 69 and … [sfParseException] You must specify a [...]