fenton Posted February 19, 2014 Share Posted February 19, 2014 upgrade went supersmooth and easy thanks for all the work since you're talking mobile, does the 'insert image' function for the RTE (either TinyMCE or CKeditor) work for anyone on mobile devices? Link to comment Share on other sites More sharing options...
BFD Calendar Posted February 26, 2014 Share Posted February 26, 2014 SInce upgrading to PW 2.4 I'm getting more frequent 'aborted forged requests' when it takes too long to publish or save a page. Any chance to give a page a bit more time before it appears 'forged'? Link to comment Share on other sites More sharing options...
kongondo Posted February 26, 2014 Share Posted February 26, 2014 SInce upgrading to PW 2.4 I'm getting more frequent 'aborted forged requests' when it takes too long to publish or save a page. Any chance to give a page a bit more time before it appears 'forged'? This has not been my experience. Maybe provide a few more information? Upgrade from which version, your server environment, etc? PW 2.4 is much faster than other versions - not only my experience, but others... Link to comment Share on other sites More sharing options...
BFD Calendar Posted February 26, 2014 Share Posted February 26, 2014 It is indeed much faster, perhaps too fast It happens both on a local MAMP installation on my MacBook and on a live installation on a server. Upgrade was from 2.3.1. A typical situation is when I'm editing one page in admin interface, and also need to edit another one which is related to the first one, in a new browser tag. When the second one is done and saved or published, I finish the first one. Upon save the request appears to be forged. Link to comment Share on other sites More sharing options...
Soma Posted February 26, 2014 Share Posted February 26, 2014 If you open two pages to edit one will always be forged cause the CSRF token... Link to comment Share on other sites More sharing options...
kongondo Posted February 26, 2014 Share Posted February 26, 2014 If you open two pages to edit one will always be forged cause the CSRF token... ? Never experienced this b4...I'm sure am not getting you ......are you talking two different non-connected browser sessions with same user logged in? Link to comment Share on other sites More sharing options...
Soma Posted February 26, 2014 Share Posted February 26, 2014 I'm not sure I can follow myself, but that's what I thought might happening. It did a lot for my coworker when editing various fields and pages all over the place. Link to comment Share on other sites More sharing options...
BFD Calendar Posted February 27, 2014 Share Posted February 27, 2014 If you open two pages to edit one will always be forged cause the CSRF token... It didn't happen when I was doing this in PW 2.3.1. And when editing related pages it happens quite often to do that at the same time in different browser tags or windows. 1 Link to comment Share on other sites More sharing options...
alan Posted March 2, 2014 Share Posted March 2, 2014 Thank you Ryan and friends, excited to go and try 2.4 (I am so behind the curve with my 2.3 sites Cheers! Link to comment Share on other sites More sharing options...
alan Posted March 2, 2014 Share Posted March 2, 2014 In Upgrading from ProcessWire 2.2 or 2.3 where it says In addition we recommend adding the following line to your /site/config.php: $config->httpHosts = array('domain.com', 'www.domain.com'); Replace domain.com with the hostname(s) your site runs from. Does that mean that for mynewsite.com if I am developing it locally at domain mynewsite.com.site I would have in config.php (and config-dev.php) I would have? $config->httpHosts = array('mynewsite.com', 'www.mynewsite.com', 'mynewsite.com.site'); i.e. every domain that I expect the site to run from? If the answer is "yes", cool, and out of interest what does this do, help with potential crossdomain errors? Link to comment Share on other sites More sharing options...
kongondo Posted March 2, 2014 Share Posted March 2, 2014 (edited) .....out of interest what does this do, help with potential crossdomain errors? Added Security Edited March 2, 2014 by kongondo Link to comment Share on other sites More sharing options...
alan Posted March 2, 2014 Share Posted March 2, 2014 Ah ha! Thanks @kongondo V. nice feature. Link to comment Share on other sites More sharing options...
alan Posted March 5, 2014 Share Posted March 5, 2014 Given the cool new stuff in config.php such as new image options, I would have been happy to have been told by the upgrade process to replace my config file with the new one (copying over my own items such as DB settings etc). I'm sure this was considered and on balance was seen as sufficiently unimportant to warrant adding a step to the upgrade but perhaps a note along the lines "If you are keen to have the latest settings that offer additional control then optionally you may choose to replace your config.php file, taking care to not lose settings specific to your install such as database parameters.". would be a useful compromise?Edit: I just went ahead and did this myself and the only problem I ran into was the site reporting: Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /Users/alan/.../example.ca/live/wire/core/Page.php on line 398 So I added in from the old config.php /** * Timezone: current timezone using PHP timeline options * * To change, see timezone list at: http://php.net/manual/en/timezones.php * */ $config->timezone = 'America/New_York'; and the error went away. Link to comment Share on other sites More sharing options...
clsource Posted March 9, 2014 Share Posted March 9, 2014 thanks for the great framework. Processwire is just awesome and all the people here are awesome too 4 Link to comment Share on other sites More sharing options...
Milan Posted July 29, 2014 Share Posted July 29, 2014 I come back again since ProcessWire 2.2. Great great update in ProcessWire 2.4. Having "Language Support", it makes creating a multi-language website super easy and clear! Hoping to see more new great tutorials under http://processwire.com/docs/tutorials/ section. I am always looking for "best practices" in using ProcessWire. 2 Link to comment Share on other sites More sharing options...
pwired Posted July 29, 2014 Share Posted July 29, 2014 I am always looking for "best practices" in using ProcessWire. https://processwire.com/talk/topic/2505-templates-structure-functions-best-practices/ https://processwire.com/talk/topic/1139-some-generalbest-practices-questions/ https://processwire.com/talk/topic/4507-pw-best-practices-application-structure-form-handling/ https://processwire.com/talk/topic/740-a-different-way-of-using-templates-delegate-approach/ 4 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