Blogs Media: CSS Mania | VivirLatino | Sentido Web | Apps Mania

Publicidad

Jue22Feb2007

Post2PDF 1.4: error XSS corregido

16:30 H (CET)| Temas: Laboratorio · WordPress

Post2PDFNueva versión de Post2PDF, plugin de WordPress para exportar los plugins a formato PDF.

Esta versión corre a cargo de Alexander Concha, quien detectó un error de XSS en el plugin (¡ya me vale!) y además de solucionarlo, le ha dado un buen repaso a todo el plugin mejorándolo en muchos aspectos, por lo cual le estoy muy agradecido, ya que a parte de solucionar un error importante, he podido aprender bastante de su experiencia en WordPress.

Como novedad importante, hay que decir que el plugin solo es compatible con WordPress 2.x, las pruebas realizadas con versiones anteriores no han sido satisfactorias.

Post2PDF

Relacionados

Feedback (8) » Formulario

1. wolly (paolo valenti) ~ Jueves, 22 Feb 2007 | 20:17H:

Ciao, I have this error :

Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 148326 bytes) in /web/htdocs/www.paolo.valenti.name/home/wp-content/plugins/Post2PDF/tcpdf.php on line 3276

I cannot solve this problem because is a limit in the php.ini and mine ISP want change it.

There is a work around to solve this problem ?

Grazie in anticipo

Wolly

2. Luis ~ Jueves, 22 Feb 2007 | 20:38H:

Hi Wolly.

It's the first time someone report this error.

If you're using PHP 4.2.2 you must upgrade to PHP 4.6, where it was fixed this bug.

You can try adding the following line to an .htaccess file

php_value memory_limit "16M"

Saludos

3. wolly (paolo valenti) ~ Jueves, 22 Feb 2007 | 22:38H:

Thanx Luis but it doesn't work , I already tryed this workaround but my ISP don't allow this :-(

The problem is mine ISP :-( I think that the only possible workaround is to change the ISP since I have the same problem with others plugin :-)

thanx a lot

ciao

wolly

4. Luis ~ Viernes, 23 Feb 2007 | 00:24H:

Hi Wolly.

I have 8M of memory limit and no problems. I check other people who use the plugin and they can export big files.

Perhaps you will think in change your ISP.

Saludos

5. jane ~ Lunes, 05 Mar 2007 | 16:52H:

Hi Luis,

Jane again. :) I've upgraded to the 1.4 version and I get this error: "TCPDF error: Unsupported image type: gif" I'm running Wordpress 2.1 and PHP version: 4.4.4. Am I doing something wrong or can I downgrade to version 1.2 which worked for me? Thanks!

6. Luis ~ Lunes, 05 Mar 2007 | 20:29H:

Hi Jane,

Post2PDF uses TCPDF library that only supports JPEG and PNG images. It's possible you use a GIF image in your post or in your header.

Saludos

7. Dani ~ Sábado, 31 Mar 2007 | 10:55H:

Hola, el plugin esta genial. La unica pega que le veo es que, al menos a mi, el pdf generado carece de margenes.
Seria posible alguna opcion de añadir margenes¿

Gracias!

8. Luis ~ Sábado, 31 Mar 2007 | 13:50H:

Hola Dani.

Sí, supongo que si se le pueden añadir márgenes. Para una próxima versión intentaremos añadirlo.

Saludos

Conversación

Nombre:

Email:

(no aparecerá)

URL:

(opcional)
¿Recordar datos?

↓ Comentarios (XHTML permitido)