|
3POTENCIAS
Forero Habitual
Registrado: 09-01-2009, 17:40 Mensajes: 184
|
 AYUDA por favor he cambiado de estilo
por favor una ayuda nuevamente cambie el estilo de aeroredx por aerored la cual para ver si soluciono unos problemita pero se me desconfiguro el contador de visitas lo tenia en español y me salio en ingles he leido un tutorial para cambiarlo a español pero me sale este error:
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 (21, '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: 2623 CALL: dbal_mysqli->sql_query()
FILE: includes/acp/acp_styles.php LINE: 3681 CALL: acp_styles->store_templates()
FILE: includes/acp/acp_styles.php LINE: 3648 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()
he leido unos tutoriales que me dieron soporte pero trato de hacer la modificación y resulta que no puedo si me dan una ayuda agradecidos, buen dia
|