-
ZF : Redirector Helper
Se volete facilitarvi la vita con gli helper di ZF, nel caso di Redirector (Zend_Controller_Action_Helper_Redirector) , ricordatevi che i parametri sono nell’ordine inverso di analisi [sourcecode language=”php”] $this->_helper->redirector($action, $controller, $module, $params) [/sourcecode] di cui solo il primo obbligatorio.
-
ZF: “views/helpers/Layout.php” failed to open stream: No such file or directory
Ecco un carinissimo warninig che mi compare ogni volta voglia utilizzare i Layout del Zend Frameworrk. Il problema dove sta? ovviamente in zf, alla riga 160 di Loader.php.
-
Turning off Asus M50S light sensor
As I’ve recently gotten this nice laptop, I’ve found that the light sensor really makes more problems then it solves so I’m shutting it down in both Windows (Fn+A) and in Linux.
Under linux all you need to do is:echo 0 > /sys/devices/platform/asus-laptop/ls_switch
This fix is valid only for the current session, to persist the settings just install sysfsutils and then in /etc/sysfs.conf putdevices/platform/asus-laptop/ls_switch=0
-
JBuilder 2008 and Windows Vista problems
So let’s say you try to install JBuilder 2008 under Windows Vista (32bit). Did all went smoothly? A friend of mine got a nice JVM terminated Exit code=-1 error. It would seem that if you modify the JBuilder.ini -Xmx parameter (initially over 800M) to 7…