Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 500 Internal Server Error #492

Open
francisca0308 opened this issue Dec 10, 2020 · 0 comments
Open

Error: 500 Internal Server Error #492

francisca0308 opened this issue Dec 10, 2020 · 0 comments

Comments

@francisca0308
Copy link

Hola! Estaba haciendo el post de nuevos mensajes y empecé a probar lo que tenía hecho y me funcionó una vez, pero las siguientes la página me arrojaba el siguiente error:

Warning: file_get_contents(https://api-39.herokuapp.com/messages): failed to open stream: HTTP request failed! HTTP/1.1 500 INTERNAL SERVER ERROR in /home/grupo39/Sites/consultas/enviar_mensaje_parte2.php on line 36

Busqué un poco en google y sugerían cambiar a funciones cURL de php. ¿Es necesario usar file_get_contents? ¿Hay algún tipo de permiso que le debo conceder a php para acceder al HTTP sin este error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant