Código: Error General SQL ERROR [ mysqli ]
Incorrect string value: '\x96 \x0D\x0Ava...' for column 'template_data' at row 1 [1366]
SQL
INSERT INTO phpbb3_styles_template_data (template_id, template_filename, template_included, template_mtime, template_data) VALUES (2, 'portal/scriptaculous/lib/prototype-cookie.html', '', 1242360386, 'var Cookie = {\r\n set: function(name, value, daysToExpire) {\r\n var expire = \'\';\r\n if (daysToExpire != undefined) {\r\n var d = new Date();\r\n d.setTime(d.getTime() + (86400000 * parseFloat(daysToExpire)));\r\n expire = \'; expires=\' + d.toGMTString();\r\n }\r\n return (document.cookie = escape(name) + \'=\' + escape(value || \'\') + expire);\r\n },\r\n get: function(name) {\r\n var cookie = document.cookie.match(new RegExp(\'(^|;)\\\\s*\' + escape(name) + \'=([^;\\\\s]*)\'));\r\n return (cookie ? unescape(cookie[2]) : null);\r\n },\r\n erase: function(name) {\r\n var cookie = Cookie.get(name) || true;\r\n Cookie.set(name, \'\', -1);\r\n return cookie;\r\n },\r\n accept: function() {\r\n if (typeof navigator.cookieEnabled == \'boolean\') {\r\n return navigator.cookieEnabled;\r\n }\r\n Cookie.set(\'_test\', \'1\');\r\n return (Cookie.erase(\'_test\') === \'1\');\r\n }\r\n};\r\n\r\n\r\n\r\nExamples of use:\r\n\r\nFinding a cookie and storing it in a variable � \r\nvar name = Cookie.get(\"name\");\r\n\r\nSetting a cookie that expires tomorrow � \r\nCookie.set(\'visits\', 1, new Date(new Date().getTime() + (24*60*1000)));\r\n\r\nRemoving the above cookie � \r\nCookie.remove(\'visits\');\r\n\r\n\r\n\r\n\r\nCookie.set(\'key\',\'value\',60); //expires 60 seconds from now \r\nCookie.get(\'key\'); //returns false if not found else the value stored in key \r\nCookie.unset(\'key\'); //removes key \r\n\r\n\r\n\r\n\r\n')
BACKTRACE
FILE: includes/db/mysqli.php LINE: 163 CALL: dbal->sql_error()
FILE: includes/acp/acp_styles.php LINE: 2614 CALL: dbal_mysqli->sql_query()
FILE: includes/acp/acp_styles.php LINE: 3672 CALL: acp_styles->store_templates()
FILE: includes/acp/acp_styles.php LINE: 3639 CALL: acp_styles->_store_in_db()
FILE: includes/acp/acp_styles.php LINE: 755 CALL: acp_styles->store_in_db()
FILE: includes/acp/acp_styles.php LINE: 180 CALL: acp_styles->edit_template()
FILE: includes/functions_module.php LINE: 507 CALL: acp_styles->main()
FILE: adm/index.php LINE: 74 CALL: p_master->load_active() |