Page 1 of 1

Problem moving/installing

Posted: Fri Oct 16, 2015 6:12 pm
by Dragan
Hi everyone,

I'm new here.

I'm taking over someone else's website in cmsms and while I think the UI is pretty easy to use, I've had some trouble moving the website from webhost to another. We chose one.com.

See for yourself here : filmsdusablier.com : white page.

There's many possible issues :

-wrong directories set up in config.php (all files are installed in the root directory)
(I think I configured the database information correctly)

-phar not supported. (one.com online support told me so)
if so : is there a workaround?

I'm trying to install CMSMS 2.0.1.1 from scratch to check how the config.php will look like but i still get the white page from the beginning

phpversion: 5.5.45-MariaDB-1~wheezy - mariadb.org binary distribution
Server : Apache/2.2.16 (Debian)

Thanks a lot for your inputs!

Dragan

Re: Problem moving/installing

Posted: Sat Oct 17, 2015 4:38 am
by Dr.CSS
It will help to know what version of CMSMS you have now as some versions have a lot of info in the config.php and some of the later versions have very little info in them...

Only what's needed in the 1.11.* and up versions...

<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'root';
$config['db_password'] = '';
$config['db_name'] = '1102';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 0;
$config['root_url'] = 'http://localhost/1.11';
$config['timezone'] = 'America/Denver';
$config['default_encoding'] = 'utf-8';
?>

Re: Problem moving/installing

Posted: Sat Oct 17, 2015 12:04 pm
by Jo Morg
Please read the README file included with the installer:
-------------------
Requirements:
-------------------
1. The installation assistant requires a PHP environment with a minimum version of PHP 5.4.0.
2. For new installations of CMS Made Simple you should create a new mysql database and database user. The database user
must have ALL PRIVILEGES to all tables within the new database.
3. CMS Made Simple itself requires at least PHP 5.4.11 with numerous libraries enabled (the install assistant will
check for these) including json, tokenizer, xml, and gd.
4. Your PHP environment must include the PHAR extension (yes, even for the expanded installer). This is for expanding the archive(s) included within the installation assistant.
Dragan wrote:-phar not supported. (one.com online support told me so)
if so : is there a workaround?
I would start looking for a different host asap. Phar is a standard library as of PHP 5.4 and even the most basic hosting companies have it enabled.