Foros del Web » Creando para Internet » Sistemas de gestión de contenidos » WordPress »

Problema con timthumb,, en localhost iva bien

Estas en el tema de Problema con timthumb,, en localhost iva bien en el foro de WordPress en Foros del Web. Hola, estoy creando mi web, y la he probado en localhost y iva perfecta, se creaban las miniaturas perfectas, pero lo subo al host de ...
  #1 (permalink)  
Antiguo 03/04/2012, 11:15
 
Fecha de Ingreso: marzo-2012
Ubicación: España
Mensajes: 32
Antigüedad: 12 años, 1 mes
Puntos: 2
Exclamación Problema con timthumb,, en localhost iva bien

Hola, estoy creando mi web, y la he probado en localhost y iva perfecta, se creaban las miniaturas perfectas, pero lo subo al host de nixiweb, y el timthumb no funciona, las imagenes no se hacen pequeñas, es que ni salen las imagenes, por ejemplo: [URL="http://geekyplanet.com.ar/wp-content/themes/Reporter/timthumb.php?src=http://geekyplanet.com.ar/wp-content/uploads/2012/04/facebook-vs-google-339-1024x770.jpg&h=150&w=200&zc=1"]Miren[/URL]

EN teoria, tendriais que ver una imagen reducida, en localhost si que va bien, en nixiweb no... que hago??

Gracias un saludo!! ES URGENTE
  #2 (permalink)  
Antiguo 03/04/2012, 11:30
Avatar de Nekko
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Buenos Aires
Mensajes: 3.141
Antigüedad: 16 años
Puntos: 656
Respuesta: Problema con timthumb,, en localhost iva bien

Pusiste una carpeta /cache/ con permisos 777 o 755 para que el plugin genere las miniaturas?
__________________
Taller para crear themes wordpress desde cero | Presupuestos para trabajos particulares vía MP
  #3 (permalink)  
Antiguo 03/04/2012, 11:53
 
Fecha de Ingreso: marzo-2012
Ubicación: España
Mensajes: 32
Antigüedad: 12 años, 1 mes
Puntos: 2
Respuesta: Problema con timthumb,, en localhost iva bien

Si y sigue igual :S

Ahh y no es un plugin, es un archivo timthumb.php
  #4 (permalink)  
Antiguo 03/04/2012, 12:48
Avatar de Nekko
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Buenos Aires
Mensajes: 3.141
Antigüedad: 16 años
Puntos: 656
Respuesta: Problema con timthumb,, en localhost iva bien

El "error" pasa por la configuración de tu servidor.

Código:
Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/local/apache/htdocs) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u795361662/public_html/wp-content/themes/Reporter/timthumb.php on line 812
Fijate de usar la última versión de timthumb
http://code.google.com/p/timthumb/so...k/timthumb.php

Y probá llamar la URL de la imagen con una ruta relativa y no absoluta para ver si safás del "open_basedir restriction in effect."

Sino podés intentar modificar el script
http://www.000webhost.com/forum/cont...p-problem.html
__________________
Taller para crear themes wordpress desde cero | Presupuestos para trabajos particulares vía MP
  #5 (permalink)  
Antiguo 03/04/2012, 15:31
 
Fecha de Ingreso: marzo-2012
Ubicación: España
Mensajes: 32
Antigüedad: 12 años, 1 mes
Puntos: 2
Respuesta: Problema con timthumb,, en localhost iva bien

Cita:
Iniciado por Nekko Ver Mensaje
El "error" pasa por la configuración de tu servidor.

Código:
Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/local/apache/htdocs) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u795361662/public_html/wp-content/themes/Reporter/timthumb.php on line 812
Es decir, que es de nixiweb??

Cita:
Iniciado por Nekko Ver Mensaje
Fijate de usar la última versión de timthumb
[url]http://code.google.com/p/timthumb/source/browse/trunk/timthumb.php[/url]
He hecho esto y nada

Cita:
Iniciado por Nekko Ver Mensaje
Y probá llamar la URL de la imagen con una ruta relativa y no absoluta para ver si safás del "open_basedir restriction in effect."
No te he entendido bien, podrias explicarmelo mejor por favor??

Cita:
Iniciado por Nekko Ver Mensaje
Sino podés intentar modificar el script
[url]http://www.000webhost.com/forum/content-managament-systems/15958-wordpress-thumbnail-resizer-timthumb-php-problem.html[/url]
Lo he intentado, pero esa funcion no está en el timthumb
  #6 (permalink)  
Antiguo 04/04/2012, 07:47
 
Fecha de Ingreso: marzo-2012
Ubicación: España
Mensajes: 32
Antigüedad: 12 años, 1 mes
Puntos: 2
Respuesta: Problema con timthumb,, en localhost iva bien

Bueno ya está solucionado. Solo tuve que cambiar mi timthumb.php por este: http://www.000webhost.com/forum/attachments/spanish-forum/527d1316666672-problema-thubnails-wordpress-ayuda-timthumb.zip

Un saludo!!
  #7 (permalink)  
Antiguo 09/12/2012, 23:15
 
Fecha de Ingreso: septiembre-2012
Mensajes: 12
Antigüedad: 11 años, 7 meses
Puntos: 0
Respuesta: Problema con timthumb,, en localhost iva bien

puede volverlo a subir, por favor, tengo el mismo problema :/

Etiquetas: imagenes, iva, localhost, timthumb, themes
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 00:01.