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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Losing Admin Error **SOLVED**


Reply

15 Posts   2040 Views

Avatar
ambient

1 September 2011 at 1:39am Community Member, 123 Posts

Hi Swaiba,

Sorry, I'm not sure what you mean by a lot of members. Could you explain it for me. I have the dumb today :)

Avatar
swaiba

1 September 2011 at 1:41am (Last edited: 1 September 2011 1:42am), Forum Moderator, 1796 Posts

Member = person who can "log in" to silverstripe would be listed under "Security" section of the admin system

Avatar
ambient

1 September 2011 at 1:51am Community Member, 123 Posts

I've only got 3 members, 1 admin and 2 content authors

Could it have anything to do with my config or htaccess files?

these other warnings have popped up in the meantime

Wed Aug 31 14:37:12 2011] [info] Loading certificate & private key of SSL-aware server
[Wed Aug 31 14:37:12 2011] [info] Loading certificate & private key of SSL-aware server
[Wed Aug 31 14:37:12 2011] [info] Configuring server for SSL protocol
[Wed Aug 31 14:37:12 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Aug 31 14:37:12 2011] [warn] RSA server certificate CommonName (CN) `plesk.com' does NOT match server name!?
[Wed Aug 31 14:37:12 2011] [info] Configuring server for SSL protocol
[Wed Aug 31 14:37:12 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Aug 31 14:37:12 2011] [warn] RSA server certificate CommonName (CN) `plesk.com' does NOT match server name!?
[Wed Aug 31 14:42:17 2011] [info] Loading certificate & private key of SSL-aware server
[Wed Aug 31 14:42:17 2011] [info] Loading certificate & private key of SSL-aware server
[Wed Aug 31 14:42:17 2011] [info] Configuring server for SSL protocol
[Wed Aug 31 14:42:17 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Aug 31 14:42:17 2011] [warn] RSA server certificate CommonName (CN) `plesk.com' does NOT match server name!?
[Wed Aug 31 14:42:17 2011] [info] Configuring server for SSL protocol
[Wed Aug 31 14:42:17 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Aug 31 14:42:17 2011] [warn] RSA server certificate CommonName (CN) `plesk.com' does NOT match server name!?

Avatar
swaiba

1 September 2011 at 2:02am Forum Moderator, 1796 Posts

not members then!

I couldn't tell what is causing the memory problems
you now have 3 options...

1)contact your host and hope they are helpful

2)debug the code yourself - if you find it AND you have a recent version of PHP you can recover the situation - http://www.silverstripe.org/general-questions/show/16988

3)wait for the next forum member to help you out

best of luck to you!

Avatar
ambient

1 September 2011 at 2:39am Community Member, 123 Posts

I'll give option 1 a shot and hope option 3 is a goer cause I wouldn't know where to start with option 2 :)

Thanks Swaiba

Avatar
martimiz

1 September 2011 at 3:54am Forum Moderator, 1091 Posts

Just curious about the http://www.mysite.com/Preview/admin?flush=1 link I see in your post. You really should never have to use ?flush=1 from the admin section, since it rebuilds the SilverStripe cache and that does actually cost a lot of memory -especially if you do it all the time...

The only time you need to use ?flush=1 is if you've changed some template and want to have SilverStripe acknowledge the change - preferrably from the frontend!

Also: the admin does keep a connection with the server, as it sends out a ping every three minutes or so, I noticed. That could even have something to do with it - though I wouldn't know why :-( Are you using SSL? Could that be a problem?

Avatar
ambient

1 September 2011 at 11:51pm Community Member, 123 Posts

Hi Guys,

Thanks Martimiz, I'll make sure I'm not using ?flush=1 in the admin anymore. Also good to know that admin keeps a coonection with the server. I didn't realise this.

Swaiba, I went with option 1 and the hosting company said to put

php_value memory_limit 150M
php_value max_execution_time 120

into the htaccess file.
It seems to have worked so far so I'm going to call this one solved :)

Thanks for the help guys