[SOLVED] problems after installing
[SOLVED] problems after installing
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.
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.
Re: problems after installing
Very strange. Seems hosting specific. Please provide more hosting details and elaborate on the install procedure.
Pierre M.
Pierre M.
Re: problems after installing
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.
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.
Re: problems after installing
If your config.php file is blank, I would try the install again.
Nullig
Nullig
Re: problems after installing
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.
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.
Re: problems after installing
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...
Re: problems after installing
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.
Now I am trying to know how to make new templates work fine with menus and that kind of things.
Any ideas...?
Thanks again.
Re: problems after installing
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
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

Re: problems after installing
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...
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...
Re: problems after installing
Please [solved] http://forum.cmsmadesimple.org/index.ph ... 692.0.htmlJosemsaez 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.
and start another thread in the appropriate forum.
(It lessen the administrative forum tasks of separating then moving your posts)
Pierre M.