The CMS assumes that URL rewriting is enable in the apache config.
However, you may try to remove the .htaccess at the root of your installation folder (www)
To remove the notice warning, try to add this line at the top of the index.php file (just after the "<?php" line ):
error_reporting(0);
Regards,
Cedric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the same problem, this time I testing this project on Linux RetHat machine in subfolder, but I have the same problem as Subject of the post? Can anybody help and give the tip "step by step", I'll be grateful.
I have a php 5 and mod_rewrite enable and I delete .htacces file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
pat/php_xslt.php on line 7
[Tue Mar 29 15:26:26 2011] [error] [client 192.168.0.1] PHP Fatal error: Class 'XsltProcessor' not found in /var/www/html/test2/includes/compat/php_xslt.php on line 7
[Tue Mar 29 15:26:28 2011] [error] [client 192.168.0.1] PHP Fatal error: Class 'XsltProcessor' not found in /var/www/html/test2/includes/compat/php_xslt.php on line 7
[Tue Mar 29 15:26:33 2011] [error] [client 192.168.0.1] PHP Notice: Only variable references should be returned by reference in /var/www/html/test2/classes/system/Dir.class.php on line 116
[Tue Mar 29 15:26:33 2011] [error] [client 192.168.0.1] PHP Fatal error: Class 'XsltProcessor' not found in /var/www/html/test2/includes/compat/php_xslt.php on line 7
[Tue Mar 29 15:30:16 2011] [error] [client 192.168.0.1] PHP Fatal error: Class 'XsltProcessor' not found in /var/www/html/test2/includes/compat/php_xslt.php on line 7
Any IDEAS? I must add that for example Joomla works.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Apparently there is an error with the xslt processor (needed to convert xml to html).
Check your php configuration and remember that :
* for PHP 4
PHP must have been compiled with the options '-enable-xslt', '-with-xslt-sablot'
php-xslt extension must have been enabled :
install the php4-xslt package
install the php4-gd2 package
* for PHP 5
PHP must have been compiled with the options '-enable-xslt', '-with-dom', '-with-dom-exslt', '-with-dom-xslt
Regards,
Cedric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes You have right, so i must recompile the php 5 package, but I install it with 'yum' so it was an automatic install, can You tell mi a little tip.. sorry :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, yes that is the way, I must do it that way, but I have some services which depends on php5 that I have already installed e.g. squirellmail… with my own logo (this stuff)… I try to do it on the virtual machine UBUNTU (firstly). THANK YOU!. Regards. (thanks for sources, too)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there
i just found this great project!
Installation worked perfect, but then:
When i type in the URL to my site, after 3-5 seconds, the script redirects to a non-existant subfolder "/home?PHPSESSID=..."
a message appears:
"Sorry but the page you requested was not found on this server."
sometimes there also appears the following notice:
Notice: Only variable references should be returned by reference in /my_website_path/classes/system/Dir.class.php on line 116
Can anybody help me with this?
Simu
The CMS assumes that URL rewriting is enable in the apache config.
However, you may try to remove the .htaccess at the root of your installation folder (www)
To remove the notice warning, try to add this line at the top of the index.php file (just after the "<?php" line ):
error_reporting(0);
Regards,
Cedric
Hi everybody!,
I have the same problem, this time I testing this project on Linux RetHat machine in subfolder, but I have the same problem as Subject of the post? Can anybody help and give the tip "step by step", I'll be grateful.
I have a php 5 and mod_rewrite enable and I delete .htacces file.
Hi Michas,
Try this :
modify the classes/core/Site.class.php by commenting the line 663 like this
// $alias = $page->getPageAlias($lid);
it should prevent any redirecting to friendly URL (i.e. /home instead of /index.php?pid=1)
Cedric
Hi thanks for reply, but now after your advice i have only blank page with this in URL:
http://xxx.pl/test2/index.php?pid=1&lid=1&mode=view
And apache logs are:
Any IDEAS? I must add that for example Joomla works.
Hi,
The URL seems to be OK.
Apparently there is an error with the xslt processor (needed to convert xml to html).
Check your php configuration and remember that :
* for PHP 4
PHP must have been compiled with the options '-enable-xslt', '-with-xslt-sablot'
php-xslt extension must have been enabled :
install the php4-xslt package
install the php4-gd2 package
* for PHP 5
PHP must have been compiled with the options '-enable-xslt', '-with-dom', '-with-dom-exslt', '-with-dom-xslt
Regards,
Cedric
Yes You have right, so i must recompile the php 5 package, but I install it with 'yum' so it was an automatic install, can You tell mi a little tip.. sorry :-)
Is it only way to uninstall php5 and compile it with source…?
Hi,
Yes, I'm afraid you will have to uninstall and install again from sources.
If it helps, this is how I did it :
pre-command
/etc/rc.d/init.d/httpd stop
/etc/init.d/mysql stop
openssl
./config -prefix=/usr/local
make
make install
php 5.2.1
./configure -disable-pic -with-apache=../apache_1.3.34 -disable-rpath -enable-bcmath -enable-calendar -with-curl=/usr/local -enable-discard-path -enable-exif -enable-filepro -enable-ftp -enable-gd-native-tt -enable-inline-optimization -enable-libgcc -enable-magic-quotes -enable-sysvsem -enable-sysvshm -enable-trans-sid -enable-wddx -enable-xslt -with-dom -with-dom-exslt -with-dom-xslt -with-filepro -with-expat-dir=/usr/local -with-gd -with-gdbm -with-gettext -with-jpeg-dir=/usr -with-kerberos -with-mysql=/usr/local/mysql -with-png-dir=/usr/local -with-xml -with-zlib-dir=/usr/local -with-pdflib=/usr/local -with-regex=system -with-ttf -with-zip=/usr/local -with-zlib -with-iconv-dir=/usr/local -with-libxml-dir=/usr/local -with-freetype-dir=/usr/local
php 5.3.0
./configure -with-apache=../apache_1.3.34 -disable-rpath -enable-bcmath -enable-calendar -with-curl=/usr/local -enable-exif -enable-ftp -enable-inline-optimization -enable-libgcc -enable-magic-quotes -enable-sysvsem -enable-sysvshm -enable-wddx -with-gd -with-gdbm -with-gettext -with-jpeg-dir=/usr -with-kerberos -with-mysql=/usr/local/mysql -with-png-dir=/usr/local -with-zlib-dir=/usr/local -with-regex=system -with-zlib -with-iconv-dir=/usr/local -with-libxml-dir=/usr/local -with-freetype-dir=/usr/local -with-xsl=/usr/local
Notice: Following unknown configure options were used:
-disable-pic
-enable-discard-path
-enable-filepro
-enable-gd-native-tt
-enable-trans-sid
-enable-xslt
-with-dom
-with-dom-exslt
-with-dom-xslt
-with-filepro
-with-expat-dir=/usr/local
-with-xml
-with-pdflib=/usr/local
-with-ttf
-with-zip=/usr/local
make
make install
cp ./libs/libphp5.a ../apache_1.3.34/src/modules/php5/
php.ini
usr/local/lib/php.ini :
session.save_path = /tmp
apache
./configure -prefix=/usr/local/apache -activate-module=src/modules/php5/libphp5.a -enable-module=so -enable-module=rewrite
make
make install
/etc/rc.d/init.d/httpd restart
/etc/init.d/mysql start &
Hi, yes that is the way, I must do it that way, but I have some services which depends on php5 that I have already installed e.g. squirellmail… with my own logo (this stuff)… I try to do it on the virtual machine UBUNTU (firstly). THANK YOU!. Regards. (thanks for sources, too)