Jump to:

22977 Posts in 11667 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » Security & userforms give error on live server

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

Page: 1
Go to End
Author Topic: 325 Views
  • Pixelspin
    Avatar
    Community Member
    9 Posts

    Security & userforms give error on live server Link to this post

    Recently I moved a website to Silverstripe for a client. Unfortunately there seems to be a problem on the server and I can't figure out what it is. On my local server (at home and at work) the site works just fine. But on the live server (not one of our own) I can't create form fields (using the userforms module) or email recipients and I can't add a member via the CMS. Just editing the database works, but off-course thats not the solution.

    Silverstripe gives me an error saying the page doesn't exist, and trying to get to the Administrator group in Security gives me the source code of the error page. Setting the site to dev mode doesn't give me better error messages but just the same ones. I also tried copying the database to the local server to see if there maybe is something wrong with that, but again everything works fine on the local server.

    The only thing I can think of is that there is something wrong with the live server. I know the provider uses /admin/ for there own admin login, but they changed that for me to /adm/.

    Has anybody else encountered this problem before and maybe know a solution? I don't know what to look for anymore.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Security & userforms give error on live server Link to this post

    Setting the site to dev mode doesn't give me better error messages but just the same ones

    What is the error message, you may need to look in your PHP error log as production servers should have display_errors turned off. If you're getting 404 then it'll probably be an issue about your hosting base rewrite / redirections not supported by SilverStripe.

  • Pixelspin
    Avatar
    Community Member
    9 Posts

    Re: Security & userforms give error on live server Link to this post

    Thanks for your quick reply. It turned out the problem was in the php.ini file. It needed cgi.fix_pathinfo=0 and now the problem is resolved.

    325 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.