Forum Home
Press F1
 
Thread ID: 91354 2008-07-04 01:24:00 Installing Silverstripe noelevans (10557) Press F1
Post ID Timestamp Content User
685172 2008-07-04 01:24:00 I encountered this problem while trying to install SilverStripe as per the July issue (pages 84-85).

I have successfully installed Wamp, and PHP, MySQL, and Apache and the gauge in the taskbar shows white (OK).

When I select Silverstripe-2.2.2 the screen showed the following:
"These database details don't appear to be correct. Please enter the correct details before installing".
MySQL Server shows localhost
MySQL username showed root - I tried adding (variously) my name, the computer's name, each with a password then re-checked requirements, but still have the above message.

Under Requirements
GD2 support shows in red on both sides of the table. (I'm assuming red means a critical error). Under PHP extensions PHP_GD2 is ticked.
MySQL support shows 'MySQL support not included in PHP.' (again in red)

'Check that the php.ini setting allow_call_time_pass_reference is on' shows in orange, but I had already set this to on in php.ini.

I get messages in orange regarding the following files:
Is the .htaccess file writeable?
Is the mysite/ folder writeable?
Is the tutorial/ folder writeable?
Is the assets/ folder writeable?
When I looked at these folders and right-clicked for properties, their read-only field appears marked with a greyed-out tick. I tried removing these and applying and saving, but this did not change the Silverstripe installation when I tried to continue. When I again re-checked the folders the greyed-out ticks
had re-appeared.

Sorry for the long post, but can anyone help me past these errors?

Thanks
Noel
noelevans (10557)
685173 2008-07-04 01:27:00 Aren't you better to install it on a web hosting server? robbyp (2751)
685174 2008-07-04 02:11:00 Robbyp

In the latest PCWorld (july 08), it steps people through installing the wamp server and then installing Silverstripe to run on it, which will be why the original poster is doing it that way
Morgenmuffel (187)
685175 2008-07-04 02:25:00 Hey Noel

You have actually dragged (copied) the silverstripe directory from the pcworld DVD into the www directory of the wamp server thingie on your computer?
Morgenmuffel (187)
685176 2008-07-04 02:35:00 Hi Nigel
Yes. It sits under c:\wamp\www\(as)silverstripe-v2.2.2

Thanks for your prompt reply.
noelevans (10557)
685177 2008-07-04 02:36:00 Aren't you better to install it on a web hosting server?

I content manage 2 php websites, and am interested about learning about Silverstripe as a possible replacement for the somewhat un-user-friendly system that I presently use.
noelevans (10557)
685178 2008-07-04 03:00:00 'Check that the php.ini setting allow_call_time_pass_reference is on' shows in orange, but I had already set this to on in php.ini.
I also set this to on, and it made no difference
I stopped all the services, then restarted them, still no difference,

Do the same as you did to turn the mod_rewrite thingie on on, except select PHP -> PHP setting -> and found allowc_call_time_pass_reference and clicked on it and that section of orange dissappeared


as for the database stuff i left it as the default

Unfortunatly i am getting errors myself now when i try and install silver stripe

possibly related to the other orange sections which i can't seem to solve, i have selected the directories and removed the read-only check (caused no doubt by being on a cd)
Morgenmuffel (187)
685179 2008-07-04 03:12:00 Well i seem to be getting a little further, after pressing the install silverstripe



If you receive a fatal error, refresh this page to continue the installation
Creating 'mysite/_config.php'...
Creating C:\wamp\www\silverstripe-v2.2.2/mysite/_config.php
Creating '.htaccess' file...
Creating C:\wamp\www\silverstripe-v2.2.2/.htaccess
Building database schema...
Checking mod_rewrite works
localhost Rewrite is DirectorySlash Off RewriteEngine On RewriteBase /silverstripe-v2.2.2 RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* C:/wamp/www//sapphire/main.php?url=%1&%{QUERY_STRING} [L] Creating C:\wamp\www\silverstripe-v2.2.2/.htaccess localhost
ERROR: mod_rewrite not working, redirecting to mod_rewrite test page
Creating C:\wamp\www\silverstripe-v2.2.2/.htaccess I will now try and direct you to rewritetest (localhost) to troubleshoot mod_rewrite


then goes to this page





Warning: file_get_contents(localhost) [function.file-get-contents (localhost)]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\wamp\www\silverstripe-v2.2.2\rewritetest.php on line 47



unfortunately this is the error i get every damn time and yes the 'rewrite_module is ticked'
Morgenmuffel (187)
685180 2008-07-04 03:18:00 Ah, thanks for the heads up.

I admittedly haven't been getting the mag for a good while now but this sounds interesting so I'll buy this month's PC World and help out here. I've installed Silverstripe a couple of times in the last year or so to test out so if there's still any problems in this thread when I get home I'll see if I can help.
sal (67)
685181 2008-07-04 03:24:00 If installing is continuing to be an issue, you can play with a demo version online here: opensourcecms.com somebody (208)
1 2 3