Elxis CMS Forum

Support => FAQs => Topic started by: eliasan on January 27, 2007, 00:51:17

Title: Is Elxis CMS compatible with PHP5?
Post by: eliasan on January 27, 2007, 00:51:17
Short Answer:
Yes it is!

Long Answer:
From the early steps of developing Elxis we decided that it should be ready for the future. So we made it to be fully compatible with PHP5.
You should also know, that we regularly run Elxis on PHP5 equipped servers.

In fact part of its development was based on this kind of servers!
So, yes Elxis is fully able to be run on a PHP5 environment.
Title: Re: Is Elxis CMS compatible with PHP5?
Post by: rentasite on January 27, 2007, 22:57:42

Yes Elxis is compatible with PHP 5.  ;) My 1st installation was done, under that version. And i didn't face any problem.
Title: Re: Is Elxis CMS compatible with PHP5?
Post by: Reza Faghihi on March 16, 2007, 01:34:26
yes i've test it with php 5 and there is no problem

great job
Title: Re: Is Elxis CMS compatible with PHP5?
Post by: wbread on January 14, 2014, 17:23:01
install on php5.4x some bug...
reinstall php5.3(my old ver) the same bug :-\
Title: Re: Is Elxis CMS compatible with PHP5?
Post by: webgift on January 14, 2014, 17:29:00
Yeap, it's fully compatible with these version of PHP. Can you please analyze the bugs? Login to the error log file of your server and give us the error or warning messages.
Title: Re: Is Elxis CMS compatible with PHP5?
Post by: wbread on January 14, 2014, 17:44:18
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
Title: Re: Is Elxis CMS compatible with PHP5?
Post by: datahell on January 14, 2014, 21:59:50
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"
Title: Re: Is Elxis CMS compatible with PHP5?
Post by: wbread on January 14, 2014, 23:29:06
edit the includes/pdf.php
../../../images/logo.png
to
../images/logo.png
 ;D
Title: Re: Is Elxis CMS compatible with PHP5?
Post by: wbread on January 31, 2014, 12:21:22
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