thejosz Posted November 7, 2013 Share Posted November 7, 2013 undefined POST http://tecnotiendacr.com/font/ajax-tab.php?id_product=8&id_category=0&token…77bdff821e2357a&tab=AdminProducts&action=addImage&ajax=1&qqfile=alienw.jpg 403 (Forbidden) fileuploader.js:1078 Me sale este error cuando intento subir una foto, ya hablé con mi proveedor de hosting y me dijo que ya había deshabilitado el mod_security ¿Alguien me puede ayudar? Link to comment Share on other sites More sharing options...
nadie Posted November 7, 2013 Share Posted November 7, 2013 Revisa los permisos. Ficheros 644 Directorios 755 Trabajar modo FastCGI Saludos, Link to comment Share on other sites More sharing options...
thejosz Posted November 7, 2013 Author Share Posted November 7, 2013 [Thu Nov 07 11:24:13 2013] [error] [client 191.194.201.142] ModSecurity: Access denied with code 403 (phase 1). Match of "rx ^%{tx.allowed_request_content_type}$" against "TX:0" required. [file "/hsphere/local/config/httpd2/modsecurity-core-rules/modsecurity_crs_30_http_policy.conf"] [line "64"] [id "960010"] [rev "2"] [msg "Request content type is not allowed by policy"] [data "application/octet-stream"] [severity "CRITICAL"] [ver "OWASP_CRS/2.2.6"] [maturity "9"] [accuracy "9"] [tag "OWASP_CRS/POLICY/ENCODING_NOT_ALLOWED"] [tag "WASCTC/WASC-20"] [tag "OWASP_TOP_10/A1"] [tag "OWASP_AppSensor/EE2"] [tag "PCI/12.1"] [hostname "tecnotiendacr.com"] [uri "/font/ajax-tab.php"] [unique_id "Unu@rURHOAwAAARHS8YAAAAC"] Link to comment Share on other sites More sharing options...
nadie Posted November 7, 2013 Share Posted November 7, 2013 [Thu Nov 07 11:24:13 2013] [error] [client 191.194.201.142] ModSecurity: Access denied with code 403 (phase 1). Match of "rx ^%{tx.allowed_request_content_type}$" against "TX:0" required. [file "/hsphere/local/config/httpd2/modsecurity-core-rules/modsecurity_crs_30_http_policy.conf"] [line "64"] [id "960010"] [rev "2"] [msg "Request content type is not allowed by policy"] [data "application/octet-stream"] [severity "CRITICAL"] [ver "OWASP_CRS/2.2.6"] [maturity "9"] [accuracy "9"] [tag "OWASP_CRS/POLICY/ENCODING_NOT_ALLOWED"] [tag "WASCTC/WASC-20"] [tag "OWASP_TOP_10/A1"] [tag "OWASP_AppSensor/EE2"] [tag "PCI/12.1"] [hostname "tecnotiendacr.com"] [uri "/font/ajax-tab.php"] [unique_id "Unu@rURHOAwAAARHS8YAAAAC"] olalala ¿Y dices que te han desactivado el mod_security? Prueba en la pestaña Preferencias -> SEO Y URLS señalar la opción: Desactivar mod security en apache -> SI Link to comment Share on other sites More sharing options...
thejosz Posted November 7, 2013 Author Share Posted November 7, 2013 Ahora no sé que le hice, pero cuando voy al Index me sale esto Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /hsphere/local/home/tecnotie/tecnotiendacr.com/cache/smarty/cache/blocktopmenu/0/index/1/3/1/0/0/0/0/0/64/21/93/wrt527bd0a19f8030.26401445' in /hsphere/local/home/tecnotie/tecnotiendacr.com/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /hsphere/local/home/tecnotie/tecnotiendacr.com/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php(102): Smarty_Internal_Write_File::writeFile('/hsphere/local/...', 'writeCachedContent(Object(Smarty_Internal_Template), 'write(Object(Smarty_Internal_Template), ' So bad! Link to comment Share on other sites More sharing options...
thejosz Posted November 7, 2013 Author Share Posted November 7, 2013 Sigo sin poder subir fotos al Catálogo -> Productos ¿alguien ha solucionado este problema? tengo la versión PrestaShop™ 1.5.6.0 Link to comment Share on other sites More sharing options...
Recommended Posts