-
Posts
10,902 -
Joined
-
Last visited
-
Days Won
349
Everything posted by adrian
-
@David Karich - did you ever learn anything more about this? I am seeing that "Premature end of script headers" on a server (nginx as reverse proxy) on PHP 7.0. Does it still seem to be related to the PW Upgrades module?
-
Hey @Robin S - could you please try the latest version and let me know if it now handles errors how you need?
-
Differences between browser and command line API access
adrian replied to robert's topic in API & Templates
I think you're coming across the fact that on the command line outputformatting is always off so image fields always return an array regardless of the config settings. -
I think it's probably because you haven't defined the parent as a page that is separately configurable. Do that and you should be fine:
-
Make sure you have debug mode turned on - you might get a meaningful error that way.
-
Yep, it works, but if you want it to appear at the time of export then you need to check "User override CSV settings" - otherwise it will use the selector defined on the page's settings tab. Does that make sense?
-
Nice one @Robin S - just wondering about API calls to delete, rather than trash. Also, what about AOS's "delete" page list action button?
-
Hey @Robin S - I have been experiencing this again too. I though it was solved in some Tracy core updates, but apparently not ? I tend to agree with you that there really isn't a need to move the bar, so I think a fixed option is probably a good idea, so I have added it in the latest version - the option is called: "Fixed Position". You might need a hard reload after changing this to see the effects. This version also includes some more MySQL info in the Diagnostics panel. It's all about the current number of connections etc:
-
Just an FYI - the reason the template_id is set to the name of the template in the export is so it is translatable to another PW site where that template will likely have a different ID. This way the import process can use the supplied name to find and then set the local ID for that template.
-
Thanks @dragan - I might be off base here, but the servers I have seen this on are still running apache, just with the nginx reverse proxy. I think this makes it different to an nginx-only server. I have seen similar issues with these bad gateway errors on the same server running Laravel so I don't think it's a specific PW issue, but not really sure at this point and hoping to change servers soon anyways.
-
Sorry to go a little OT here, but I have had two recent experiences with PW on servers with nginx as reverse proxy for apache and have come across lots of nginx errors including 502 and 504 and various slowdowns. I have always run PW on pure apache servers, so wondering if I am just being unlucky with these hosts. Are others out there having similar issues?
-
Oops - sorry to jump the gun there ?
-
Check out @Jonathan Lahijani's new series of PW vs WP videos: https://www.youtube.com/channel/UCAzZwO7DZ91tQmZqZwe5vuQ
-
Hi @iank - it means that it is most likely not running, but if you don't see the *confirmed off then it's not definite. It depends on how PHP is running - whether it's an apache module or not. In this case to be certain you should ssh into the server and type either: httpd -M or apache2 -M and see if it's listed.
-
I think this shows it pretty clearly: echo'ing triggers the __toString() method, but dumping returns the object.
-
Created and sent action module to @adrian via PM if he would consider including it in Admin Actions module. Thanks and sorry for not getting back to you yet - crazy deadlines here at the moment. Will try to look at it early next week.
-
module Recurme – Processwire Recurring Dates Field & Custom Calendar Module.
adrian replied to joshuag's topic in Modules/Plugins
@joshuag - while you are working on things, could you please make sure it's possible to return all events sorted by start date such that recurring and non-recurring events are returned interspersed with each other. Could you also explain what would go in the $selector part of the $recurme->find() to make this work? I haven't tested this yet, but can you please also confirm that "start" works in the selector with $recurme->find() so we can return paginated / ajax loaded events. Thanks again! -
@asilentwish - please take a look at the AdminRestrictBranch module that @bernhard mentions - it takes care of these menus and all sorts of other issues. Obviously it doesn't hide the pages you want, but you'll be able to grab the bits of code you need from that and add it to one of those gists I listed. But please also read thoroughly through that forum thread - there are issues with what you want to do - what if a parent is hidden, but the user needs access to the children?
-
Module: AIOM+ (All In One Minify) for CSS, LESS, JS and HTML
adrian replied to David Karich's topic in Modules/Plugins
@Juergen -
module Recurme – Processwire Recurring Dates Field & Custom Calendar Module.
adrian replied to joshuag's topic in Modules/Plugins
Thank you very much! -
module Recurme – Processwire Recurring Dates Field & Custom Calendar Module.
adrian replied to joshuag's topic in Modules/Plugins
Hey @joshuag - I really need to bump this find() only working on recurring dates issue. Can you please at least confirm that this is definitely the case because I need to start figuring out an alternative. I don't see how this module can be used without it. How can you generate a list of upcoming events when some are recurring and some are not if the find() method only finds the recurring ones. Thanks. -
Take a look at these: https://gist.github.com/adrianbj/e391e2e343c5620d0720 https://gist.github.com/adrianbj/e391e2e343c5620d0720 https://gist.github.com/somatonic/5595081 and this conversation: https://processwire.com/talk/topic/1176-hiding-uneditable-pages-from-users/?do=findComment&comment=84916
-
I don't, but there is this module by @horst - https://modules.processwire.com/modules/pageimage-remove-variations/
-
Hi @Juergen - I just added the option to both the master and 3.x branches. Let me know if you have any problems. @szabesz did you ever end up testing the autocomplete stuff? Also, I'd like to move 3.x to master pretty soon because it's definitely much easier to work with raw numbers that way. Does anyone have any ideas for any other improvements that might also be breaking changes so we can get these in for this new version?