Missing Site.php

Permalink
Hello! I'm trying to evaluate Concrete5 for possible use.

To get started quickly, I downloaded WampServer2.0i on my Vista laptop. I setup a database in MySql for C5 to use.

I copied all the files into the www folder and hit the localhost. All the tests checked out, so I put in the MySql info and hit it.

All the tables were created just fine, but the main page of C5 wouldn't display. Instead this message appeared:

Notice: Undefined variable: dsn in C:\wamp\www\concrete\libraries\loader.php on line 135

I found on another post with something about the site.php file and when I went to check it, it wasn't there.

What should be in the site.php file? If I can get a template of sorts, I can fill it in.

Thanks!

Darkwater23
 
Darkwater23 replied on at Permalink Reply
Darkwater23
I set the folder permissions on the www folder to Everyone / Full Control. I dropped the Concrete5 database and recreated the user and database in MySql. When I re-run the install, I get:

Deprecated: Function eregi() is deprecated in C:\wamp\www\concrete\helpers\validation\strings.php on line 31

Warning: get_class() expects parameter 1 to be object, null given in C:\wamp\www\concrete\blocks\autonav\controller.php on line 189

Fatal error: Call to a member function add() on a non-object in C:\wamp\www\concrete\models\collection.php on line 418

Anyone have any suggestions? I'd really like to evaluate this for use. I've looked at the online eval, but I'd like a working local copy so I can experiment with themes, etc.
marius replied on at Permalink Reply
marius
Hi

Sorry i can't help you with the errors you writen. But you have Vista - why you don't us IIS for your tests? Maybe it's a wamp problem? I have a test C5 installation on IIS - W2k8 Server - running with no problems.

Greez

marius
Darkwater23 replied on at Permalink Reply
Darkwater23
I was operating under the impression that Apache was the "preferred" way to run it, so I downloaded Wamp.

I'll try setting up a Virtual PC image using IIS, PHP and MySql and see what happens. If you have any guidance on setup, I'd appreciate it.

Thanks!
marius replied on at Permalink Reply
marius
Hi

IIS 7.0 is good. Why preferred? It's the 08/15 opinion microsoft products are bad. You can find installation manuals here:http://php.iis.net/ or many when you use google :) Or ask here ;)
Darkwater23 replied on at Permalink Reply
Darkwater23
Using our base Windows Server image, I installed PHP, MySQL and MySQL GUI Tools. I created the catalog and user for MySQL and then ran the Concrete5 install. It failed at first, due to folder security. I just dropped all the tables it made and then updated the security. Since this is just for me to dev on, I set Everyone / Full Control. The install worked fine and I'm up and running!
marius replied on at Permalink Reply
marius
Everyone is not so good - but it's only a test system right?

You can also use the IUSR Group (W2k8) or User in W2k3 and give only read permissions.

In IIS7 (w2k8) you must also set the physical path Credentials (menu Advanced Settings)

You see it works ;)
Darkwater23 replied on at Permalink Reply
Darkwater23
It is absolutely a test system. I only wanted to evaluate it and I needed to get under the hood quickly. We're bidding on a web site project and the design company wants to use Concrete5. I wanted to make sure I could talk intelligently about it! LOL

As for permissions, does the IUSR User need Read/Write during install and then switch it to read only?
marius replied on at Permalink Reply
marius
On the Root i have only Read permissions. But the Folder /files have write permission.
Darkwater23 replied on at Permalink Reply
Darkwater23
Btw, I updated the permissions today as you recommended and everything is still working fine. Thanks for the input!