Thanks Joss - that's a good workaround. I hadn't thought of that. Though, there would still be some instances with more than one image (varies template to template).
- ProcessWire Support Forums
- → Viewing Profile: Posts: Ben
Community Stats
- Group Members
- Active Posts 23
- Profile Views 680
- Member Title Jr. Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
User Tools
Friends
Ben hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: Images field, making description required
14 February 2013 - 01:30 PM
In Topic: Request seems to be forged
13 February 2013 - 02:37 PM
As long as your environments are hitting unique server names (dev.example.com, www.example.com), I don't think session collision should be a problem.
In the login form, do you have a CSRF token (the _post_token hidden input)? Any chance you're using a custom admin theme?
EDIT: You could try another setting, in config.php:
$config->protectCSRF = false;
It's best to leave it enabled, but it might help rule out other issues.
In Topic: ProcessWire Error Notification
05 February 2013 - 01:32 PM
Technically, current versions of ProcessWire shouldn't even receive that request if your htaccess is working properly.
Thanks Ryan. That may have something to do with the Linux/WIndows deviation - Windows (localhost dev) is on Apache and Linux is running nginx. I'll have to take a closer look at the .htaccess file and make sure to create a parrallel rule for nginx. I believe I may have overdistilled the test case above, a better example would be (apologies for the oversight):
http://www.example.com/news/*/news
I'll dig a little deeper into the rewrite rules angle.
EDIT: Forgot to mention -- I am just pasting the url into the browser. I'm running PW 2.2, PHP 5.4, and nginx.
EDIT #2: Digging deeper, I don't think the htaccess rules stop the behavior because they are encoded before leaving the browser - they're coming through in the logs as hexidecimal encoded characters.
In Topic: ProcessWire Error Notification
04 February 2013 - 01:53 PM
I've seen a couple of these myself happen due to malformed markdown links, it's reproducible. To cause it - you take any page above the homepage, and add a special character (!@#$%^&*()) followed by a backslash. It'll throw the rootparent error.
For example, http://www.example.com/news/*/ seems to throw it consistenly in LAMP, though not in a Windows environment for some reason.
Not sure of the etiquette, perhaps I should've created a new thread rather than reanimate one that's over a year old?
In Topic: Thousands of sess_* files
26 November 2012 - 10:52 AM
Edit: incorrect. 32k is the ext3 limit for subdirectories, not files.
- ProcessWire Support Forums
- → Viewing Profile: Posts: Ben
- Privacy Policy





Find content