Jump to content

entschleunigung

Members
  • Content Count

    32
  • Joined

  • Last visited

Community Reputation

12 Good

About entschleunigung

  • Rank
    Jr. Member
  • Birthday 02/17/1968

Profile Information

  • Gender
    Male
  • Location
    Munich

Recent Profile Visitors

1,240 profile views
  1. because I can't get any further here, maybe @ryan has some other idea what to do here to make the search work?
  2. hi flydev, Error: Exception: SQLSTATE[HY000]: General error: 3696 The regular expression contains an unclosed bracket expression. (in D:\inetpub\wwwroot\default\wire\core\PageFinder.php line 416) #0 D:\inetpub\wwwroot\default\wire\core\Wire.php(386): ProcessWire\PageFinder->___find(Object(ProcessWire\Selectors), Array) #1 D:\inetpub\wwwroot\default\wire\core\WireHooks.php(723): ProcessWire\Wire->_callMethod('___find', Array) #2 D:\inetpub\wwwroot\default\wire\core\Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\PageFinder), 'find', Array) #3 D:\inetpub\wwwroot\default\wire\core\PagesLoader.php(248): ProcessWire\Wire->__call('find', Array) #4 D:\inetpub\wwwroot\default\wire\core\Pages.php(238): ProcessWire\PagesLoader->find('has_parent=1, t...', Array) #5 D:\inetpub\wwwroot\default\wire\core\Wire.php(386): ProcessWire\Pages->___find('has_parent=1, t...', Array) #6 D:\inetpub\wwwroot\default\wire\core\WireHooks.php(723): ProcessWire\Wire->_callMethod('___find', Array) #7 D:\inetpub\wwwroot\default\wire\core\Wi This error message was shown because: you are logged in as a Superuser. Error has been logged. thanks for the moment.
  3. apparently i am alone with the problem. doesn't anyone else have a problem with mysql on windows? thank you
  4. hi, i have a strange problem with the search since we had to move to a windows server. what worked fine before, now throws out the following error message: Error: Exception: SQLSTATE[HY000]: General error: 3696 The regular expression contains an unclosed bracket expression. the whole thing runs under Windows Server 2016 (x64) EN MySQL 8.0.15 PHP 7.2 it is the normal search.php of PW 3.0.213. i googled a bit but couldn't find anything to help me. has anyone experienced anything like this? greetings
  5. Thank you so much, that helped me.
  6. hello, is there a possibility to define exceptions in a selector? this is my selector: $selector = "template=expertsItem, location=$location, department=$department, sort=expertSurname"; i would like this selector to give me everything from $ department but not the department with id 2131, for example. i have tried the following, unfortunately without success $selector = "template=expertsItem, location=$location, department=$department, department!=2131, sort=expertSurname"; do you have any idea for me how to solve this? thank you
  7. yes, that's the case with me. i have now installed the last update and everything works fine. existing backups now appear in the overview. thank you
  8. hi, at first sight the archives look good: about 500 MB. i was able to unpack the archive, everything seems to be in the right place
  9. thank you fly, thank you. now it works, but only with one exception. the package manager doesn't show the backups on the overview page, but you can find them under /site/assets/backups. i also tested different browsers, always with the same result. i also deleted the compiled files under module, no changes. and the logs: 14.05.2019 12:55:29: - package build failed. 14.05.2019 12:55:29: - package build failed, doesn't exist no stress, for me this is a small beauty error, i can live with it as long as the backups are made. but i don't mind if the overview page would work thx
  10. hi fly, I use the following environment: Windows Server 2016 Version 1.2.9 PHP Version 7.2.7 Duplicator Log: 13.05.2019 14:29:20: - job finished in 1.102115sec 13.05.2019 14:29:20: - package saved in local folder: 2019-05-13_14-29-19-xyz.package.zip 13.05.2019 14:29:20: - package built successfully in 1.097146sec as I said before, the database archive works perfectly, the rest unfortunately doesn't. thank you
  11. hello, maybe the topic has already been discussed, but unfortunately I didn't find anything to it. i have the problem that my site has to run under windows and iis, but Duplicator doesn't create a complete archive. the database can be archived, that seems to be complete, but the files don't. the archive always has only 1 KB. does anyone have an idea?
  12. hi teppo, muchas gracias, i will try it on monday in office, but i think i could work. of course
  13. hi dragan, i tried page->save() but i ran always in "internal server error". i think page->save() and this hook addHookAfter('save', $this, 'checkStateAndHide') looped everytime. i can't solved it.
  14. Hello, i'm writing my first module to learn and i would give my editors a handy way to unpublish pages. (i know this is possible with the settings-tab, but i want to solve it this way) on a page i have a checkbox "not active". if a editor check the box, pw should unpublish the page. for this i modified the helloworld-module like this but nothing changing on the page. how should i do this? thx public function init() { $this->pages->addHookAfter('save', $this, 'checkStateAndHide'); } public function checkStateAndHide($event) { $page = $event->arguments[0]; if(!$page->active){ $this->message("{$page->title} now hidden"); $this->page->addStatus(Page::statusUnpublished); } }
×
×
  • Create New...