install.php blank? (solved)

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
ane

install.php blank? (solved)

Post 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?
Last edited by ane on Thu Mar 15, 2007 5:56 pm, edited 1 time in total.
ane

Re: install.php blank? (solved)

Post 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
Last edited by ane on Thu Mar 15, 2007 9:15 pm, edited 1 time in total.
ane

Re: install.php blank? (solved)

Post 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.
Pierre M.

Re: install.php blank? (solved)

Post by Pierre M. »

Welcome and thank you for the feedback !
Feel free to contribute FreeBSD hints to the wiki.

Pierre M.
Locked

Return to “[locked] Installation, Setup and Upgrade”