1
SMEDrieben
Publisher 1.02 Final and pdf
  • 2016/1/31 20:02

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I installed Publisher 1.02 (on the wamp test system) and copied the tcpdf directory to the xoops_lib/vendor directory. If I press the pdf button below a Publisher article, an error is generated:

XOOPS URL not defined


It seems that this error is defined in tcpdf_autoconfig.php line 34. I don't know if it is associated with IIS ? IIS is uninstalled on my system.

How can it be corrected ? Thanks !

Xoops 2.5.7.2
Php: 5.6.16

SMEDrieben

2
SMEDrieben
Re: Publisher 1.02 Final and pdf: second problem
  • 2016/1/31 20:46

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


A second error:

I can get makepdf.php (Publisher 1.02) working with my old tcpdf installation. It works fine with Xoops 2.5.7.2 and Publisher 1 Final.

However, with 2.5.7.2 and Publisher 1.02 Final the xoops-codes (such as [i], [b]) are not interpreted and are given as text in the pdf. This is the (1.02) code of the text of the article in makepdf.php

$content .= $myts->undoHtmlSpecialChars($itemObj->plainMaintext());


What is happening ? Is $myts (the textsanitizer) or the undoHtmlSpecialChars not working ?

Thanks !

SMEDrieben

3
SMEDrieben
Re: Publisher 1.02 Final and pdf
  • 2016/2/7 15:26

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


What a pity that nobody has a solution !

Today I installed Publisher 1.02 Final in the production environment: Linux server, PHP 5.6.17. I copied the tcpdf to the xoops_lib directory. The makepdf doesn't work there either (with the debug mode on):

XOOPS URL not defined
Geen Alle Fouten 
(0Verouderd (1Queries (10Blokken (0Extra (2Timers(3)
Verouderd
Please 
use $pdf_data for configurationSee http://www.chg-web.org/ or ./docs/pdf_data.txt


Any suggestions how to get the makepdf working ? Thanks !

SMEDrieben

4
Mamba
Re: Publisher 1.02 Final and pdf
  • 2016/2/7 17:36

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I'll look into it this week, unless somebody beats me to it (hopefully, somebody will!!!! )
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

5
Dante7237
Re: Publisher 1.02 Final and pdf
  • 2016/2/13 2:32

  • Dante7237

  • Friend of XOOPS

  • Posts: 294

  • Since: 2008/5/28


I'm getting this error message when opening "Create Article" from the publisher admin.

"ERROR: cannot access file directory. Please CHMOD the uploads/publisher/content directory with value 755 (or 777 depending on your environment)
"

It displays under the editing window but isn't correct the dir is set to 755, and the content saves correctly.
Resized Image

6
SMEDrieben
Re: Publisher 1.02 Final and pdf
  • 2016/2/29 14:55

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


If there is any news on pdf generation in publisher .....

If you have been very busy, I'll wait.

SMEDrieben

7
Mamba
Re: Publisher 1.02 Final and pdf
  • 2016/2/29 17:29

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Sorry, still too busy, but it's my TO DO list...
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

335 user(s) are online (217 user(s) are browsing Support Forums)


Members: 0


Guests: 335


more...

Donat-O-Meter

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

Latest GitHub Commits