Just downloaded CMSMS through Bitnami. Running on a Mac with OS X 10.9.4
On charging up and running application I get the following error:-
Notice: Undefined index: HTTPS in /Applications/mampstack-5.4.26-0/apps/cmsmadesimple/htdocs/config.php on line 13
This is the offending line:
if ($_SERVER['HTTPS'] == 'on') {
$config['root_url'] = 'https://' . $_SERVER['HTTP_HOST'] . '/cmsmadesimple';
} else {
$config['root_url'] = 'http://' . $_SERVER['HTTP_HOST'] . '/cmsmadesimple';
}
Being brand new at this any help would be appreciated
Brian
[SOLVED} New install problem
[SOLVED} New install problem
Last edited by cantass on Wed Sep 17, 2014 8:42 pm, edited 1 time in total.
Re: New install problem
This is a notice, not an error, and (in this case) won't affect CMSMS in any way. You may need to change the error level of your server so that it doesn't display notices or warnings.cantass wrote:On charging up and running application I get the following error:-
Notice: Undefined index: HTTPS in /Applications/mampstack-5.4.26-0/apps/cmsmadesimple/htdocs/config.php on line 13
This line is not created by CMSMS normal install, and it shouldn't be needed at all, however if it is needed, a quick fix may eventually be this (note the @):cantass wrote:This is the offending line:
if ($_SERVER['HTTPS'] == 'on') {
$config['root_url'] = 'https://' . $_SERVER['HTTP_HOST'] . '/cmsmadesimple';
} else {
$config['root_url'] = 'http://' . $_SERVER['HTTP_HOST'] . '/cmsmadesimple';
}
Code: Select all
if (@$_SERVER['HTTPS'] == 'on') {
$config['root_url'] = 'https://' . $_SERVER['HTTP_HOST'] . '/cmsmadesimple';
} else {
$config['root_url'] = 'http://' . $_SERVER['HTTP_HOST'] . '/cmsmadesimple';
}
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: New install problem
Thanks for the prompt response. I do not understand why this is not a normal CMSMS install (unless it is due to it being downloaded from Bitnami) as I have only just installed it.
Not the less, thanks for your help.
Brian
Not the less, thanks for your help.
Brian
Re: [SOLVED} New install problem
I never tried Bitnami myself, but a stock install of CMSMS would create a config.php similar to this one:cantass wrote:I do not understand why this is not a normal CMSMS install (unless it is due to it being downloaded from Bitnami) as I have only just installed it.
Code: Select all
$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'hostname';
$config['db_username'] = '***************';
$config['db_password'] = '***************';
$config['db_name'] = 'dbname';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'Europe/Lisbon';
Note: I also recommend to read the reference pdf that comes with CMSMS and which can be usually found on: <root_of_cmsms>/doc/CMSMS_config_reference.pdf
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!