kp52 Posted November 23, 2021 Share Posted November 23, 2021 A web host moved my site from their own custom platform to cPanel hosting over the weekend. Since then, though the front end of the site mostly works as before: sending from contact pages built using ProForms fails at submission stage I get "This request was aborted because it appears to be forged." + "The process returned no content." when I try to log in Changing to 777 permissions on assets & templates folders made no difference. I downloaded the site and tried it on my local server, where it works normally, so it doesn't seem to be down to something going astray in the move. I installed a fresh PW site using the blank profile in a subdomain. Everything proceeded normally up to the final screen, which had the following, above the invitation to view the site or log in: ProcessWire 3.x Installer Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /home/oj6f9ovldamz/public_html/pw.mysite.org.uk/wire/core/Session.php on line 279 Warning: session_name(): Cannot change session name when headers already sent in /home/oj6f9ovldamz/public_html/pw.mysite.org.uk/wire/core/Session.php on line 283 Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /home/oj6f9ovldamz/public_html/pw.mysite.org.uk/wire/core/Session.php on line 290 The page with just "Home" on it showed up normally, but attempt to log in failed as above. Any suggestions? KP Link to comment Share on other sites More sharing options...
kp52 Posted November 23, 2021 Author Share Posted November 23, 2021 Fixed! I found the php.ini file in the root of the site had session.save_handler set as memcached and session.save_path as a local server IP. Commented them out, and it reverted to using files. Login and form submissions are now working. [Session] ;;;session.save_handler = memcached ;;;session.save_path = 10.169.0.130 Link to comment Share on other sites More sharing options...
rloeber_ankok Posted February 17, 2023 Share Posted February 17, 2023 Thankyou. @kp52 This just solved my issues with a new server. I've been trying to solve this for 2 days when i saw your solution. It worked! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now