Recently Browsing 0 members
No registered users viewing this page.
By Peter Knight
This is probably more a server issue with Plesk etc but relates to Processwire.
I have a very long web form which takes the average user 3-5 minutes to complete. I know it's crazy but it's a client-driven thing.
Occasionally, my client has been emailed by users that when they eventually his Submit, they get a general 500 server error.
I did some research and looked at some logs and it seems to be some type of time-out issue. I guess that makes sense if the form takes minutes to complete as the first two fields of the web form are attachment uploads. I'm thinking that attaching files establishes some type of session but that session expires by the time the web form is actually submitted.
Does that sound plausible enough?
I plan to suggest moving the attachment fields to the end of the email, disabling the webform CSFR too and seeing if things improve.
Does my theory about file uploads and session time outs sound plausible?
I want to customize the mywebsite/processwire/profile page. It's almost all good but I want to get rid of the sections 'Admin Theme' and 'Language' so that the user can just set a new password. (see image)
Do I have to modify the admin template or how can I do that? Because when I go tree>Admin>Profile there are no fields to add or remove.
Or where can I find the php file?
I would appreciate your help.
Reference: PW 3.0.111 and uikit3 based site using the Regular-Master profile.
I'm trying to automatically redirect a logged-in user to a custom profile page using $session->redirect() and need to add $user->name to the redirect path.
All my attempts appear to have failed:
$session->redirect('/user-profile/')->name; $session->redirect('/user-profile/')->$user->name; $session->redirect('/user-profile/' . get($user->name . '/')); $session->redirect('/user-profile/' & get($user->name)); Can anyone point out where I am going wrong?
Hello, after creating an array and assigning it to a variable in session:
$order = array (); $order['token'] = 'token'; $order['product'] = 'product-name'; $session->order = $order; I try to insert another item:
$session->order['price'] = 'price'; But it doesn't work:
Notice: Indirect modification of overloaded property ProcessWire\Session::$order has no effect in... Isn't possible to modify such session variable? I could build another array from the session variable, add the new item, and then store it again in session, but doesn't looks good.
I am working on a website and I want to style the login page, but I'm a bit confused.
I want either the existing login page styled in my own way using some CSS (I guess I prefer that) or I want to create a custom page with a form to login. (Which I could style too).
I used the code from Ryan and Renobird posted here - which works great - but that doesn't replace the original login page.
Is there a way to some sort of 'disable' the original login?
I hope my question is clear and thanks in advance,