Support > FAQs

Is Elxis CMS compatible with PHP5?

<< < (2/2)

wbread:
I have already written about them, it is a problem with the forum and export in PDF

URI: index.php?option=com_eforum&Itemid=39&task=reply&id=439
Path: /administrator/components/com_eforum/includes/eforum.class.php
Line: 887
Creating default object from empty value


PHP Ошибка [Warning]
URI: index2.php?option=com_content&do_pdf=1&id=65
Path: /includes/pdf.php
Line: 218
file_exists(): open_basedir restriction in effect. File(../../../images/logo.png) is not within the allowed path(s): (/var/www/bisar/data:.)
PHP Ошибка [Warning]
URI: index2.php?option=com_content&do_pdf=1&id=65
Path: /includes/tcpdf/tcpdf.php
Line: 3565
Cannot modify header information - headers already sent by (output started at /var/www/bisar/data/www/ormt.runsite.ru/includes/Core/database.php:37)
TCPDF error: Some data has already been output to browser, can't send PDF file

datahell:
This is an open_basedir restriction not an Elxis bug (actually the php's report is wrong as the path IS within the allowed paths - it just uses ../ which confuses php).

You can edit the includes/tcpdf/tcpdf.php and change the logo image base to this:
/var/www/bisar/data/www/ormt.runsite.ru/images/logo.png
or copy "logo.png" in includes/tcpdf/ and set image path to just "logo.png"

wbread:
edit the includes/pdf.php
../../../images/logo.png
to
../images/logo.png
 ;D

wbread:
I want to print articles from the site, and that's what happens.
PFD export:
TCPDF error: Missing or incorrect image file: /tmp/jpgq6t05e

RTF export:
http://gyazo.com/f202f4c0011c82e49c2395e3e2a96085
(html tag)

print button - Print page contains the main page

Navigation

[0] Message Index

[*] Previous page

Go to full version