xoops forums

Forum Index


Board index » All Posts (SMEDrieben)




SMEDrieben

Not too shy to talk
Posted on: 2018/9/22 10:02
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#11

Re: Help with extcal 2.39 Final

Thanks ! The issues mentioned have disappeared !

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/22 9:53
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#12

Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8)

I am sorry, but it does not work:

Fatal error: require_once(): Failed opening required 'C:\wamp64\www\httpdocs\modules\publisher\class/admin/admin_footer.php' (include_path='.;C:\php\pear') in C:\wamp64\www\httpdocs\modules\publisher\class\MimetypesUtility.php on line 491

I though the "class" is wrong and changed line 491 to:

require_once PUBLISHER_ADMIN_URL .'/admin_footer.php';

This does not work either:

Fatal error: require_once(): Failed opening required 'http://localhost/httpdocs/modules/publisher/admin/admin_footer.php' (include_path='.;C:\php\pear') in C:\wamp64\www\httpdocs\modules\publisher\class\MimetypesUtility.php on line 491

Why ? The path is correct, the file exists. There are 2 additonal warnings:

Fouten
Waarschuwing: require_once(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in bestand /modules/publisher/class/MimetypesUtility.php regel 491
Waarschuwing: require_once(http://localhost/httpdocs/modules/publisher/admin/admin_footer.php): failed to open stream: no suitable wrapper could be found in bestand /modules/publisher/class/MimetypesUtility.php regel 491

Another issue is that C:\php\pear does noet exist. I have a regular wamperver installation, but tht does not provide c:\php\pear.

Is there a solution ?

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/21 18:38
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#13

Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8)

In the admin, there appear several warnings. The look like lacking language constants, but I cannot find the place they should be defined:

Waarschuwingconstant(): Couldn't find constant CO_PUBLISHER_IMAGEINFO in bestand /modules/publisher/class/Common/ServerStats.php regel 41 
Waarschuwing: constant(): Couldn'
t find constant CO_PUBLISHER_SPHPINI in bestand /modules/publisher/class/Common/ServerStats.php regel 49 
Waarschuwing
constant(): Couldn't find constant CO_PUBLISHER_GDON in bestand /modules/publisher/class/Common/ServerStats.php regel 52 
Waarschuwing: constant(): Couldn'
t find constant CO_PUBLISHER_GDLIBSTATUS in bestand /modules/publisher/class/Common/ServerStats.php regel 53 
Waarschuwing
constant(): Couldn't find constant CO_PUBLISHER_ON in bestand /modules/publisher/class/Common/ServerStats.php regel 66 
Waarschuwing: constant(): Couldn'
t find constant CO_PUBLISHER_SERVERUPLOADSTATUS in bestand /modules/publisher/class/Common/ServerStats.php regel 67 
Waarschuwing
constant(): Couldn't find constant CO_PUBLISHER_MAXUPLOADSIZE in bestand /modules/publisher/class/Common/ServerStats.php regel 69 
Waarschuwing: constant(): Couldn'
t find constant CO_PUBLISHER_MAXPOSTSIZE in bestand /modules/publisher/class/Common/ServerStats.php regel 70 
Waarschuwing
constant(): Couldn't find constant CO_PUBLISHER_MEMORYLIMIT in bestand /modules/publisher/class/Common/ServerStats.php regel 71 
Waarschuwing: constant(): Couldn'
t find constant CO_PUBLISHER_SERVERPATH in bestand /modules/publisher/class/Common/ServerStats.php regel 74 
Waarschuwing
constant(): Couldn't find constant CO_PUBLISHER_UPLOADPATHDSC in bestand /modules/publisher/class/Common/ServerStats.php regel 77


How can I solve ?

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/21 18:21
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#14

Re: Publisher 1.06 FINAL Released (PHP 5.6 - 7.2.8)

In my test system, Xoops 2.5.9 and php 7.0.10, the mime-tab in the admin generates a fatal error:

Fatal error: require_once(): Failed opening required 'C:\wamp64\www\httpdocs\modules\publisher\class/admin_footer.php' (include_path='.;C:\php\pear') in C:\wamp64\www\httpdocs\modules\publisher\class\MimetypesUtility.php on line 491

Is it normal that both backslashes and forward slashes are used in a path (\class/admin) ??

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/21 18:15
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#15

Re: Help with extcal 2.39 Final

Another fatal error on mysite/modules/extcal

Fatal error: Uncaught Error: Class 'XoopsModules\Extcal\Helper' not found in C:\wamp64\www\httpdocs\modules\extcal\index.php on line 5

Error: Class 'XoopsModules\Extcal\Helper' not found in C:\wamp64\www\httpdocs\modules\extcal\index.php on line 5

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/21 18:08
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#16

Re: Help with extcal 2.39 Final

Thanks ! The bug (fatal error) on the opening page has gone with 2.40 beta ! However...

After installing this version (2.40 beta 1), it crashes fatally as well as soon as I click the Event tab in the admin, both in 5.6.25 and 7.0.10:

In php 5.6.25
Fatal error: Class 'XoopsModules\Extcal\Helper' not found in C:\wamp64\www\httpdocs\modules\extcal\admin\event.php on line 22

In php 7.0.10
Fatal error: Uncaught Error: Class 'XoopsModules\Extcal\Helper' not found in C:\wamp64\www\httpdocs\modules\extcal\admin\event.php on line 22

Error: Class 'XoopsModules\Extcal\Helper' not found in C:\wamp64\www\httpdocs\modules\extcal\admin\event.php on line 22

Thanks for the solution !

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/9/19 19:20
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#17

Re: Help with extcal 2.39 Final

Hey,

I am on Xoops 2.5.9 and Extcal 2.39 Final. My provider will switch to php 7. I tried my test system on php 7.0.10 (it is in my Wamp server) and my site doesn't start up, but immediately crashes:

Error TypeErrorArgument 1 passed to ExtcalTime::_getUserTimeZone() must be an instance of XoopsUserstring givencalled in C:wamp64wwwhttpdocsmodulesextcalclassevent.php on line 627


What is wrong on line 627 ??

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/1/7 13:45
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#18

Re: PUBLISHER 1.05 FINAL RELEASED

Thanks Mamba ! With the dejavusans font the Greek characters are given correctly in the pdf !

This is the beginning of the tcpdf.php (full version, not the special Xoops-version):

//============================================================+
// File name   : tcpdf.php
// Version     : 6.2.13
// Begin       : 2002-08-03
// Last Update : 2015-06-18
// Author      : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
// License     : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
// -------------------------------------------------------------------


The main feautures state:

//  * UTF-8 Unicode and Right-To-Left languages;


The remaining problem is the mixing up of the html-table in the pdf.

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/1/6 11:50
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#19

Re: PUBLISHER 1.05 FINAL RELEASED

Thanks !

I agree that the print.php works correctly, but the makepdf.php doesn't. I use as pdf-generator:

require_once XOOPS_ROOT_PATH '/class/libraries/vendor/tecnickcom/tcpdf/tcpdf.php';


Publisher's makepdf.php has at least two problems:

1. html-tables are mixed up
2. Greek characters are given as question marks (???)

Both are correct with the print.php. I suggest that it is in de tcpdf itself or how the data are deliverd at the tcpdf. I use the saem tcpdf with the latest release of the news modle. using that module the same problem occures. Both with the html-tables and teh Greek characters.

Furhter suggestions ?

SMEDrieben


SMEDrieben

Not too shy to talk
Posted on: 2018/1/3 14:34
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 173
Since: 2009/6/17
#20

Re: PUBLISHER 1.05 FINAL RELEASED

Page with html-table

PDF with mixed up table

SMEDrieben



TopTop
« 1 (2) 3 4 5 ... 17 »