Jump to content

benbyf

Members
  • Posts

    804
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by benbyf

  1. That did the trick - i was adding it as a page in the admin instead of simply creating a new Role() and using the above $role->addPermission("permissionName");
  2. having trouble adding a role permission on module install. But role my custom permission $roleName = "subscriber"; never gets set on the new role. Any help would be appreciated. // add new role name $role = new Page(); $roleParent = $this->pages->get('id=30'); $role->parent = $roleParent; $role->name = $roleName; $role->template = "role"; $role->set($roleName, true); $role->save();
  3. List: Nihilistic Password Security Questions. https://t.co/2Ap54bgAlb

  4. a very pro utilitarian view, which is simply one option. good explantation, but not any real life examples. https://t.co/c93Z1Qz9GI

  5. If it was up to me I would ban human drivers tomorrow after the traffic & bad driving on the M25 and M4 today :|

  6. Ok, fixed. The obvious problem there was that the folder was the wrong name. Maybe this could be remedied in Padloper by having a relative link to the folder instead of the absolute one. OR add make sure the module is called X to your installation instructions?
  7. OK so it's installing now, just erroring a ton. Warning: include_once(/srv/users/serverpilot/apps/betaville-dev/public/site/modules/Padloper/PadOrder.php): failed to open stream: No such file or directory in /srv/users/serverpilot/apps/betaville-dev/public/site/modules/padloper-1_1_2/PadLoper.module on line 24 Warning: include_once(): Failed opening '/srv/users/serverpilot/apps/betaville-dev/public/site/modules/Padloper/PadOrder.php' for inclusion (include_path='.:/opt/sp/php7.0/lib/php') in /srv/users/serverpilot/apps/betaville-dev/public/site/modules/padloper-1_1_2/PadLoper.module on line 24 Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/betaville-dev/public/site/modules/padloper-1_1_2/PadLoper.module:24) in /srv/users/serverpilot/apps/betaville-dev/public/wire/core/admin.php on line 16 Warning: Invalid argument supplied for foreach() in /srv/users/serverpilot/apps/betaville-dev/public/wire/core/Modules.php on line 1363 Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/betaville-dev/public/site/modules/padloper-1_1_2/PadLoper.module:24) in /srv/users/serverpilot/apps/betaville-dev/public/wire/core/Session.php on line 617 Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/betaville-dev/public/site/modules/padloper-1_1_2/PadLoper.module:24) in /srv/users/serverpilot/apps/betaville-dev/public/wire/core/Session.php on line 618
  8. HELP! can't install as it says it requires FieldtypePageTable - I purchased ProFields and installed Tables thinking this was it and still says it needs FieldtypePageTable. What am I doing wrong?!‽
  9. that seemed to be fine, having troubles upgrading to 3x though so may need to do an actually export at somepoint and a fresh install of 3
  10. Hi! I'm trying to export a large site but the export profile module keeps timing out due to the size of the installation its trying to export (around 1500 pages - half with body content). Is there any work around or is it worth simply duplicating the site and files without using teh export profile module? Thanks
  11. RT @WevolverApp: Using a Showerloop saves 33,000 litres of water and 1 MWH of energy per person per year https://t.co/TadfSOpLor https://t.…

  12. Yes I am a robot #beingthere https://t.co/Zc59m5mPMo

  13. @itvdinnerdate sorry not single

  14. how is CSP being used in PW currently? Only recently found this - https://www.smashingmagazine.com/2016/09/content-security-policy-your-future-best-friend/ and was intregued about how it might be added to a Processwire site or to PW in some module. Any experience pros/cons would be appreciated
  15. .@theresa_may can stop Donald Trump wrecking the Paris Climate Deal. Sign the petition: https://t.co/rDVXj1ucTg #lawsofnature

  16. probably a stupid question but can this module be used to search hastags instead of outputting profile tweets?
  17. RT @forcehabit: Announcing ‘makenines’ - an ambient logic-puzzle game, coming to iOS & Android on Friday. 9/9/2016. https://t.co/EIRfZqeFya…

  18. RT @forcehabit: Happy birthday @aardman! Great stuff, straight out o’ Bristol. https://t.co/kqea54WSTF

  19. RT @HistoryInPix: A Woman riding an Autoped, 1916 https://t.co/OUh7RSbhzs

  20. @_marcusherrmann what would you recommend?

  21. my current #opensource themes / profiles in #processwire #CMS https://t.co/pg12VumkSY

  22. @NicolasVerge designed better to interact with mainly, nothing to do with the puzzles, I love puzzles! Just not obvious how things are used

  23. Site of the week feature for @thomasforsyth site made by myself as featured by the #processwire… https://t.co/nFUtXIvbDb

  24. RT @THECUBELondon: Minds and machines: The art of forecasting in the age of artificial intelligence via @DU_Press #AI #machineethics https…

×
×
  • Create New...