[SOLVED] What code should be in config.php file?

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
chipper_001
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 12, 2009 11:29 am

[SOLVED] What code should be in config.php file?

Post by chipper_001 »

I'm having problems with images, none of my images are being uploaded, there is nothing in my 'image manager' not even the cmsms pre-loaded ones, reading the following article below,

http://wiki.cmsmadesimple.org/index.php ... ith_PHP.3F

...it says  "The Image Manager lets you upload and browse the images on your server. That is all images that are in the folder (and its sub-folders) that you have set to be the image upload folder in config.php. Usually this is uploads/images/."

My config.php is empty there is nothing in it! I don't understand what I need to write in this file so my images can be uploaded, please can someone tell me what code needs to go in here?

many thanks
Last edited by chipper_001 on Wed Jan 14, 2009 9:03 am, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: What code should be in config.php file?

Post by RonnyK »

The config.php in the root of your install is filled with the install-process. So check your root, if indeed the file is there and is filled. As, when no filled config.php is found. CMSMS will start the installation-process, so unless the installer is started again, the file is filled....

Ronny
chipper_001
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 12, 2009 11:29 am

[SOLVED] Re: What code should be in config.php file?

Post by chipper_001 »

That's great many thanks, have found the file and see that its been filled, thank you
Post Reply

Return to “Developers Discussion”