kyle Posted August 2, 2013 Share Posted August 2, 2013 I got a new mac today and I am trying to get everything up and running. I have PHP, mySql, and apache installed and running. But I am having issues getting processwire to work correctly. Previously I had windows and was running XAMPP and everything was working great. Right now I am having issues logging in and displaying content using <?=?> syntax. Loggin In I am getting the "This request was aborted because it appears to be forged." error. I have created the cache and sessions folder in assets. Their permissions are 755 (drwxr-xr-x). There is a config file with permissions 644 (-rw-r--r--). Syntax It wont let me use the <?=?> syntax. In the code I typed <?=$results->title?> but it was rendered as <!--?=$results--->title?>. I really have no idea about this one... I'm assuming the two are related, but I am not really sure... Any insight would be extremely helpful. Edit: php is version 5.3.15 Link to comment Share on other sites More sharing options...
arjen Posted August 3, 2013 Share Posted August 3, 2013 Login in: this has come up on numerous occasions. Kongondo was really nice to sum up these posts Syntax: this seems to be a settingissue. Have you enabled short_open_tag? I doubt that they are related since I don't think the /wire/ folder uses shorthand code. Link to comment Share on other sites More sharing options...
kyle Posted August 3, 2013 Author Share Posted August 3, 2013 @arjen The short tags was in fact the issue! Thank you very much. I had previously seen that post and tried the suggestions but I have the cache, logs, and sessions folders created and set to the right permissions. When I add $config->protectCSRF = false; to the config file the error doesn't display anymore but it doesn't log me in. Also commenting out Options +FollowSymLinks and Options +SymLinksifOwnerMatch did not help. All the files should be the same because I am using git for version control. I previously had the issue when I pushed the site to my development server on my VPS, but that was due to me not having the sessions and cache folders. Link to comment Share on other sites More sharing options...
kyle Posted August 3, 2013 Author Share Posted August 3, 2013 The forged request was an issue with the apache config Apache was running with the user and group _www. I had to change it to my username and then the group I belong to. Link to comment Share on other sites More sharing options...
arjen Posted August 3, 2013 Share Posted August 3, 2013 Glad you got it working. Thanks for reporting this. Link to comment Share on other sites More sharing options...
ryan Posted August 4, 2013 Share Posted August 4, 2013 I got a new mac today and I am trying to get everything up and running. I have PHP, mySql, and apache installed and running. But I am having issues getting processwire to work correctly. Previously I had windows and was running XAMPP and everything was working great. Install MAMP and you'll be happy. I don't even bother experimenting with the AMP stuff that comes bundled with OS X. 1 Link to comment Share on other sites More sharing options...
Mass Harry Posted March 24, 2015 Share Posted March 24, 2015 Ryan:: my website this problem please help meThis request was aborted because it appears to be forged. Link to comment Share on other sites More sharing options...
marcus Posted March 24, 2015 Share Posted March 24, 2015 Ryan:: my website this problem please help me This request was aborted because it appears to be forged. Please take a look into the Troubleshooting Guide 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