Foros del Web » Programando para Internet » PHP » Frameworks y PHP orientado a objetos »

error con laravel

Estas en el tema de error con laravel en el foro de Frameworks y PHP orientado a objetos en Foros del Web. hola amigos espero me puedan ayudar. me encuentro iniciando con el framework laravel pero al darla http://localhost/laravel/public/ obtengo estos errores Warning: chdir() [function.chdir]: No error ...
  #1 (permalink)  
Antiguo 07/01/2013, 11:23
 
Fecha de Ingreso: septiembre-2010
Mensajes: 1.853
Antigüedad: 13 años, 7 meses
Puntos: 6
error con laravel

hola amigos espero me puedan ayudar.

me encuentro iniciando con el framework laravel pero al darla http://localhost/laravel/public/

obtengo estos errores


Warning: chdir() [function.chdir]: No error (errno 0) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\laravel\paths.php on line 97

Warning: require(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\laravel\public\laravel \laravel/laravel/laravel.php) [function.require]: failed to open stream: No such file or directory in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\laravel\public\index.p hp on line 34

Fatal error: require() [function.require]: Failed opening required 'C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\laravel\public\laravel \laravel/laravel/laravel.php' (include_path='.;C:\php5\pear') in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\laravel\public\index.p hp on line 34
  #2 (permalink)  
Antiguo 07/01/2013, 12:27
Avatar de masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 3 meses
Puntos: 845
Respuesta: error con laravel

Que versión de PHP estas utilizando ?
__________________
http://es.phptherightway.com/
thats us riders :)
  #3 (permalink)  
Antiguo 07/01/2013, 12:39
 
Fecha de Ingreso: septiembre-2010
Mensajes: 1.853
Antigüedad: 13 años, 7 meses
Puntos: 6
Respuesta: error con laravel

estoy utilizando 5.2.17 sobre windows 7
  #4 (permalink)  
Antiguo 07/01/2013, 12:47
Avatar de abimex
Colaborador
 
Fecha de Ingreso: marzo-2007
Ubicación: ~
Mensajes: 751
Antigüedad: 17 años, 2 meses
Puntos: 137
Respuesta: error con laravel

creo que laravel requiere 5.3 minimo
__________________
>> abimaelmartell.com
  #5 (permalink)  
Antiguo 07/01/2013, 13:15
Avatar de masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 3 meses
Puntos: 845
Respuesta: error con laravel

http://laravel.com/docs/install#requirements
__________________
http://es.phptherightway.com/
thats us riders :)
  #6 (permalink)  
Antiguo 07/01/2013, 14:58
 
Fecha de Ingreso: septiembre-2010
Mensajes: 1.853
Antigüedad: 13 años, 7 meses
Puntos: 6
Respuesta: error con laravel

amigos ya instale php 5.3.18 pero obtengo al ingresar http://localhost/laravel/public/



Unhandled Exception
Message:

file_put_contents(/var/www/html/laravel/storage/views/bb07ee8e8db95a1241c18748296515b7) [function.file-put-contents]: failed to open stream: Permission denied

Location:

/var/www/html/laravel/laravel/blade.php on line 63

Stack Trace:

#0 /var/www/html/laravel/laravel/laravel.php(42): Laravel\Error::native(2, 'file_put_conten...', '/var/www/html/l...', 63)
#1 [internal function]: Laravel\{closure}(2, 'file_put_conten...', '/var/www/html/l...', 63, Array)
#2 /var/www/html/laravel/laravel/blade.php(63): file_put_contents('/var/www/html/l...', '...')
#3 [internal function]: Laravel\{closure}(Object(Laravel\View))
#4 /var/www/html/laravel/laravel/event.php(199): call_user_func_array(Object(Closure), Array)
#5 /var/www/html/laravel/laravel/event.php(138): Laravel\Event::fire('laravel.view.en...', Array, true)
#6 /var/www/html/laravel/laravel/view.php(348): Laravel\Event::until('laravel.view.en...', Array)
#7 /var/www/html/laravel/laravel/view.php(590): Laravel\View->render()
#8 /var/www/html/laravel/laravel/response.php(266): Laravel\View->__toString()
#9 /var/www/html/laravel/laravel/laravel.php(180): Laravel\Response->render()
#10 /var/www/html/laravel/public/index.php(34): require('/var/www/html/l...')
#11 {main}


porque sucede esto?
  #7 (permalink)  
Antiguo 07/01/2013, 15:00
Avatar de GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: error con laravel

failed to open stream: Permission denied

No tienes permisos para escribir en ese archivo, o en ese directorio.
  #8 (permalink)  
Antiguo 07/01/2013, 15:11
 
Fecha de Ingreso: septiembre-2010
Mensajes: 1.853
Antigüedad: 13 años, 7 meses
Puntos: 6
Respuesta: error con laravel

GatorV gracias por responder tenias toda la razon eran los permisos
  #9 (permalink)  
Antiguo 07/01/2013, 22:40
 
Fecha de Ingreso: septiembre-2010
Mensajes: 1.853
Antigüedad: 13 años, 7 meses
Puntos: 6
Respuesta: error con laravel

amigos porque al ejecutar

#php artisan key:generate

obtengo
An applicaction key already exists!
  #10 (permalink)  
Antiguo 08/01/2013, 00:42
Avatar de abimex
Colaborador
 
Fecha de Ingreso: marzo-2007
Ubicación: ~
Mensajes: 751
Antigüedad: 17 años, 2 meses
Puntos: 137
Respuesta: error con laravel

tienes que borrar la clave que está en application/config/application.php linea 56, borras el contenido de ese indice y ejecutas el comando..
Saludos
__________________
>> abimaelmartell.com

Etiquetas: framework, php
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 20:57.