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

[solved] Class Page not found during installation


Go to End


7 Posts   1547 Views

Avatar
msawebdev

Community Member, 15 Posts

26 June 2014 at 4:39pm

I am installing SilverStripe 3.1.3 onto a new Red Hat Linux (v6) server and cannot get the install process to complete. The process stops at:
Setting up 'mysite/_config.php'...
Setting up /var/www/html/documentportal/mysite/_config.php
Setting up '.htaccess' file...
Setting up /var/www/html/documentportal/.htaccess
Building database schema...
Creating default CMS admin account...
Creating initial filesystem assets...
Fatal error: Class 'Page' not found in /var/www/html/documentportal/cms/code/model/ErrorPage.php on line 14

Anyone out there who can point me in the right direction here

Avatar
Devlin

Community Member, 344 Posts

26 June 2014 at 7:44pm

Class Page should be in mysite/code/Page.php. Is there a chance you removed it?

Avatar
msawebdev

Community Member, 15 Posts

27 June 2014 at 3:57pm

Thanks for the reply Devlin.

No the Page.php is there.

real mystery

Avatar
camfindlay

Forum Moderator, 267 Posts

27 June 2014 at 4:19pm

How about permissions on the server?

Avatar
msawebdev

Community Member, 15 Posts

27 June 2014 at 4:46pm

thanks camfindlay,

Thought Id chmod the entire mysite dir to 777 and it sort of worked. Must ensure I revinstate the correct permissions before I do anything else.

They were at 775.

Now to attack the next bug.

Avatar
camfindlay

Forum Moderator, 267 Posts

27 June 2014 at 5:03pm

kool so did that fix the problem mentioned here?

Avatar
msawebdev

Community Member, 15 Posts

30 June 2014 at 11:55am

Thanks for the suggestions and help guys. Looks like it may have fixed it. Still some bugs but nothing I cant deal with.

I have a feeling the company who setup the Red Hat server may have missed the fact that we actually need to use it. the var/www/html folder was initially locked down (permissions) and we couldn't even get the files there to install.

Its been a bit of a mess really. Even though we provided them the requirements they completely ignored the requirements for SS. Been way too long since I have needed to deal with Linux so am very rusty. Constantly getting DOH moments.