[Solved]Config file in 1.10 different ?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

[Solved]Config file in 1.10 different ?

Post by jasnick »

Just installed latest version 1.10 on new site.

Tried to change my admin dir name and I have no $config['admin_dir'] = 'admin'; in the config file.

Do I add it or does one change the name of the admin directory elsewhere?

Thanks

This is the config file I have:

<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = '*******';
$config['db_password'] = '*******';
$config['db_name'] = '*******';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 0;
$config['root_url'] = 'http://sitename.com';
$config['timezone'] = 'UTC';
$config['default_encoding'] = 'utf-8';
?>

Is this complete?
From Sys Inf: Config Information:

php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 128000000
default_upload_permission: 664
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

I can see that there is no mod-rewrite.

How can I obtain a correct config file? I downloaded a backup from Softaculous and the config file is the same as the one currently in use.
Last edited by jasnick on Fri Oct 28, 2011 11:02 pm, edited 2 times in total.
uniqu3

Re: Config file in 1.10 different ?

Post by uniqu3 »

Look in /doc folder there is a PDF that explains all config possibilities.
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: Config file in 1.10 different ?

Post by jasnick »

Yes I already found that but don't know how to apply it to my situation.

As it was a new fresh install (not an upgrade) I don't know how I got a config file that seems to be missing a few things.

Thanks
Last edited by jasnick on Fri Oct 28, 2011 11:47 am, edited 1 time in total.
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: Config file in 1.10 different ?

Post by jasnick »

Thanks Rolf :-[
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Config file in 1.10 different ?

Post by Dr.CSS »

It seems like it is missing things but it is just trimmed down, all the ones not there are set to default, if you want to change one that isn't there look in the PDF for the correct line and copy/paste it into your config file then make the change from default that you want/need...

Default Value: $config['root_url'].'/'.$config['admin_dir']
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: Config file in 1.10 different ?

Post by jasnick »

Thanks Dr.CSS - yes, I will check a config file from another site that is OK and use that as a guide..
Post Reply

Return to “CMSMS Core”