XoopsModules25x/publisher

PDF generation for articles is not working

cesagonchu opened this issue · 1 comments

Module downloaded here:
https://github.com/XoopsModules25x/publisher/releases/tag/1.03_RC1

PDF generation for articles is not working.

error:
The requested URL /modules/publisher/viewtopic.php was not found on this server.


My config:

PHP: 5.6.11-1ubuntu3.4
MYSQL: 5.6.30
XOOPS: 2.5.8 english version
ModuleAdmin: 1.2

You can download TCPDF from GitHub, and then copy the content of the zip file into:

/class/libraries/vendor/tecnickcom/tcpdf/

and your PDF should work without any problems.

You can also add this line:

 "tecnickcom/tcpdf":"6.*"

to the "composer.json" file located in "/class/libraries/", so it looks like this:

{
    "name": "xoops-258/libraries",
    "license": "GPL-2.0+",
    "type": "project",
    "description": "Libraries for XOOPS 2.5.8",
    "require": {
        "php": ">=5.3.7",
        "xoops/xmf": "^1.0.0",
        "ircmaxell/password-compat": "^1.0.4",
        "smottt/wideimage": "^1.1",
        "stefangabos/zebra_image": "^2.2",
        "tecnickcom/tcpdf":"6.*"
    }
}

and then run the "composer update" command from the command line window, and Composer will take care of downloading it.