Jump to content

benbyf

Members
  • Posts

    818
  • Joined

  • Last visited

  • Days Won

    6

benbyf last won the day on May 4 2022

benbyf had the most liked content!

Contact Methods

  • Website URL
    https://www.benbyford.com

Profile Information

  • Gender
    Not Telling
  • Location
    Bristol, UK

Recent Profile Visitors

103,890 profile views

benbyf's Achievements

Hero Member

Hero Member (6/6)

816

Reputation

4

Community Answers

  1. You were totally right. I had to basically go over my config.php highlighting everything and deleting all teh whitespace and it worked, there must have been some rogue white space or strange invisible characters somewhere which VScode wasn't showing 😞 very aannoying and not something I've encountered (especially when I must have introduce the bug myself! 🤦‍♂️). Thanks!
  2. mmm, not sure what you mean, there's nothing weird in the config. Here's the errors i get on the front for the site with Debug turned on: Warning: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent in /srv/users/serverpilot/apps/mysite/public/wire/core/WireSessionHandler.php on line 57 Warning: session_name(): Session name cannot be changed after headers have already been sent in /srv/users/serverpilot/apps/mysite/public/wire/core/Session.php on line 294 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /srv/users/serverpilot/apps/mysite/public/wire/core/Session.php on line 297 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /srv/users/serverpilot/apps/mysite/public/wire/core/Session.php on line 298 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /srv/users/serverpilot/apps/mysite/public/wire/core/Session.php on line 299 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /srv/users/serverpilot/apps/mysite/public/wire/core/Session.php on line 300 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /srv/users/serverpilot/apps/mysite/public/wire/core/Session.php on line 312 Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/mysite/public/site/config.php:1) in /srv/users/serverpilot/apps/mysite/public/wire/modules/Process/ProcessPageView.module on line 105
  3. Sometimes it lets me in but its a blank screen, with Debug on it errors with: Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/mysite/public/site/config.php:1) in /srv/users/serverpilot/apps/mysite/public/wire/modules/Process/ProcessPageView.module on line 105 Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/mysite/public/site/config.php:1) in /srv/users/serverpilot/apps/mysite/public/wire/core/admin.php on line 28 Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/mysite/public/site/config.php:1) in /srv/users/serverpilot/apps/mysite/public/wire/modules/Process/ProcessLogin/ProcessLogin.module on line 311 Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/mysite/public/site/config.php:1) in /srv/users/serverpilot/apps/mysite/public/wire/modules/Process/ProcessLogin/ProcessLogin.module on line 312 Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/mysite/public/site/config.php:1) in /srv/users/serverpilot/apps/mysite/public/wire/modules/Process/ProcessLogin/ProcessLogin.module on line 313 not really sure where this data is stored or how it can be changed...?
  4. Hi! Sorry one of those perernial issues...-> moved to new hosting and some of the settings were obviously wrong as when hitting the view button while editing a page, it would link through to the page on the old hosting. I changed the host names in the config $config->httpHosts = array(...) and found I could no longer login without getting the forged notice. I cleared my cookies and deleted the contents of the sessions table in the db but no avail. Any advice?
  5. Hi @gmclelland what version of PW? Just checked on PW 3.0.229 and seems to be fine.
  6. Things I love: its not wordpress - mostly a security issue this one easily get CMS data and role your own php / frontend to display / do something with it... anything you can imagine modules making is approuchable (though could do with a good user guide as they're changed quite abit over the years) community is great! doesn't break, or need upgrading very often
  7. So I did another install using the blank site theme and that worked so must have been a mismatch between the exported site and the database setup on both maybe? anything that can rectify that situation short of having the same environments?
  8. Hi everyone, having a similar issue installing PW 3.0.229 or 3.0.244. getting lots of SQLSTATE issues on installation of custom site (using site export module). php 8.2.27, compatability check all ticks, errors using both innoDB and myISAM but differently.
  9. yep I have both LazyCron.casche and LazuCronLock.cache both there... should i delete them both to reset??? I ideally want it to work as a module as its needs to be duplicated to other sites and not as a singular modele - e.g. you can install several times to repeat for different needs... also I've made it work in teh past which is mostly whats annoying me that it no longer works as ive previously done it.
  10. I get messages turning up fine in my logs when used in my templates but not working (nothing happens) in my module for some reason. Here's what I have roughly: class customModule extends WireData implements Module, ConfigurableModule { public static function getModuleInfo() { return array( ... 'autoload' => true, 'requires' => "LazyCron", ); } private $cron_check = "everyMinute"; public function init() { // add hooks to CRON $this->addHook("LazyCron::every30Seconds", $this, 'checkFeedForNewPages'); } public function checkFeedForNewPages(HookEvent $e){ wire()->log->save('messages', 'working again'); } }
  11. Hi @benbyf I just wanted to say hello because it's nice to come across a UK person (I'm in Oxford) working with ProcessWire, which I have started using in the last 2 years. Also nice to make a link with you from the Machine Ethics podcast which I've listened to.

    I'm also ethics focussed; I only work for orgs that I think increase hope, work for environmental/social justice etc. As part of that I spend a lot of my time being a pain to my clients by trying to encourage ethical web design (e.g. accessibility, avoiding dark patterns, open source (free) software and sustainability, avoiding dependency/funding problematic companies/people/systems, challenging AI use...etc.)

    I like your "written by human" badges on your site - I'm actually working with someone on that concept: badges/info to declare where content is partially or completely AI generated, or AI-free.

    It would be great to have a chat some day! But I just wanted to wave across to you. Happy 2025!

    rich (they/them)

    web: https://artfulrobot.uk
    email: hello at artfulrobot.uk
    social (fediverse): https://fosstodon.org/@artfulrobot

    1. benbyf

      benbyf

      Hi Rich!

      Nice to hear from you and your general interests we share, keep up the good fight! 🙂

      Please tell your friends about the podcast 😉 let me know if you ever want to knock heads on ethical or good design stuff. Currently trying to do less web and more AI ethics and Games stuff but still love Processwire and have a few clients I tick over on PW sites. I make all my own sites using PW too... though in my heart I would love to move to something in Python as PHP is a pain in the arse 😕 

      Anyways, let me know if you're ever in Bristol.

      Ben

  12. Is there any working example links at all?
  13. Ha yeah I saw that, I thought it worked well together as the instant visual works with me brain :)
×
×
  • Create New...