Get red errors at top when filling in first screen

Permalink 1 user found helpful
Please specify your site's name
Please specify a valid email address
You must specify a valid database name
You must specify a valid database server
I made the DB and gave it a name?? ran it according to instructions?? Im stuck have tried with many versions on many WAMP server setups,, can someone tell me where I am going wrong??

 
JohntheFish replied on at Permalink Reply
JohntheFish
Assuming you actually entered the data that is being complained about during the initial C5 setup page, a few things to have a look at:

Check that config/site.php is writeable.

Look in config/site.php and see if your database details have been saved there.

Run the mySql console and check the database exists.

View the mySql log.

Look at the Windows task manager and confirm apache and mysql are there.
pskipton replied on at Permalink Reply
it didnt even make or does not have a config/site.php? im in windows server 2003 32 bit.
pskipton replied on at Permalink Reply
I tried again following the exact directions for install with WAMP and concrete5, all goes well untill I try to put the data inhttp://localhost/concrete then I still get what I stated above, nothing works.
JohntheFish replied on at Permalink Reply
JohntheFish
You need to break your problem searching down into parts and be systematic. Just installing everything and than noting that it doesn't work is unlikely to solve it.

Have you run any simple php programs like 'hello world' or phpinfo to test that WAMP is working before trying to run C5?

Have you run the mysql console and confirmed that mysql is running?

Have you looked at the mysql log file? Are there any error reports in in?

Have you looked at the windows task manager and seen that the apache and mysql tasks are running?

Have you looked in the apache log file and seen that it is serving C5 pages (or any other pages)?


When you first run Concrete 5, you should get a page asking you to input all the details you have listed above. You input the details on the form, enter, and Concrete 5 then displays a home page with some sample content.

Have you been through that page and entered the details?

Does the path/file config/site.php exist?
pskipton replied on at Permalink Reply
Just tried it onother machine.. exactly the same result?????

Same thing no errors anywhere, the file you asked about does not exist there, and I input the things it wants and it just returns that it wants me to put them in and returns to that screen,, tried it on a windows server 2003 32 bit and an xp pro machine???

PHP is working
Logs show no errors
wamp services all running
DBase is running
serves localy untill I hit the C5 screen and fill it out then poof problems?
JohntheFish replied on at Permalink Reply
JohntheFish
First, lets make sure WAMP is working. Forget about C5 for a few minutes.

Can you get a simple 'hello world' php page to display?

Put this in a file called hello.php in you web root, then enter
localhost/hello.php in the browser address bar.

<?php 
echo "Hello World!";
?>


Next, edit the file to be:
<?php
phpinfo();
?>


This will spew out all sorts of diagnostics, including telling you if it can find mysql.
pskipton replied on at Permalink Reply
All that works..
pskipton replied on at Permalink Reply
Used this and connection to DB is ok

<?php
$link = mysql_connect('localhost','root','');
if (!$link) {
die('Could not connect to MySQL: ' . mysql_error());
}
echo 'Connection OK'; mysql_close($link);
?>
JohntheFish replied on at Permalink Reply
JohntheFish
Looking at some of your later edits about filling out the first C5 screen above, perhaps the C5 config folder is not writeable.

From your C5 root, there should be a folder called 'config/'
In this, C5 should create the file 'config/site.php' in order to save the database info you are entering (and that C5 is complaining about).

Has this file been created?
Is the folder config/ writable?
pskipton replied on at Permalink Reply
No its not making that file, it is writable from what I see in the permissions on the folder from windows.
pskipton replied on at Permalink Reply
whats a sample file look like? maybe I can create it
Guess not without it creating the database hmmmm
jleahy replied on at Permalink Reply 1 Attachment
Having the same difficult with this as well.
Instaling on IIS Win7 64-bit.
All permissions ok, I created the db, PHP working, etc.
Filled out the setup form and got the same prompts that the form was not filled out.
Same error in Firefox and IE.
config/site.php not created, database not filled.
Of note:
The submit button is not acting like a button (mouse cursor does not become a hand. Applicable?)
LilaLola replied on at Permalink Reply
LilaLola
Hi - I am experiencing the same issue...
LilaLola replied on at Permalink Reply
LilaLola
Hi:

Where exactly do I put the hello.php file?

I'm running it from a XAMPP and get this error after putting the hello.php in the xampp folder. I also tried it from the php folder, stopped and started all services...

Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
Error 404
localhost
12/17/2011 3:48:34 PM
Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1
JohntheFish replied on at Permalink Reply
JohntheFish
The error message shows that at least apache is running.

To run the test, hello.php should be in the same folder as concrete 5's index.php.

You then go to the web page
http://localhost/hello.php

of for C5
http://localhost/

The reason for the test: If you can't get hello.php to run, then the problem is with the xamp installation or the way you are using it, so you could ask on some xamp or php forums. If it does run, then you can run the phpinfo code to get a whole load of php diagnostics and environment info.
LilaLola replied on at Permalink Reply
LilaLola
Thank you, John for your fast response :)

I can't get it to run with the hello.php in the correct folder. As per your suggestion I will uninstall XAMP and start over, perhaps I can find a XAMP Lite version.

LL
pskipton replied on at Permalink Reply
I actualy went back to IIS and a dbase program, I could not get the other to work properly.
LilaLola replied on at Permalink Reply
LilaLola
Thanks for the info, pskipton :)
I'll start from scratch... *sigh*
I will keep everyone posted.