21
tatane
Re: xPdf module for create pdf documents
  • 2012/5/1 17:34

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


I work in mac oS 10.6.8 and MAMP 2.0.5

22
timgno
Re: xPdf module for create pdf documents
  • 2012/5/1 17:38

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Quote:
tatane wrote: I work in mac oS 10.6.8 and MAMP 2.0.5


See Video

23
timgno
Re: xPdf module for create pdf documents
  • 2012/5/1 21:05

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


You may have this line of code in the Library Frameworks/tcpdf/tcpdf.php
require_once(dirname(__FILE__).'/config/tcpdf_config.php');

Try to replace it with this:
include_once(dirname(__FILE__).'/config/tcpdf_config.php');

Let me know if it works with this

24
timgno
Re: xPdf module for create pdf documents
  • 2012/5/2 11:26

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Updated with:

Fixed bug for images categories
Fixed bug for image documents viewcat.php
Added options to double both category document editor
Added possibility to view title and subject in the header of the pdf document
Uploads images added to categories and documents

In future versions, you can customize the logo in the pdf document

Please test it with your systems, given the problems that tatane on MAC, I would like to hear from you how it works because I can only do that on Windows XP

Download

Thank You!!!

25
tatane
Re: xPdf module for create pdf documents
  • 2012/5/2 11:50

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


I just tried on a linux server.

Version de XOOPS XOOPS 2.5.5
Version de PHP 5.2.17
Version de MySQL 5.0.90-log
API serveur cgi
OS Linux
safe_mode Off
register_globals Off
magic_quotes_gpc On
allow_url_fopen On
fsockopen On
allow_call_time_pass_reference On
post_max_size 64M
max_input_time -1
output_buffering
max_execution_time 120
memory_limit 128M
file_uploads On
upload_max_filesize 64M



Here mode errors debeug :

Fatal error: Class 'TCPDF' not found in /homez.35/agriphot/www/25/modules/xpdf/class/xpdf_doc.php on line 241
Aucun Tout Erreur
(s) (4Deprécié(s) (0Requête(s) (13Bloc(s) (0Extra (2Temporisation(3)
Erreur(s)
Avertissement(s): include_once(/Frameworks/tcpdf/tcpdf.php) [function.include-once]: failed to open streamNo such file or directory dans le fichier /modules/xpdf/class/xpdf_doc.php ligne 202
Avertissement
(s): include_once() [function.include]: Failed opening '/Frameworks/tcpdf/tcpdf.php' for inclusion (include_path='.:/usr/local/lib/php'dans le fichier /modules/xpdf/class/xpdf_doc.php ligne 202
Avertissement
(s): include_once(/Frameworks/tcpdf/config/lang/en.php) [function.include-once]: failed to open streamNo such file or directory dans le fichier /modules/xpdf/class/xpdf_doc.php ligne 207
Avertissement
(s): include_once() [function.include]: Failed opening '/Frameworks/tcpdf/config/lang/en.php' for inclusion (include_path='.:/usr/local/lib/php'dans le fichier /modules/xpdf/class/xpdf_doc.php ligne 207

So its not from Mac!

26
timgno
Re: xPdf module for create pdf documents
  • 2012/5/2 12:01

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Sorry tatane!

You are locally or on a remote server?

27
tatane
Re: xPdf module for create pdf documents
  • 2012/5/2 12:14

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


remote server : OVH

28
Mamba
Re: xPdf module for create pdf documents
  • 2012/5/2 19:01

  • Mamba

  • Moderator

  • Posts: 11381

  • Since: 2004/4/23


Tatane, you're missing the TCPDF library, that should be in the /Frameworks folder, as it was indicated in the first message in this thread.

You can download it from our SourceForge SVN
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

29
timgno
Re: xPdf module for create pdf documents
  • 2012/5/2 19:28

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Ahi, Ahi tatane attenction...

You don't have upload the tcpdf Framework in root/Frameworks/

Look a Demo

30
timgno
Re: xPdf module for create pdf documents
  • 2012/5/2 20:47

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


In local server admin link work fine...!!!

Login

Who's Online

196 user(s) are online (63 user(s) are browsing Support Forums)


Members: 0


Guests: 196


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits