CI 1.7.1 - Kludge to install - I had to hard-code 'utf8' into .\sytem\libraries\validation/php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: CI 1.7.1 - Kludge to install - I had to hard-code 'utf8' into .\sytem\libraries\validation/php (/showthread.php?tid=15738) |
CI 1.7.1 - Kludge to install - I had to hard-code 'utf8' into .\sytem\libraries\validation/php - El Forum - 02-13-2009 [eluser]John_Betong[/eluser] I upgraded from CI 1.70 to CI 1.7.1 and this error appeared: Code: A PHP Error was encountered My Kludge in ./system/libraries/Validation.php Code: /** I did notice that it is asking for a config variable which does not exist because it is declared here: /config/database.php Code: $db['default']['charset'] = "UTF8"; Is this a bug? CI 1.7.1 - Kludge to install - I had to hard-code 'utf8' into .\sytem\libraries\validation/php - El Forum - 02-13-2009 [eluser]jalalski[/eluser] on my install I have (in application/config/config.php line 80) $config['charset'] = "UTF-8"; maybe you didn't copy over the config files? CI 1.7.1 - Kludge to install - I had to hard-code 'utf8' into .\sytem\libraries\validation/php - El Forum - 02-13-2009 [eluser]John_Betong[/eluser] [quote author="jalalski" date="1234563702"]on my install I have (in application/config/config.php line 80) $config['charset'] = "UTF-8"; maybe you didn't copy over the config files?[/quote] I followed the help instructions to upgrade from CI 1.7.0 to CI 1.7.1 and the requirements were to just copy the system directory. I have just checked in CI 1.7.0 config.php file and the $config['charset'] is set. It looks as though I did not upgrade my last version correctly. Many thanks for your help. |