Coder Social home page Coder Social logo

Error Al generar PDF: Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request about lycet HOT 6 CLOSED

giansalex avatar giansalex commented on July 30, 2024
Error Al generar PDF: Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request

from lycet.

Comments (6)

erajuan avatar erajuan commented on July 30, 2024 2

Podrías compartir algunos datos de prueba, la versión de php.

en general te recomiendo actualizar a la ultima versión.

from lycet.

OD-n avatar OD-n commented on July 30, 2024 1

Yo tengo el mismo error:
Cuando quiero descargar el PDF me aparece problemas para cargar: asi que al abrirlo con un editor de texto el contenido tiene el mismo mensaje: pero al convertir la respuesta en PDF
`

<title>403 Forbidden</title>

Forbidden

You don't have permission to access this resource.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

`

from lycet.

eilsongithub avatar eilsongithub commented on July 30, 2024

Alguien me puede ayudar:
Vale decir que la api está en el mismo servidor que el sistema. y por Postman si obtengo el pdf sin problemas.

from lycet.

eilsongithub avatar eilsongithub commented on July 30, 2024

Ahora me sale esto:
"message": "sh: /home/xxxx/parapdf/wkhtmltopdf: Permission denied"
por postman tambien.

from lycet.

giansalex avatar giansalex commented on July 30, 2024

Hola @eilsongithub, tendrias que darle permiso de ejecucion

sudo chmod +x /home/xxxx/parapdf/wkhtmltopdf

from lycet.

OD-n avatar OD-n commented on July 30, 2024

Gracias, el problema fué las reglas que bloqueaban la peticion explicita del PDF, lo que se tenía que hacer era permitirlas.
En conclusión tenía que ver con el MOD_SECURITY. Gracias a todos.

from lycet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.