Page 1 of 1
install.php blank? (solved)
Posted: Thu Mar 15, 2007 5:21 pm
by ane
Trying to install CMSMS 1.0.4 on FreeBSD 6 with PHP 5.2.1, MySQL 5.0.37, and Apache 1.3.34.
Stuck at step 7 of
http://wiki.cmsmadesimple.org/index.php ... ll_Install - install.php is simply
blank. There is no content whatsoever.
The only (probably unrelated) error in httpd-error.log is:
[Thu Mar 15 11:47:41 2007] [error] PHP Notice: Undefined index: debug in /cms/lib/misc.functions.php on line 109
Can anyone help?
Re: install.php blank? (solved)
Posted: Thu Mar 15, 2007 5:59 pm
by ane
Thanks to Pierre M in post
http://forum.cmsmadesimple.org/index.ph ... l#msg53695 , I fixed it by installing the php session extension.
Went to
/usr/ports/www/php5-session
make install clean
apachectl restart
My extensions.ini now looks like:
extension=mysql.so
extension=tokenizer.so
extension=xml.so
extension=session.so
and the install.php page comes up! Thanks Pierre!
BTW, if anyone gets a mostly blank page when on step 4 of install.php, try installing the PEAR framework for PHP:
cd /usr/ports/devel/pear
make install clean
apachectl restart
Re: install.php blank? (solved)
Posted: Thu Mar 15, 2007 9:06 pm
by ane
If anyone gets stuck on Step 4 with a "Can't connect to database" error, try this:
1. Create your database and remember to flush privileges:
mysql -u root -p
CREATE DATABASE cms;
GRANT ALL privileges on cms.* to cms_user@localhost identified by 'cms_pass';
FLUSH PRIVILEGES;
quit
2. Then retype your password in the database password field (in Step 4's form) and press Submit/continue.
Hope this helps someone.
Re: install.php blank? (solved)
Posted: Fri Mar 16, 2007 9:42 am
by Pierre M.
Welcome and thank you for the feedback !
Feel free to contribute FreeBSD hints to the wiki.
Pierre M.