Jump to content

alan

Members
  • Posts

    852
  • Joined

  • Last visited

  • Days Won

    1

alan last won the day on April 19 2012

alan had the most liked content!

Contact Methods

  • Website URL
    https://www.clearlyconvey.ca

Profile Information

  • Gender
    Male
  • Location
    Ottawa, Canada

Recent Profile Visitors

14,029 profile views

alan's Achievements

Hero Member

Hero Member (6/6)

403

Reputation

4

Community Answers

  1. Solved. I had an old system of my own that I'd updated and I think at some point I just installed any module with the word "Hanna" in the title on the unscientific assumption it would add to the Hanna goodness of the site. I think the problem was simply that I was using this older module with a new PW and a new main Hanna. And I second what @gmclelland said to @teppo -- thanks indeed for all you do with Processwire! That module served me well back in the day and I just removed it on this new v3 PW site and all is working AOK now. Thanks for all the clues I spotted in other posts that helped me solve this! Cheers, Alan
  2. Hi forum, Long time since I posted, sorry it's a question not an answer o_O I had an old site, I upgraded everything and I have one stubborn issue that seems to be Hanna specific. I removed all of the Hanna modules (helper modules and main) and all is good. I added the modules back, all is good. I add one Hanna item from the admin, with the name OK (so it does nothing at all) and when I go to edit any page the admin UI returns The process returned no content. The fuller error is below. I am stuck : ( Sorry to have hit a wall and having to ask here, I just hope it's obvious and this post when solved will help someone else perhaps. Thanks very much for any ideas, cheers, Alan ProcessPageEdit: Method TextformatterHannaCode::extractDefaultCodeAttrs does not exist or is not... ProcessPageEdit: Method TextformatterHannaCode::extractDefaultCodeAttrs does not exist or is not callable in this context DEBUG MODE BACKTRACE ($config->debug == true): #0 abc/wire/core/Wire.php(420): ProcessWire\Wire->___callUnknown('extractDefaultC...', Array) #1 abc/wire/core/WireHooks.php(951): ProcessWire\Wire->_callMethod('___callUnknown', Array) #2 abc/wire/core/Wire.php(485): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TextformatterHannaCode), 'callUnknown', Array) #3 abc/wire/core/Wire.php(488): ProcessWire\Wire->__call('callUnknown', Array) #4 abc/site/assets/cache/FileCompiler/site/modules/HannaCodeHelper/HannaCodeHelper.module(123): ProcessWire\Wire->__call('extractDefaultC...', Array) #5 abc/site/assets/cache/FileCompiler/site/modules/HannaCodeHelper/HannaCodeHelper.module(93): HannaCodeHelper->getJSON() #6 abc/wire/core/WireHooks.php(1059): HannaCodeHelper->inject(Object(ProcessWire\HookEvent)) #7 abc/wire/core/Wire.php(485): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessPageEdit), 'execute', Array) #8 abc/wire/core/ProcessController.php(337): ProcessWire\Wire->__call('execute', Array) #9 abc/wire/core/Wire.php(414): ProcessWire\ProcessController->___execute() #10 abc/wire/core/WireHooks.php(951): ProcessWire\Wire->_callMethod('___execute', Array) #11 abc/wire/core/Wire.php(485): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessController), 'execute', Array) #12 abc/wire/core/admin.php(160): ProcessWire\Wire->__call('execute', Array) #13 abc/wire/modules/AdminTheme/AdminThemeDefault/controller.php(13): require('/home/alanfluff...') #14 abc/site/assets/cache/FileCompiler/site/templates/admin.php(15): require('/home/alanfluff...') #15 abc/wire/core/TemplateFile.php(327): require('/home/alanfluff...') #16 abc/wire/core/Wire.php(414): ProcessWire\TemplateFile->___render() #17 abc/wire/core/WireHooks.php(951): ProcessWire\Wire->_callMethod('___render', Array) #18 abc/wire/core/Wire.php(485): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #19 abc/wire/modules/PageRender.module(575): ProcessWire\Wire->__call('render', Array) #20 abc/wire/core/Wire.php(417): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #21 abc/wire/core/WireHooks.php(951): ProcessWire\Wire->_callMethod('___renderPage', Array) #22 abc/wire/core/Wire.php(485): ProcessWire\WireHooks->runHooks(Object(ProcessWire\PageRender), 'renderPage', Array) #23 abc/wire/core/WireHooks.php(1059): ProcessWire\Wire->__call('renderPage', Array) #24 abc/wire/core/Wire.php(485): ProcessWire\WireHooks->runHooks(Object(ProcessWire\Page), 'render', Array) #25 abc/wire/modules/Process/ProcessPageView.module(184): ProcessWire\Wire->__call('render', Array) #26 abc/wire/modules/Process/ProcessPageView.module(114): ProcessWire\ProcessPageView->renderPage(Object(ProcessWire\Page), Object(ProcessWire\PagesRequest)) #27 abc/wire/core/Wire.php(417): ProcessWire\ProcessPageView->___execute(true) #28 abc/wire/core/WireHooks.php(951): ProcessWire\Wire->_callMethod('___execute', Array) #29 abc/wire/core/Wire.php(485): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessPageView), 'execute', Array) #30 abc/index.php(55): ProcessWire\Wire->__call('execute', Array) #31 {main} ProcessWire PagesSetupModulesAccessHanna Code1 PagesHome The process returned no content.
  3. Sorry for the silence @teppo and @netcarver, life changes here have pulled me, for a while, away from PW dev :/ Not bad changes, but just taking my time so I cannot PW. I pay $30 CDN per month to host around 10 sites on AWS. AWS HW is "On Demand Linux t2.micro" w/ 64GB SSD added. Hope all is good w/ you guys here in PW-land : )
  4. THANK you @dadish — this; SPA + PW as an API + GraphQL for PW, for me is a milestone exciting proposition. I hope I make it the biggest thing to happen to my PW world since I read the word "ProcessWire" on the bottom generous Marty Walker's web site and first visited processwire.com. First steps for me are reading up on PWAs and finally trying to finish a Wes Bos course on ES6, then I'm off to add in PW as an API & GraphQL. Exciting!
  5. Wow o_O @dadish I am humbled by your excellent work here. I stumbled on this thread researching PWAs and then was transfixed for the full 37 minutes of your excellent video intro. Thank you very much indeed for all of this, I am yet again thankful for the ProcessWire community's generous and excellent work. I've had Vue.js noted down as "something I want to use", along with using ProcessWire as/via an API, and most recently, PWAs. I am hoping, if I've not misunderstood, now I may be able to use all these together for a project. Brilliant! \o/
  6. Oo, didn't notice how long that gap was o_O (maybe I'll be the first to post back if I get it working )
  7. Over six months into the project and I have, touch wood, had a great experience moving from traditional hosting to Amazon EC2 for hosting around 10 sites. I still plan to write this up, but just wanted to share one little tip I found, probably something any DBA would instantly know but that I had to learn the hard way. I modified a script to export all databases and set it via cron to run at midnight. This worked AOK for 6 months, then I found service `httpd` was down one morning. The reason was simply that the day before I had added one more database to my EC2 and that had tipped the backup process over the brink as far as server load went. Each db was backed up, one after the other, and cumulatively this added to too much intense load. The solution I used was simply to add a 5min pause in the loop in the backup script, between databases. Fixed. Hope this helps someone 👍
  8. @justb3a Thank you very much for this, 100% fixed the problem, cheers!
  9. NO! Chat sometimes results in a solution, even if one doesn't know about a thing Thanks for trying and Happy Christmas in Austria \o/
  10. Yes, can do that, thanks again @bernhard but it feels like this is something the SCF module does already, e.g. it supports setting a success message in a set of JSON options, and indeed it then shows the message. So all looks 100% ok, unless I nav to some other page, then go back. Maybe a bug in the module (doubt it, more likely a bug in me )
  11. Thanks @bernhard by coincidence I am on that exact page now I've tried some of this before but not this exact page. It looks like I can 100% solve it by redirecting to a new page (the module allows me to do this), but if I do then the module's nice support for a `Success` message is lost, so no error but also no message. Gonna keep experimenting to see if I can get the best of both worlds.
  12. still unable to fix my form resubmission warning, just in case anyone has a clever thought to spare that might give me a clue to what I am missing.
  13. @Thomasaurus Always worth checking the anti-spam settings to make sure it's not one of those tripping over. The only other thing I've had that I think was similar was when I had two tabs open, signed in as admin - got weird stuff happening nothing to do with SCF specifically but it affected session info - closed one tab, instant fix. Good luck, I am using this Module more now I am getting familiar with it, it's super useful.
  14. I have two forms, each on different pages, each with `submitName` values that are unique, in case that helps, and I am finding after a succsessful form submission, if I navigate to a new page, then let the page load then go back in history, to the page where the form was sent from, my browser is complaining `Confirm Form Resubmission`. I can't see anything in the docs on how to clear POST data on a succsessful submission, assuming it's that. Any pointers/help would be much appreciated Thanks in advance 👍
×
×
  • Create New...