Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About neonwired

  • Rank
    Jr. Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Can this generate picture elements i'm trying to use different aspect ratio images on smaller screens?
  2. I'm updating a processwire site from 3.0.16 to the latest version and immediately get this error: - Fatal error: Exception: SQLSTATE[HY000]: General error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname must be a string specifying an existing class (in ......./public_html/wire/core/ProcessWire.php line 494) #0 ............../public_html/wire/core/ProcessWire.php(302): ProcessWire\ProcessWire->load(Object(ProcessWire\Config)) #1 ..................../public_html/index.php(52): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config)) #2 {main} in ........./public_html/index.php on line 64 As index and htacess haven't changed i just swapped out the wire directory as specified on https://processwire.com/docs/start/install/upgrade/#general-upgrade-process Site is on php 7.3, db is mariadb 10.3
  3. Unfortunately not, i ended up having to make a bespoke form.
  4. I'm hoping someone has seen this before. There doesn't appear to be an issue with the user info.
  5. I have a front end form for creating new pages, repeater and repeater matrix field don't seem to save any data. I was considering handling the data manually but can't seem to get anything useful from the post data, are there any methods i can use?
  6. i'm trying to use the pager on a custom admin page, it renders ok but the page doesn't seem to get the page numbers. Input is empty.
  7. Is there an easy way to get a pages index within a given pagearray similar to how $page->index() works with siblings. I'm trying to do a index of total count but using all pages of a grand parent page so essentially using all siblings and cousins.
  8. I'm using the page renderer to compile html emails as below. The problem is aoim hooks Page::render which causes an error. Is there any way to render a page without calling any hooks? $page->render('emails/base.php', (array) $data), 'subject' => $page->get('subject|title')
  9. The roles for the guest user always seem disabled and can't be changed. Any idea why?
  10. I'm using $config->paths->root to get the root domain of my site. It worked fine in my local dev environment but on my live server it returns '/var/www' rather than the actual directory '/var/www/my-site' . I'm pretty sure i've used it before with virtual domains so not sure what the issue is.
  11. Found the answer to the config appending _main.php using the $useMain variable as suggested in this thread. Thanks for everyone's help.
  12. I think the path is correct. It should be relative to site/templates, right? It does look like the config appends it was $config->appendTemplateFile = '_main.php'; Not sure how you get around this.
  13. I read somewhere that you could use $page->render('emails/base.php') to render a page using a specific template. However it doesn't seem to be working, it's still trying to use _main.php. Not sure what the expected behavior of this is or if i'm doing it wrong,
  • Create New...