ExtraDRM : Design Ressource Management

Web content and data design solutions

Browsing Posts in CodeIgniter

To import CSV unicode file to MySQL table via phpmyadmin (csv fields are delimited with tabulations ) : More advanced options can be used at the shell level : shell> cat /tmp/bit_test.txt 2 127 shell> mysql test mysql> LOAD DATA INFILE ‘/tmp/bit_test.txt’ -> INTO TABLE bit_test (@var1) SET b = CAST(@var1 AS UNSIGNED); Query OK, [...]

Be carreful to lowercase and uppercase names when loading modules or controllers. CodeIgniter seems to be case sensible. this famous error is : A PHP Error was encountered Severity: Notice Message: Undefined property: CI::$News_model Filename: MX/Controller.php Line Number: 58 ( ! ) Fatal error: Call to a member function count() on a non-object in C:\wamp\www\ci\hmvc214d\application\modules\news\controllers\news.php [...]

For the most recent stable release of CodeIgniter (2.1.3), there is a rather annoying simultaneous request problem that will kill active sessions. You might have experienced this yourself if you had a website or application with lots of AJAX requests or other simultaneous requests. The tell-tail sign was that your users would be logged out [...]