Current time: 11-24-2024, 11:40 PM 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: #1
[SOLUCIONADO] Problemas al cambiar una web de servidor
Tengo una web que en un server funcionaba perfecta, y al cambiarla a otro los dos se supone que iguales con ispcp con todo "creo que" igual y no funciona me tira este error.

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/pear/cake/libs/controller/components/session.php) is not within the allowed path(s):
(This post was last modified: 11-18-2009 09:17 PM by Puntonetsvb.)
10-27-2009 07:53 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: #2
RE: Problemas al cambiar una web de servidor
(10-27-2009 07:53 PM)Puntonetsvb Wrote:  Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/pear/cake/libs/controller/components/session.php) is not within the allowed path(s):

Agrega la ruta a su php.ini en la variable open_basedir y reinica apache casca por que no tiene permisos para ejecutar fuera de las carpetas del usuario.
10-27-2009 07:56 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: #3
RE: Problemas al cambiar una web de servidor
Le he añadido esta ruta en el php.ini
el de "/var/www/fcgi/php5/php.ini"

/usr/share/pear/cake/libs/controller/, pero me sigue dando el error, tambien reinicie el apache despues de hacerlo
10-27-2009 08:00 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: #4
RE: Problemas al cambiar una web de servidor
no en el master no, en el de su dominio
10-27-2009 08:17 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: #5
RE: Problemas al cambiar una web de servidor
no, perdon lo cambien en el:
/var/www/fcgi/dominio.com/php5/
10-27-2009 08:19 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: #6
RE: Problemas al cambiar una web de servidor
el mensaje ese mensaje no tiene muchos quebraderos de cabeza
Agrega la ruta tal como te la dice no le quites ni carpetas ni el archivo.
Quote:/usr/share/pear/cake/libs/controller/

Como tienes el php.ini del otro servidor
(This post was last modified: 10-27-2009 08:24 PM by kurgans.)
10-27-2009 08:24 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: #7
RE: Problemas al cambiar una web de servidor
open_basedir = "/var/www/virtual/dominio.es/:/usr/share/php/:/usr/share/pear/cake/libs/controller/"
Le añadí esto que esta en negrita, reinicie el apache y nada
10-27-2009 08:56 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: #8
RE: Problemas al cambiar una web de servidor
/usr/share/pear/cake/libs/controller/components/session.php

Ponlo todo y prueba asi,
10-27-2009 09:02 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: #9
RE: Problemas al cambiar una web de servidor
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:18 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: #10
RE: Problemas al cambiar una web de servidor
Yo probaría con:
Code:
open_basedir = "/var/www/virtual/dominio.es/:/usr/share/php/:/usr/share/pear/"

Es más, puedes añadirlo al template para que todos los php.ini te los genere así...
10-27-2009 09:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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