17488 Posts in 4473 Topics by 1978 members
|Go to End|
24 January 2007 at 1:53pm
Trying to install on Fedora Core 5 server running apache 2.2.2, php 5.1.6, mysql 5.0.27. GD and mbstrings are installed. Unpacked into a folder under /var/www/html and group set to apache.
The installer gives me lots of php notices as shown by sample below. Under the notices is the html page that i was expecting to see.
*Notice*: Use of undefined constant mysql - assumed 'mysql' in
*/var/www/html/silverstripe/install.php* on line *11*
*Notice*: Use of undefined constant SCRIPT_FILENAME - assumed
'SCRIPT_FILENAME' in */var/www/html/silverstripe/install.php* on line *395*
*Notice*: Undefined offset: 3 in
*/var/www/html/silverstripe/install.php* on line *405*
<!--many lines snipped-->
The mysql boxes show <br> tabs in the text boxes, but will install the database if I put appropriate setting in the boxes .
Install appears to complete, but then says there is no "sucessinstall.php" file.
Why is there a check for a variable "mysql" very early in install.php? My phpinfo() does not show such a variable and I have never seen it before. Is it intended to check that mysql is installed?
Are these php5 problems and the installer has been set for php4?
Core Development Team
24 January 2007 at 4:01pm
A quick solution to fix the many 'Notice' errors you're receiving is to turn off E_NOTICE warning-level messages in PHP. All of the error messages you're seeing are caused by things you can safely ignore. They'll be fixed in the next release of the installer, but until then, open up install.php and add the following line just after the first line (<?):
error_reporting(E_ALL ^ E_NOTICE);
The other errors (<br /> tags in input boxes) will also be fixed in the next release. Thanks for reporting them.
25 January 2007 at 9:54am
Unfortunately I am still not able to install. The installer runs, and then tries to access "[BASE_DIR]/home/successfullyinstalled". However the installer has not generated this file. I have done a global search to see if it has been put somewhere else, but have not been able to find it. I have also set [BASE_DIR] and subdirectory permissions to owner=apache and group=apache to ensure that the webserver will not have any problems writing files.
The database appears to have been correctly written.
25 January 2007 at 11:15am
The system isn't supposed to generate a file called home/successfullyinstalled.
Instead, it adds a rewrite rule to a .htaccess file that points all unrecognised URLs to sapphire/main.php?url=XXX
SilverStripe manages the site's URLs itself.
It's possible that the .htaccess file isn't being correctly interpreted by Apache. Do you have mod_rewrite included, and is your server configured to allow RewriteRule and RewriteEngine in .htaccess files?
25 January 2007 at 12:14pm
I have not used local .htaccess files on my server before, so had to install an AllowOverride directive in httpd.conf for this site. I am now able to access the home page.
Now on to the next stage
5 February 2007 at 11:28pm
I am continuing to have problems with this CMS. I have successfully installed v2.0 beta, but cannot get v2.0 to install. I have now tried to put the cms live on my webserver. I am using a name-based virtual server and everything else works.
I am getting error messages from the server suggesting that I increase the value of LimitInternalRecursion. I increased to 100 and still getting the same error.
I have installed Silverstripe in a subfolder under /var/www/html/ eg /var/www/html/client
my httpd.conf has the following
My DNS server is set up correctly
I then get a 500 Internal Server Error
The webserver log says "Request exceeded the limit of x internal redirects due to probable configuration error. Use "LimitInternalRecursion" to increase the limit if necessary.
Help! I am getting very frustrated with this CMS!
7 February 2007 at 8:57am
From the sounds of things, something has caused the redirection system to get stuck in an infinite loop. Is your site up and running on a server where I can see it?
If you could email the URL and the username and password of the CMS administration to firstname.lastname@example.org, I'll take a look at it.
7 February 2007 at 12:21pm Last edited: 7 February 2007 12:22pm
For others following this discussion,
my .htaccess had a
RewriteRule .* /client/sapphire/main.php..........
We changed this to
RewriteRule .* /sapphire/main.php......
and it now works fine.
|Go to Top|