Stu
-
Posts
51 -
Joined
-
Last visited
-
Days Won
2
Reputation Activity
-
Stu got a reaction from activa in Timezone Error
Thanks again for the help.
For anyone else that comes up against this error, its a system error not a blesta error
To fix it, locate your php.ini (in my case /etc/php.ini) and uncomment
date.timezone =.
check here for your timezone http://php.net/manual/en/timezones.php and add in the correct one for you.
example: date.timezone = "US/Central"
if the line doesn't exist you can just add it.
Thanks
-
Stu got a reaction from Michael in Login Form Outside Blesta
Ah ok I didn't realise that.
Well there's no problem with that at all then.
Thanks for the help and advice
-
Stu reacted to Paul in Login Form Outside Blesta
Yes, that's correct. CSRF is still enabled everywhere else.
-
Stu got a reaction from Paul in Login Form Outside Blesta
Thanks for this, just what I needed.
I have added a hmtl front page to my blesta install that has a model login.
I have made the recommend change in blesta.php...
Configure::set("Blesta.csrf_bypass", array('client_login::index')); I have modified the action url for my login form as follows...
<form method="post" action="https://mysite.com/client/login">
Everything is now working fine.
I have 2 question.
1. Is this safe to do? obviously csrf tokens are there for a reason so is disabling them like this safe?
2. when I logout from the client area I am taken back to /client/login am able to change this behaviour so the client is taken /index on logout?
Thanks everyone
-
-
Stu got a reaction from Paul in Timezone Error
Thanks again for the help.
For anyone else that comes up against this error, its a system error not a blesta error
To fix it, locate your php.ini (in my case /etc/php.ini) and uncomment
date.timezone =.
check here for your timezone http://php.net/manual/en/timezones.php and add in the correct one for you.
example: date.timezone = "US/Central"
if the line doesn't exist you can just add it.
Thanks
-
Stu got a reaction from Michael in Show Available products?
Thanks for the fast reply.
It's late here in the UK as you know, probably not the best time for me to be learning new things and getting annoyed with them lol.
I had already created the order form, but hadn't assigned it to a package group.
Now I've gone back and edited the order form to assign it to a group, everything is working now.
Thanks for the offer to show me around, I'll continue alone as I am for now, I can usually figure everything out.
I think the late hour just got the better of me lol.
Thanks again for the help