[SOLVED] problems after installing

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.
Locked
Josemsaez

[SOLVED] problems after installing

Post by Josemsaez »

Hi!

I have just made a "succesfull installation", but when I try to open my site I get a white page saying "There is no config.php file or install/index.php please correct one these errors!"

The config.php file is there but it is blank.

I gave it permissions 666 when I uploaded a blank config.php file, and later when installation was succesfully finished I changed it to 444 as set up instructions reccomend.

What can be causing this and how can I solve it?

Thanks a lot.
Last edited by Josemsaez on Tue May 20, 2008 2:20 pm, edited 1 time in total.
Pierre M.

Re: problems after installing

Post by Pierre M. »

Very strange. Seems hosting specific. Please provide more hosting details and elaborate on the install procedure.

Pierre M.
Josemsaez

Re: problems after installing

Post by Josemsaez »

What kind of details do you need? mi ISP is godaddy.
Josemsaez

Re: problems after installing

Post by Josemsaez »

ok, thank you for the link Pierre.

I am using cms 1.2.5, php 5, Mysql 4.1 (but I choosed Mysql instead of Mysql 4.1+, I don't know if that could be the problem), in a Linux server. I transfered everything by FTP, but it didn't gave me any error.

The installation went OK.

When I try to log in to the control panel in http://www.mydomain.com/admin/ I get also this error:

Database Connection Failed
Error: Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) (2002)
Function Performed: CONNECT
Host/DB: localhost/cms
Database Type: mysql

As I told you I installed the 1.2.5 cmsmadesimple system following the instructions in http://wiki.cmsmadesimple.org/index.php ... ck_Install

Everything went ok but when I arrived to step 13 where it says "Go to your site and read the first page carefully." I could not continue because I get the error "There is no config.php file or install/index.php please correct one these errors!"

I hope that now you have data enough but if you need to know something else, please let me know.

Should I have to reinstall everything again?

Thank you.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: problems after installing

Post by Nullig »

If your config.php file is blank, I would try the install again.

Nullig
Josemsaez

Re: problems after installing

Post by Josemsaez »

OK,


Then Do I have to delete the database and upload again all the directories, or should it be enough if I upload only the install directory and then http://www.misite.com/install/index.php ?

Thank you.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: problems after installing

Post by Dr.CSS »

You shouldn't need to re upload just run install again, and make sure you have a config.php file with chmod set to 666...
Josemsaez

Re: problems after installing

Post by Josemsaez »

Thanks a lot everybody. I could solve it. Now it works fine.

Now I am trying to know how to make new templates work fine with menus and that kind of things.

Any ideas...?

Thanks again.
Traill
Forum Members
Forum Members
Posts: 25
Joined: Sat Jul 07, 2007 2:22 pm

Re: problems after installing

Post by Traill »

That's the bit that takes time! Designing and modifying the menus and creating a template with a stylesheet that suits you...

My suggestion is to devote an evening playing with the default templates - try editing pages, assigning different templates to them and so forth, and see what you get :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: problems after installing

Post by Dr.CSS »

For menus, depending on the type, like default install left menu with the child pages not shown till parent is clicked or flyout like CSS Menu horiz. or left/right hand...

If you are using an existing template, not a CMSMS default, look at the menu structure, how is it wrapped what is used for certain parts like current page, second levels etc. then you would, according to how it works (open on parent click or fly out) import one of the DB menu templates and change it to what you need or change the CSS of the menu from your new template to work with the IDs/classes of an existing/default menu template...
Pierre M.

Re: problems after installing

Post by Pierre M. »

Josemsaez wrote: (...)I could solve it. Now it works fine.

Now I am trying to know how to make new templates work fine with menus and that kind of things.
Please [solved] http://forum.cmsmadesimple.org/index.ph ... 692.0.html
and start another thread in the appropriate forum.
(It lessen the administrative forum tasks of separating then moving your posts)

Pierre M.
Josemsaez

Re: [SOLVED] problems after installing

Post by Josemsaez »

Done.

Thank you.
Locked

Return to “CMSMS Core”