simple_query question |
[eluser]John_Betong[/eluser]
[quote author="Derek Allard" date="1200420403"]Yeah, Seppo is correct, but its my fault... I should have told you. Assuming you're using mysql, grab this.[/quote] Hi Derek, Many thanks to you and your team for the upgrade. Your supplied file is not backward compatible UNLESS line 45 is changed to this: Code: var $_count_string = 'SELECT COUNT(*) AS numrows '; The CI 1.54 code that I used was: Code: // Pagination stuff The Error returned was: Code: An Error Was Encountered Cheers, John_Betong
[eluser]williamparry[/eluser]
I've copied the files from the SVN onto my computer and replaced the originals and am now getting: A PHP Error was encountered Severity: Notice Message: Undefined property: CI_DB_mysql_driver::$char_set Filename: database/DB_driver.php Line Number: 197 (the copy was 9:33am New Zealand Time)
[eluser]Derek Allard[/eluser]
You'll need to add 2 additional config variables to your database.php. Code: $db['default']['char_set'] = "utf8"; That's documented... but its nearly impossible to read the docs in code view as they are presented in the SVN |
Welcome Guest, Not a member yet? Register Sign In |