Jump to content

Soma

Moderators
  • Posts

    6,808
  • Joined

  • Last visited

  • Days Won

    159

Everything posted by Soma

  1. In new PW dev the croppable image has broken layout when uploading image. After saving the layout seems ok. The new image edit function isn't there as there seems to be some rewrite of markup. Could this be possible to have it working together?
  2. You add a "permission" to the getModuleInfo array with the permission the user/role needs to have to see the admin page.
  3. Last that I did at that time/day was install procache. Then I had troubles with Revive (AD tool) that we include in front-end banner scripts. It is setting UTC timezone due to a bug. So after that I did add script to set correct timezone after those scripts and it was working again. It's nothing that would be in backend only front-end scripts. But due to that procache wasn't porperly working and deleting cache all the time. At that time I think the issue popped up. There were no major changes other than procache. The update to latest PW was before that day and I did a update today. So far I can't reproduce it anymore. I change it back to as it was and it's working. When the error appeared I did refresh, delete all caches (db, files) but no luck until I changed the module and removed the "requires". Never experienced something like it. APC php cache is active on that server.
  4. Any thoughts on this?
  5. I have no idea why but when I comments out 'requires' => 'ProcessLoginHistory' in ProcessLoginHistoryHooks.module it suddenly works again. And the module is again listed in admin too. I add this line and it disappears ProcessLoginHistory.module isn't autoload module, that's the only clue I can guess.
  6. After looking a little closer, the table name isn't set, so finally it looks like the module ProcessLoginHistoryHooks isn't installed/loaded although it's there, just not listed in the modules. Module refresh does not help. Strange, according to the entries in the table the last login was friday evening, when it suddenly stopped recording. I have no idea what's going on but heard others had problems with modules suddenly disapearing. :/
  7. I have this installed on a project and was working fine until I wanted to open it up today and bamm TemplateFile: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY username DESC' at line 4 SELECT DISTINCT username FROM ORDER BY username DESC<pre>#0 [internal function]: Database->query('SELECT DISTINCT...') #1 /home/www-data/*/wire/core/DatabaseMysqli.php(35): call_user_func_array(Array, Array) #2 /home/www-data/*/site/modules/ProcessLoginHistory/ProcessLoginHistory.module(492): DatabaseMysqli->__call('query', Array) #3 /home/www-data/*/site/modules/ProcessLoginHistory/ProcessLoginHistory.module(492): DatabaseMysqli->query('SELECT DISTINCT...') #4 /home/www-data/*/site/modules/ProcessLoginHistory/ProcessLoginHistory.module(159): ProcessLoginHistory->renderFilters() #5 [internal function]: ProcessLoginHistory->___execute() #6 /home/www-data/*/wire/core/Wire.php(365): call_user_func_array(Array, Array) #7 /home/www-data/*/wire/core/Wire.php(320): Wire->runHooks('execute', Array) #8 /home/www-data/*/wire/core/ProcessController.php(213): Wire->__call('execute', Array) #9 /home/www-data/*/wire/core/ProcessController.php(213): ProcessLoginHistory->execute() #10 [internal function]: ProcessController->___execute() #11 ... This is on latest PW dev. There were no relevant changes as far as I can tell.
  8. The first question would be why you need Id as the name and not how to do it blindly. Most of th time theres a specific reason for such questions and without knowing more one can't help competently. It might be a complete wrong approach to something cause of lack of experience
  9. The thing here is to get the previous status the page had before saving.
  10. Just set $page->name manually when creating a page.
  11. "@processwire: New blog post: More new image editing features in the core this week - https://t.co/beGmEBDLP1"

  12. What version and is it in a tab Other than content?
  13. Maybe you don't have access righta to add a page there?
  14. With Autocomplete input you don't need a textarea it's just hitting enter a if it doesn't find it. Its different from the other input types.
  15. Another feedback I noticed a lot. Make the body overflow: hidden (if I remember correct) when a modal is opened. This prevents the page in the back to scroll. This is the problem with all modals, Lister etc.
  16. Oh forgot to ask. What is about the ProcessLatestComments module that is in modules directory, but there's also now a ProcessCommentsManager in core?
  17. Thanks Ryan, would be cool if that could be made compatible. Not sure there's too much overlaps? Would this be all of a sudden the default or could this feature be "to enable"? Guess it such a great and needed feature all of it that it must be default.
  18. Sometimes I can't edit an already inserted image. Does that happen to you guys too? CKeditor. I think this is or was the case since quite a long time. I get a JS error. Does this also work with the Croppable image field as it is extending the Image field? I figures it wouldn't work on a cropimage.
  19. Sure. Bring in the millions.
  20. Home/Root page always works and doesn't need htaccess to be working. So if home is working but others not it's a htaccess problem.
  21. Clearly a htaccess rewrite problem here.
  22. Uninstall a module PW will now create a ".ModuleFolder". You can then via direct download url install the module again and it will add a new folder. If using the class name it will find it already there and show message. Surely some quirks going on with core module manager.
  23. "@yellowled: Once again amazed about the speed, ease and fun that is possible when developing a site with @processwire. ♥"

  24. It need a field as object not as string.
×
×
  • Create New...