Current time: 11-16-2024, 10:33 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLUCIONADO] Problemas al cambiar una web de servidor
Author Message
Puntonetsvb Offline
Junior Member
*

Posts: 214
Joined: Nov 2008
Reputation: 0
Post: #11
RE: Problemas al cambiar una web de servidor
Kilburn ya probé pero me sigue respondiendo:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/pear/cake/libs/controller/function.file-exists_controller.php) is not within the allowed path(s):
10-27-2009 09:30 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #12
RE: Problemas al cambiar una web de servidor
Pues solo me queda decirte que pruebes con:
Code:
open_basedir = "/var/www/virtual/dominio.es/:/usr/share/php:/usr/share/pear"

Si tampoco funciona... comprueba que estás tocando el fichero correcto y reiniciando el apache, que las rutas que te da como allowed paths (lo que viene detrás de lo que nos has copypasteado) son correctas, y repasa todo otra vez porque no puede ser jejeje
10-27-2009 09:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Puntonetsvb Offline
Junior Member
*

Posts: 214
Joined: Nov 2008
Reputation: 0
Post: #13
RE: Problemas al cambiar una web de servidor
Nada sigue igual, el error que me da esta copiado debajo entero

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/pear/cake/libs/controller/function.file-exists_controller.php) is not within the allowed path(s): (/var/www/virtual/dominio.es/:/usr/share/php/:/usr/share/pear) in /var/www/virtual/dominio.es/htdocs/intraweb/cake/basics.php on line 1108

la linea 1108 de basics.php es:
if (file_exists($fullPath))
(This post was last modified: 10-27-2009 10:16 PM by Puntonetsvb.)
10-27-2009 10:14 PM
Find all posts by this user Quote this message in a reply
Puntonetsvb Offline
Junior Member
*

Posts: 214
Joined: Nov 2008
Reputation: 0
Post: #14
RE: Problemas al cambiar una web de servidor
Warning: unlink() [function.unlink]: open_basedir restriction in effect. File(/var/www/virtual/dominio.com/htdocs/clientes) is not within the allowed path(s): (/var/www/virtual/dominio.com/:/usr/share/php/:/usr/share/pear/) in /var/www/virtual/dominio.com/htdocs/intranet/clientes/editarcliente.php on line 34

Warning: copy() [function.copy]: open_basedir restriction in effect. File(/var/www/virtual/dominio.com/htdocs/temporales/1-1.jpg) is not within the allowed path(s): (/var/www/virtual/dominio.com/:/usr/share/php/:/usr/share/pear/) in /var/www/virtual/dominio.com/htdocs/intranet/clientes/editarcliente.php on line 35

Warning: copy(/var/www/virtual/dominio.com/htdocs/temporales/1-1.jpg) [function.copy]: failed to open stream: Operation not permitted in /var/www/virtual/dominio.com/htdocs/intranet/clientes/editarcliente.php on line 35
11-18-2009 08:20 PM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #15
RE: Problemas al cambiar una web de servidor
Mira los permisos, yo con una galeria me mate vivo y luego eran los permisos en la carpeta donde tenia que mover los archivos una vez subidos.
11-18-2009 08:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Puntonetsvb Offline
Junior Member
*

Posts: 214
Joined: Nov 2008
Reputation: 0
Post: #16
RE: Problemas al cambiar una web de servidor
Los tengo puestos a 777
he puesto a 777 hasta el htdocs y nada sigue igual
(This post was last modified: 11-18-2009 08:50 PM by Puntonetsvb.)
11-18-2009 08:47 PM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #17
RE: Problemas al cambiar una web de servidor
Puede ser otro error, el tamaño de lo que estes subiendo que puede exceder lo que tienes en el php.ini y rectificar la linea del open_base, el safe_mode es que depende de lo que estes usando.

Reinicia apache despues de los cambios
(This post was last modified: 11-18-2009 09:12 PM by kurgans.)
11-18-2009 09:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Puntonetsvb Offline
Junior Member
*

Posts: 214
Joined: Nov 2008
Reputation: 0
Post: #18
RE: Problemas al cambiar una web de servidor
Al final lo pude solucionar desactivando el open_basedir para el dominio
11-18-2009 09:17 PM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #19
RE: Problemas al cambiar una web de servidor
No se lo quites, ajustalo a lo que necesites
11-18-2009 09:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Puntonetsvb Offline
Junior Member
*

Posts: 214
Joined: Nov 2008
Reputation: 0
Post: #20
RE: [SOLUCIONADO] Problemas al cambiar una web de servidor
Intenté añadirle los directorios que necesitaba y demás y siempre me daba ese error, voy a revisar lo que me decias y probar.

Lo he revisado y sigue igual, adem´´as tengo dos servidores configurados igual ispcp 1.0.2 el php.ini igual y en uno funciona y en el otro no
(This post was last modified: 11-19-2009 06:31 PM by Puntonetsvb.)
11-19-2009 06:28 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)