Jump to content

pleini

Members
  • Posts

    62
  • Joined

  • Last visited

Everything posted by pleini

  1. We have the same problem. Any suggestions on how to solve that? How did you solve that iNoize?
  2. Yeah they are always very fun with some alcohol involved ?
  3. Our whole international website is based on processwire, we have a pretty advanced installation with several countries, domains and CDN
  4. Please check here, you can find the full job post: https://jobs.zu-zweit.de/webdeveloper/de in German har har ? The position is in Munich and partly remote possible. If you have further questions, just let me know.
  5. The thing is the whole right management doesn't make so much sense. As soon as a user has edit rights for admin templates (which he needs to edit templates) he can edit itself and add any role he wants since all are managed by the same admin template. So how should I achieve this: I want to create a User that can create/edit/delete pages, and can create/edit/delete fields and templates, but can not create/edit/delete users. @ryan is that possible with the core user rights management?
  6. I have already read this. When i am trying to manage the access to different admin pages (like templates, fields, or users) i can only configure them in the admin template. Am i right that i can only grant access to all of those pages or none for a role (Message on users page for example: "Access is defined with this page's template: admin" )
  7. Hello, i am currently trying to restructure my user roles. I want to create a User that can create/edit/delete pages, and can create/edit/delete fields and templates, but can not create/edit/delete users. As far as i see the is no specific permission for users, fields or templates. As i saw only superuser can edit templates and fields currently. Have i overseen something or is it not possible with the default rights management to create a user with those permissions?
  8. Thank you @BitPoet the solution from the github issue solved it for me.
  9. I have problems with some 404 URLs, that are not rendering the page_not_found template but the home page template instead. Normal URLs that don't exist like /this-page-does-not-exist are redirected to my 404 page without any problems. But for URLs like /cool-page%20abc /page&=123 /pagename'A the home page is rendered. But when i am checking the webdeveloper console, the return code is 404 Do i miss some configuration? Thank you
  10. i already tried with clearing the cache, but that did not help. The error occurs when i have nothing changed at the modules at all (nothing renamed, no modules installed or deleted).
  11. thanks for your answer @netcarver yes that could be indeed the reason for that. i have created an issue for this bug: https://github.com/processwire/processwire-issues/issues/46
  12. We have a autoscaling Application with multiple instances, which can be replaced by the autoscaling, what means that its a completely new instance, so the cache folder does not exist and has to be filled again by the compiler.
  13. Hey, I have a question regarding the fileCompiler: is it possible to compile all files (templates + modules) with the filecompiler at once after a deploy (in a composerPostinstall for example) and disable it afterwards completely. The problem is, when i am deploying a new version to my instances, the cache folders might be replaced, so the files need to be recompiled when the first user is visiting the page after deployment. With that "pre-compilation" i want to prevent that the users have to wait for the filecompiler to compile. Thanks Chris
  14. Hello Guys, i have a question regarding the fileCompiler of PW 3.x. On my page i am monitoring the execution times and sometimes i have some peaks in the execution time. I profiled the code and i recognized that those peaks come from the fileCompiler, more specific from the function compileNamespace (preg_match_all takes the most time). So my question is, how does the FileCompiler decides when it compiles the files, and would it be possible that i trigger the compilation of all files after a new deployment so that during requests of visitors of my page there are no compilations, to keep the loading times as low as possible? thank you Joscha
  15. yes, it only occurs when PW is trying to access, when i ssh to the instance i can see and open the files.
  16. The module from the screenshot is inheriting the FieldtypeFile module and is adding some additional meta fields to the file and is hooking on file save and uploads the file to amazon s3. Another module that failed is inheriting the ProcessRedirects module. Another module is an autoload plugin that adds multiple hooks to Page::render or Page::save where we replace texts or populate fields on pages automatically. Sometimes it happens as well that the class of the inherited module is not found. So for example FieldtypeFile, ProcessRedirects, FieldtypeImage. We hadnt that problem in 2.x. Maybe its a problem with the FileCompiler?
  17. yes i already tried upgrading to 3.0.30 but the problem still exists on that version
  18. Hey guys, i am using PW version 3.0.25 and i am hosting my site on AWS. I have encountered a problem that randomly after a deploy some modules are not available. It happens randomly, and to different modules. Clearing the FileCompiler Cache does not help in this case, after a redeployment the error is gone most of the time. Somebody has encountered the same problem or has any tips? Screenshot of the error message is attached Thanks and best regards Joscha
  19. Hello, i have encountered a random problem with my processwire page. I have build a simple php file where i include the processwire index.php and run 1 simple database query and echo the total execution time of the script. I call this file periodically to check the performance of the page. Most of the time the execution time is under 0.5 seconds, but some times i goes up to over 3 or 4 seconds. The database query takes very little time, so the problem seems to be in the code called in index.php. I checked my server and database metrics and they look perfectly fine. Has anybody experienced similar issues before? Or do you guys have any tips how to debug that issue the best? Thanks for your help in advance BR Joscha
  20. Hi, thanks for the suggestions! I think multiple copies of the same module is not the best solution, because it's not update safe. If they release an updated version of the module, we have to create a copy again. Meanwhile I found a possible solution. They create the page for the Setup menu in the install() function of the original class. In the extended class I update the original page. $page->name = self::pageName; $page->process = $this; So the page process will be the extended class. What do you think about this solution?
  21. Hello, We are using Processwire 3 and sometimes we get error messages from the fileCompiler. The error message is always like "Class: 'MyClass' not found". It happened when I cleared the caches table from the database, but before it appeared randomly. Did you experienced anything like this? How can we get rid of this problem? Thanks for the help!
  22. Hello, I'd like to extend an existing module, because I want to add functionality to a not hookable function. How can I achieve that my extended class is called first? Currently both modules are appearing in Setup menu, so the original one and the extended as well. I want to achieve that if I click on the original menu item, my extended class is called. Thank you for the answers!
  23. Hi, I will check these modules, but TextformatterImageInterceptor module looks promising. Thank you for the answers!
  24. Yes thats exactly what i am looking for. Do you have any plans of continuing to work on it in the future? It would be awesome to have that
×
×
  • Create New...