lx-office CRM shows php code

Hi,

I installed postgres and lx-office from the SuSE-repos. After a little dogfight with postgres everything works fine without the CRM module of lx-office. It shows php code instead of what it should show.

I found in a german forum that in the file /etc/php5/conf.d/lx-office-crm.ini the path should be changed from


/usr/share/php

to


/usr/share/php5

I found another file named php5-lx-office-crm.ini. I did the change in there and also copied the file to the name mentioned in the german forum. Both didn’t help. I have still php code instead of the correct content. Any ideas?

Bye

Erik

Hi,

I have to talk with my psychatrist about talking to myself in virtual world. :wink: Ok, I solved the problem. Just to let you know if you have the same.

  1. Change in /etc/php5/apache2/php.ini line 132 to

short_open_tag = On

It is the letter O.

  1. Change /etc/php5/conf.d/php5-lx-office-crm.ini to

include_path = ".:/usr/share/php5:/usr/share/php-fpdf:/usr/share/php-fpdi:/usr/share/php-fpdf-tpl:/usr/share/php5/PEAR"

  1. Restart apache

su
[Enter root password]
/etc/init.d/apache2 restart

That’s it.

hth

Bye

Erik