Imagenes File Manag...
 
Avisos
Vaciar todo

Imagenes File Manager

41 Respuestas
7 Usuarios
0 Reactions
1,590 Visitas
Cipri
Respuestas: 265
Reputable Member
Topic starter
 

Hola, estoy actualizando imagenes que tengo en algunas de las descripciones de mis productos, y veo en el filemanager que me aparecen las miniaturas con interrogante.... he visto por el foro, que mire el registro de errores de cpanel y he visto que me salen los siguientes errores:

[Tue Jul 28 12:41:53 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b
[Tue Jul 28 12:41:52 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b
[Tue Jul 28 12:41:39 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b
[Tue Jul 28 12:40:40 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b
[Tue Jul 28 12:40:40 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b
[Tue Jul 28 12:35:02 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b
[Tue Jul 28 12:35:02 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b
[Tue Jul 28 12:34:23 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b
[Tue Jul 28 12:34:23 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b
[Tue Jul 28 12:33:03 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/paisaje-flora-y-fauna-360mx254m-270m/525-fotomural-modelo-fts-0045.html?search_query=fts+0045&results=1
[Tue Jul 28 12:33:03 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/paisaje-flora-y-fauna-360mx254m-270m/525-fotomural-modelo-fts-0045.html?search_query=fts+0045&results=1
[Tue Jul 28 12:23:20 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b
[Tue Jul 28 12:23:20 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b

Cual es el problema? Tiene que ver con las redirecciones que he hecho a traves de htaccess? Por eso me cambia la url al finalizar un pedido como pregunto también en el hilo?:

https://www.webempresa.com/foro/41-Preguntas-sobre-PrestaShop/143780-Error-404-al-confirmar-pedido.html

Adjunto pantallazo del file manager.
Gracias.

URL del sitio: Contenido solo visible a usuarios registrados


 
Respondido : 28/07/2015 1:14 pm
Pablo Velasco
Respuestas: 20382
Illustrious Member
 

Hola,

Edita el archivo .htaccess y revisa si dentro de él encuentra la cadena "php_flag". De ser así, péganos la línea completa de donde se muestra.

Entiendo que aunque se muestre el interrogante en el File Manager las imágenes de los productos existen realmente. Puede que el problema no tenga nada que ver con el tema del .htaccess.


 
Respondido : 28/07/2015 3:05 pm
Cipri
Respuestas: 265
Reputable Member
Topic starter
 

Es posible que en el archivo solo haya lo siguiente?:

AddHandler application/x-httpd-php53 .php


 
Respondido : 28/07/2015 4:46 pm
Cipri
Respuestas: 265
Reputable Member
Topic starter
 

Perdon, creo que me he liado....eses .htaccess estaba en la raiz, y en public_html esta el siguiente. Subo el archivo completo porque no encuentro el comando que me indica Pablo, para que podáis revisar el archivo completo.


 
Respondido : 28/07/2015 5:17 pm
Cipri
Respuestas: 265
Reputable Member
Topic starter
 

Ups! Creo que no lo he subido...


 
Respondido : 28/07/2015 5:18 pm
Cipri
Respuestas: 265
Reputable Member
Topic starter
 

Pues no lo sube... 🙁 lo pego directamente...

RewriteOptions inherit

# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums

SetEnv HTTP_MOD_REWRITE On

RewriteEngine on
RewriteRule . - [E=REWRITEBASE:/home/pintura2/public_html/]
RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

# Images
RewriteCond %{HTTP_HOST} ^pintura2-cp40.webjoomla.es$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.es$ [OR]
RewriteRule ^([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^pintura2-cp40.webjoomla.es$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.es$ [OR]
RewriteRule ^([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteCond %{HTTP_HOST} ^pintura2-cp40.webjoomla.es$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.es$ [OR]
RewriteRule ^([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteCond %{HTTP_HOST} ^pintura2-cp40.webjoomla.es$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.es$ [OR]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteCond %{HTTP_HOST} ^pintura2-cp40.webjoomla.es$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.es$ [OR]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteCond %{HTTP_HOST} ^pintura2-cp40.webjoomla.es$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.es$ [OR]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteCond %{HTTP_HOST} ^pintura2-cp40.webjoomla.es$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.es$ [OR]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteCond %{HTTP_HOST} ^pintura2-cp40.webjoomla.es$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.es$ [OR]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]
RewriteCond %{HTTP_HOST} ^pintura2-cp40.webjoomla.es$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.es$ [OR]
RewriteRule ^c/([0-9]+)(-[.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^pintura2-cp40.webjoomla.es$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.pinturasvillares.es$ [OR]
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
# AlphaImageLoader for IE and fancybox
RewriteRule ^images_ie/?([^/]+).(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]

# Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]

AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/x-font-woff .woff

ExpiresActive On
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
ExpiresByType application/font-woff "access plus 1 year"
ExpiresByType application/x-font-woff "access plus 1 year"
ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
ExpiresByType font/opentype "access plus 1 year"
ExpiresByType font/ttf "access plus 1 year"
ExpiresByType font/otf "access plus 1 year"
ExpiresByType application/x-font-ttf "access plus 1 year"
ExpiresByType application/x-font-otf "access plus 1 year"

FileETag INode MTime Size

AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript

#If rewrite mod isn't enabled
ErrorDocument 404 /home/pintura2/public_html/index.php?controller=404

# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/details/1/67/ofertones/ofertatitan-una-capa-colores-5lts$ "http://www.pinturasvillares.es/ofertones/24-ofertatitan-una-capa-colores-5lts.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/category/65/papeles-pintados/imitaciones-piedra-madera-ladrillo-textil-etc$ "http://www.pinturasvillares.es/72-imitaciones-piedra-madera-ladrillo-textil-etc" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/details/1149/80/pinturas-especiales/ofertaesmalte-para-azulejos-bruguer-750ml$ "http://www.pinturasvillares.es/pinturas-especiales/840-ofertaesmalte-para-azulejos-bruguer-750ml.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/category/71oferta-gama-oxiron-titan$ "http://www.pinturasvillares.es/44-oferta-gama-oxiron-titan" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/category/11/pinturas-plasticas-y-monocapas/pinturas-plasticas$ "http://www.pinturasvillares.es/55-pinturas-plasticas" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/details/18/67/ofertones/ofertacolores-del-mundo-bruguer-4lts$ "http://www.pinturasvillares.es/ofertones/27-ofertacolores-del-mundo-bruguer-4lts.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/category/40/papeles-pintados/decorativos$ "http://www.pinturasvillares.es/70-decorativos" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/category/7/herramientas$ "http://www.pinturasvillares.es/36-herramientas" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/category/1/pinturas-plasticas-y-monocapas$ "http://www.pinturasvillares.es/56-monocapas" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/details/244/7/herramientas/kit-rodillo-recortador$ "http://www.pinturasvillares.es/herramientas/238-kit-rodillo-recortador.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^details/1106/109/oferta-aceite-para-teca/aceite-para-teca-xyladecor-750ml$ "http://www.pinturasvillares.es/nautica/799-aceite-para-teca-xyladecor-750ml.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^details/26/1/pinturas-plasticas-y-monocapas/pintura-plastica-mate-blanca-titan-export-4lts$ "http://www.pinturasvillares.es/acabado-mate-sin-brillo/36-ofertapintura-plastica-mate-blanca-titan-export-.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^details/26/1/pinturas-plasticas-y-monocapas/pintura-plastica-mate-blanca-titan-export-15lts$ "http://www.pinturasvillares.es/acabado-mate-sin-brillo/36-ofertapintura-plastica-mate-blanca-titan-export-.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^details/49/15/esmaltes/forjas-y-antioxidos/oxiron-titan-forja-750-ml$ "http://www.pinturasvillares.es/oferta-gama-oxiron-titan/56-oferta-oxiron-titan-forja.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^category/15/esmaltes/forjas-y-antioxidos$ "http://www.pinturasvillares.es/61-forjas-y-antioxidos" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/details/53/15/esmaltes/forjas-y-antioxidos/oxiron-pavonado-4-lts$ "http://www.pinturasvillares.es/oferta-gama-oxiron-titan/59-oferta-oxiron-titan-pavonado-.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^details/83/13/esmaltes/sinteticos-dilucion-disolvente/titanlak-efecto-madera-750-ml$ "http://www.pinturasvillares.es/sinteticos-dilucion-disolvente/90-titanlak-efecto-madera-750-ml.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^enquiry/107/1083/pintura-intumescente-blanco-titan-4llts$ "http://www.pinturasvillares.es/106-linea-antifuego" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^enquiry/107/1082/ofertapintura-intumescente-blanco-titan-15lts$ "http://www.pinturasvillares.es/106-linea-antifuego" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/details/1107/109/oferta-aceite-para-teca/aceite-para-teca-xyladecor-5lts$ "http://www.pinturasvillares.es/52-oferta-aceite-para-teca" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/details/286/16/esmaltes/aplicaciones-especiales/ofertaesmalte-azulejos-banos-y-cocinas-titan-750ml$ "http://www.pinturasvillares.es/pinturas-especiales/263-ofertaesmalte-azulejos-banos-y-cocinas-titan-750ml.html" [R=301,L]
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^details/1025/67/ofertones/diploma-bruguer-blanco-mate-15lts$ "http://www.pinturasvillares.es/acabado-mate-sin-brillo/725-diploma-bruguer-blanco-mate.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/enquiry/67/1026/diploma-bruguer-blanco-mate-10lts$ "http://www.pinturasvillares.es/acabado-mate-sin-brillo/725-diploma-bruguer-blanco-mate.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/details/1242/11/pinturas-plasticas-y-monocapas/pinturas-plasticas/bruguer-mistral-mate-blanco-4lts$ "http://www.pinturasvillares.es/acabado-mate-sin-brillo/930-bruguer-mistral-mate-blanco-mate.html" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^tienda/enquiry/12/20/ofertacontrast-colors-bruguer-25lts$ "http://www.pinturasvillares.es/ofertones/29-ofertacontrast-colors-bruguer-25lts.html" [R=301,L]


 
Respondido : 28/07/2015 5:19 pm
Jhon
 Jhon
Respuestas: 44989
Illustrious Member Moderator
 

Hola

El mensaje se refiere al .haccess en esta ruta :
/home/pintura2/public_html/img/cms/.htaccess

Es posbible que hayas visto otro .htaccess, el .htaccess que indicas que sólo tiene esta sentencia en donde se encuentra?

Saludos.


 
Respondido : 28/07/2015 5:24 pm
Cipri
Respuestas: 265
Reputable Member
Topic starter
 

Hola, Jhon.
En el .htaccess que me indicas en esa ruta, hay la siguiente linea:
php_flag engine off

El primero que he enviado esta en home/pintura 2 (el de la única linea AddHandler application/x-httpd-php53 .php )
Y el que os he pegado todo el codigo estaba en home/pintura_2/public_html.
No se si respondo bien a lo que me pides...


 
Respondido : 28/07/2015 5:32 pm
Jhon
 Jhon
Respuestas: 44989
Illustrious Member Moderator
 

Hola

Prueba renombrando el archivo que tiene la sentencia php_flag

Es decir el archivo de lar ruta :
/home/pintura2/public_html/img/cms/.htaccess

Renombrarlo por ejemplo a back_htaccess

Saludos.


 
Respondido : 28/07/2015 9:12 pm
Cipri
Respuestas: 265
Reputable Member
Topic starter
 

Hola, Jhon. Perdona mi ignorancia....pero...entonces me estas diciendo que anule el archivo .htaccess (porque me imagino que al ponerle el prefijo back_ quedara anulado)
Con que fin? Que lograremos? No es necesario el archivo? De hecho, tengo bastantes redirecciones con el tema de cambio de web....o te refieres al otro .htacess, el que solo tiene una linea de codigo?


 
Respondido : 28/07/2015 10:05 pm
Johnny Heredia Montiel
Respuestas: 20131
Illustrious Member Moderator
 

Hola,

Jhon se refiere solo al fichero que contiene una sola linea. El fichero de la raíz no debes tocarlo.


 
Respondido : 28/07/2015 11:05 pm
Cipri
Respuestas: 265
Reputable Member
Topic starter
 

Es posible que voy al CPanel y no veo el archivo .htaccess? Puede que esté oculto? Como lo habilito para poder verlo?
Porque, al descargarlo desde el CPanel, descarga una copia, no traslada el archivo, no?


 
Respondido : 29/07/2015 8:32 am
Cipri
Respuestas: 265
Reputable Member
Topic starter
 

Y en el registro de errores me aparece esto....
[Wed Jul 29 08:17:56 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b
[Wed Jul 29 08:17:56 2015] [alert] [client 62.32.133.66] /home/pintura2/public_html/img/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.pinturasvillares.es/admin0667/index.php?controller=AdminProducts&id_product=525&updateproduct&token=ea70b9bb9db9bba8b4626acc80f2fb5b


 
Respondido : 29/07/2015 8:52 am
Julen
Respuestas: 2894
Famed Member Admin
 

Hola,

Como te comentamos, prueba a deshabilitar el archivo .htaccess, situado en la siguiente ruta: /home/pintura2/public_html/img/cms/.htaccess. Para deshabilitar, renombralo a .htaccess_old

Este es un archivo "oculto" para poder visualizarlo debes:

1- Acceder a tu cPanel
2-Ir al Administrador de Archivos (te abre un dialogo y una de las opciones es "Mostrar archivos ocultos" que debe estar seleccionada).
3-Navegar a la carpeta /home/pintura2/public_html/img/cms/
4- Ahí podrás localizar el archivo .htaccess

Saludos


 
Respondido : 29/07/2015 9:26 am
Cipri
Respuestas: 265
Reputable Member
Topic starter
 

Hola, Julen.
Efectivamente, es lo que hago, pero al ir al administrador de archivos, no me abre e dialogo ni me da la opción de seleccionar para que me muestre los archivos ocultos...


 
Respondido : 29/07/2015 9:33 am
Página 1 / 3