Ver Mensaje Individual
  #8 (permalink)  
Antiguo 28/06/2007, 15:04
Neeno
 
Fecha de Ingreso: abril-2007
Mensajes: 22
Antigüedad: 17 años, 11 meses
Puntos: 0
Re: Javascript funciona en localhost, pero no el el server

Pues ni idea de que clase de hosting es, en cuanto a permisos todos los archivos tienen 755 (rwxr-xr-x)

Probé con 777 y 775 pero el propio server me dice que lo deje como estaba:

Cita:
[cursosdream.awardspace.com] [Thu Jun 28 20:54:52 2007] [error] [client xx.xx.xx.xx] Premature end of script headers: paso1.php | file is writable by others paso1.php
Error 500: Script Execution Failure

File Permissions
When you upload scripts via FTP the file permissions are set by default to 755. If you get "Error 500: Script Execution Failure" you should check whether your scripts have 755 permissions. Otherwise your scripts have lower level of permissions and does not support execution upon request. The octal representation of the 755 permission is equal to the following textual format: -rwxr-xr-x
Most FTP clients support the CHMOD command which is used for setting file permissions. In case you have set improper permissions to your scripts, use your FTP client and set "Read, Write, Execute" permissions for the owner, "Read, Execute" permissions for the group and everyone else.
Vamos, que mejor dejar el 755 que viene de fábrica

Ahora que ya sabemos que la culpa la tiene el hosting, ya por curiosidad. ¿Como es esto posible?