Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

I have some questions


Go to End


3 Posts   1854 Views

Avatar
haiduong87

Community Member, 2 Posts

3 October 2010 at 5:02am

Edited: 03/10/2010 5:12am

1. I've download this silverstripe package from http://silverstripe.org/stable-download/ (http://silverstripe.org/assets/downloads/SilverStripe-v2.4.2.tar.gz). Is this right with this package (please take a loot at the first attached image)?
1.1 If I use this package to install, I will get this error:
File permissions 2 Failed and 0 Warnings
+ mysite/ folder exists? There's no mysite folder. (file 'D:\wamp\www\silverstripe2\mysite' not found)
+ Is the mysite/_config.php file writeable? The webserver user needs to be able to write to this file:"D:\wamp\www\silverstripe2\mysite\_config.php"
1.2 If I create "mysite" folder, I will get this error:
"Fatal error: Class 'Page' not found in D:\wamp\www\silverstripe2\sapphire\core\model\VirtualPage.php on line 8" (second attached image)

2. My friend told me that's something was wrong with my downloaded package, he sent me his package. As you see the folders in his package are different with mine (third attached image)
2.1 And If I use his package to install. I can install successfully, but after a few seconds (to redirect to my site), I get this error (4th attached image)

Please help me. My OS is windows 7 32 bit, I'm using lastest wampserver and I've enabled this "LoadModule rewrite_module modules/mod_rewrite.so"

Attached Files
Avatar
Willr

Forum Moderator, 5523 Posts

3 October 2010 at 10:15am

Hi haiduong87, Welcome to the forums.

Regarding your first image (http://silverstripe.org/assets/Uploads/question1.jpg) that appears it extracted incorrectly as it is missing the mysite folder. The stable download should contain mysite which contains the _config file and the default Page.php file. That would be why his package worked. Not sure how you got that incorrect one.

The template issue (http://silverstripe.org/assets/Uploads/question21.png). For some reason the application cannot find the template files so check the permissions on that file to make sure your webserver can read the files and reload the page with a ?flush=all on the end of the url.

Avatar
haiduong87

Community Member, 2 Posts

3 October 2010 at 2:26pm

Hi Willr.

Thank you very much. I installed successfully. The first problem caused by using Winrar to unzip the package.