Missing Site.php
PermalinkTo 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!
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
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!
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 ;)
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 ;)
As for permissions, does the IUSR User need Read/Write during install and then switch it to read only?
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.