News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

configuration.php writeable?

Started by jazz, July 02, 2005, 04:18:22 AM

Previous topic - Next topic

jazz

Where do I find this file to make it writeable?  Is this something that has to be done from the server?  If so, where do I place that code that the installer places at the end of the installation?

[Unknown]

How do I use chmod?

I'm guessing, but this is probably it.

-[Unknown]

xenovanis

#2
Actually, Mambo has this tendency to take over the filepermissions, so as a user you can't change it with chmod.

I suggest you download and install the MamboXplorer Component and use that to change the permissions.

edit: oops, wrong link  :)
"Insanity: doing the same thing over and over again and expecting different results."

jazz

Actually I can't even get that far.  During the install, it says that config.php is not writeable.  I can't even find that file to make it writeable.  At the end of the installation, it says that the installation is completed.  It then tells me to delete the installation directory and that my configuration file or directory is not writeable and I'll have to upload the following code by hand.
<?php
$mosConfig_offline 
'0';
$mosConfig_host 'localhost';
$mosConfig_user 'carmmcom_carmenr';
$mosConfig_password 'ep8k7a';
$mosConfig_db 'carmmcom_mambo';
$mosConfig_dbprefix 'mos_';
$mosConfig_lang 'english';
$mosConfig_absolute_path '/home/carmmcom/public_html/mambo';
$mosConfig_live_site 'http://www.carmenrasmusen.com/mambo';
$mosConfig_sitename 'test site';
$mosConfig_shownoauth '0';
$mosConfig_useractivation '1';
$mosConfig_uniquemail '1';
$mosConfig_offline_message 'This site is down for maintenance.<br /> Please check back again soon.';
$mosConfig_error_message 'This site is temporarily unavailable.<br /> Please notify the System Administrator';
$mosConfig_debug '0';
$mosConfig_lifetime '900';
$mosConfig_MetaDesc 'Mambo - the dynamic portal engine and content management system';
$mosConfig_MetaKeys 'mambo, Mambo';
$mosConfig_MetaTitle '1';
$mosConfig_MetaAuthor '1';
$mosConfig_locale 'en_GB';
$mosConfig_offset '0';
$mosConfig_hideAuthor '0';
$mosConfig_hideCreateDate '0';
$mosConfig_hideModifyDate '0';
$mosConfig_hidePdf '0';
$mosConfig_hidePrint '0';
$mosConfig_hideEmail '0';
$mosConfig_enable_log_items '0';
$mosConfig_enable_log_searches '0';
$mosConfig_enable_stats '0';
$mosConfig_sef '0';
$mosConfig_vote '0';
$mosConfig_gzip '0';
$mosConfig_multipage_toc '1';
$mosConfig_allowUserRegistration '1';
$mosConfig_link_titles '0';
$mosConfig_error_reporting = -1;
$mosConfig_list_limit '10';
$mosConfig_caching '0';
$mosConfig_cachepath '/home/carmmcom/public_html/mambo/cache';
$mosConfig_cachetime '900';
$mosConfig_mailer 'mail';
$mosConfig_mailfrom '[email protected]';
$mosConfig_fromname 'test site';
$mosConfig_sendmail '/usr/sbin/sendmail';
$mosConfig_smtpauth '0';
$mosConfig_smtpuser '';
$mosConfig_smtppass '';
$mosConfig_smtphost 'localhost';
$mosConfig_back_button '1';
$mosConfig_item_navigation '1';
$mosConfig_secret '43OQWslnGdu6woRx';
$mosConfig_pagetitles '1';
$mosConfig_readmore '1';
$mosConfig_hits '1';
$mosConfig_icons '1';
$mosConfig_favicon 'favicon.ico';
$mosConfig_fileperms '';
$mosConfig_dirperms '';
$mosConfig_helpurl 'http://help.mamboserver.com';
$mosConfig_mbf_content '0';
setlocale (LC_TIME$mosConfig_locale);
?>


It doesn't say anything about where to place this code.

If I don't delete the installation directory, it takes me right back to the beginning of the installation.  If I do delete the installation directory I get a 404 error.

I'm in a loop, and I think it has something to do with the above code, and where to put it?  Or I need to find this configuration directory or file to make it writeable.

xenovanis

Ah, I see. You'll need to create a new php file, copy the code you posted in it and save it as configuration.php. Next, upload it to Mambo's root directory.
"Insanity: doing the same thing over and over again and expecting different results."

jazz


Advertisement: