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.

Installing SilverStripe

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

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

[noob in need] Admin panel issues


Reply

6 Posts   555 Views

Avatar
prox32

6 August 2012 at 1:17pm Community Member, 3 Posts

OK my first time working closely with a php based CMS or any CMS really, apart from word press lol. Basically after the first time I installed, the admin/password didn't work so I reinstalled (deleted _config), but now after carefully keeping watch for what I set as admin/pass i installed again, however when I try to log in the form loads for a minute and then refreshes to blank.

I tried the _config trick for coding in the user/pass and same result. Any help?

Avatar
peterupaulo

6 August 2012 at 2:12pm Community Member, 5 Posts

Hello,

try adding Director::set_environment_type("dev"); to your _config.php file to see if there are errors in your setup.

Avatar
prox32

7 August 2012 at 5:50am (Last edited: 7 August 2012 5:52am), Community Member, 3 Posts

[Warning] Unknown: open(/var/php_sessions/sess_e52fca7f6b1a53d35e9bf6103c772fca, O_RDWR) failed: No such file or directory (2)
GET /
Line 0 in Unknown

That's what I got when I added that line.

no idea what it means though lol.

And this when I try to log in...

[Warning] Unknown: open(/var/php_sessions/sess_e52fca7f6b1a53d35e9bf6103c772fca, O_RDWR) failed: No such file or directory (2)
GET /Security/login
Line 0 in Unknown

Avatar
jak

7 August 2012 at 7:25am Community Member, 46 Posts

Weird, looks like a problem with sessions. Check the permissions for the folder /var/php_sessions. Are you running on a root server?

Seems like the PHP cannot store its session data.

Avatar
prox32

8 August 2012 at 6:48am (Last edited: 8 August 2012 6:50am), Community Member, 3 Posts

I am running on my own domain on an ipage server, but this thing just will not cooperate, what am I looking for in that file??

Ah re-read the message lol, will do!

Update: Cant see that file/folder anywhere, is this the problem??

Avatar
jak

8 August 2012 at 8:49am Community Member, 46 Posts

I guess that's a shared hoster, in that case php should already be properly configured. If you can create the folder it is worth a try, but I guess the problem is something else.