Jump to content

froot

Members
  • Posts

    720
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by froot

  1. thank you! it works just fine
  2. hello everyone, I hope you're enjoying your Sunday, I have a limit of 5000 mails per day on the mail server and 5000 mails per day on the web server. I'm usually sending emails over the mail server, contact form, newsletter and more, seldomly on the web server. So the mail server limit is reached rather quickly, the web server limit as good as never. Is there a way to (1) catch a failed attempt to send an email (if the limit is reached) and (2) to continue sending emails over the web server when the mail server limit is reached? And then what's the exact API to send over php as opposed to WireMailSMTP ? thanks for help!
  3. apologies, didn't mean to be rude, I'm not complaining at all, contrary to your impressions. Thanks a lot for your help and the module works perfectly! Caught a lot of emails that went nowhere. I need to figure out a way to clean up the logs, maybe with a lazycron? or maybe split it up in more files so I don't have to handle huge files at some point. Also, maybe there's a way to access the very log folder of a web server via PW? like /var/log/
  4. ho ly cow… rock-mail-logger-bak.txt is 10.17 GB ? no wonder. what's a better practice? now with a fresh and empty rock-mail-logger.txt no issues.
  5. chunk for chunk? Not sure how to do that tho but thanks so far
  6. I have a couple of log modules installed. rockmaillogger is the only one that triggers a 504 Gateway Timeout Is that server specific? Something quota issue? Too much data? Or is it a bug? (As a comparison, I also have a Promailer-email log module that estimates 1629756 entries and shows the first page (1-100 entries) alright. However, that one doesn't let me move on to page 2 and further.)
  7. OK that makes sense and you guessed right, my setup looks like screenshot #1 I can of course change it to be like #2 and point the/map subdomain to their folder accordingly. What do I have to consider? I guess I have to change a path somewhere in the setup? config.php? .htaccess? javascript files? database settings? The site is live, you know…
  8. I'm trying to install Matomo on my host (world4you). For that purpose, I created a subdomain, a database and a folder in the root. In the subdomain settings I let it point to the created folder. However, the contents of the folder cannot be accessed in browser because it's redirecting to www So I have analytics.mydomain.tld and it's redirected to www.analytics.mydomain.tld I guess that's a .htaccess issue in the first place. But how do I amend the .htaccess-file of the site-root without affecting the main site? Here's I guess the relevant part of the .htaccess file # ----------------------------------------------------------------------------------------------- # 13. Optional domain redirects (O) # # Redirect domain.com to www.domain.com redirect (or www to domain.com redirect). # If using then uncomment either 13A or 13B, do NOT uncomment both of them or nothing will work. # ----------------------------------------------------------------------------------------------- # 13A. Redirect domain.com and *.domain.com to www.domain.com (do not combine with 13B): # ----------------------------------------------------------------------------------------------- # RewriteCond %{HTTP_HOST} !^www\. [NC] # RewriteCond %{SERVER_ADDR} !=127.0.0.1 # RewriteCond %{SERVER_ADDR} !=::1 # RewriteRule ^ %{ENV:PROTO}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # 13B. Redirect www.domain.com to domain.com (do not combine with 13A): # ----------------------------------------------------------------------------------------------- # RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] # RewriteRule ^ %{ENV:PROTO}://%1%{REQUEST_URI} [R=301,L]
  9. does this work for piwik.pro too? or is it the same thing? If so, is there a way to handle the Privacy Settings Script? And the Collected Data Handling Script? both from piwik.pro And then, how can I check if it's working? I can see the pk-cookies in the console, but after opting out of statistics-cookies (I use PrivacyWire) the cookies are still there. Is that normal? Thanks for help!
  10. hi, thanks for getting back, I think I know where the issue is, I posted about it somewhere before. The issue must be, that my page using the SettingsFactory-process is hidden. If it's hidden, it cannot save values, only if it's unhidden it can save.
  11. I have a weird issue, some values aren't saved. There is no error or whatever, it actually says: Saved: Einstellungen (that's the name of my page), but after saving, the field is empty again. The same file (the php file with all the custom fields that is needed for the settings-factory to work) works on a different PW installation, but not here. Any ideas why? EDIT: I uninstalled and reinstalled the module, now not one value gets saved on my custom settings factory page. Still with no error, just the success message: Saved: Einstellungen Might that have to do with some php settings? Thanks for help!
  12. Just looking at this line of code I doubt that would accomplish what I had in mind. You're incrementing the id by 1, what I meant is to reset the unnecessary incrementing during testing.
  13. any news on that front?
  14. not an easy fix for me. In the action options I can only select the field inside the repeater, not the repeater. Not sure why I would want that, but there's no easy way to get to the field's "parent" repeater. Also, I guess, the issue might be that you need to specify which one of the many repeaters – thus multiple repeater's subfields with the same name – to set the value for.
  15. I figured out what's with the memory exhausted problem. That is solely related to whether or not I do an automatic database backup or not. So I do have a work around, you know, just not do database backups. It might just have to do with the server, I will look into that, but it's not urgent.
  16. I'm trying to use the core admin action Field Set or Search and Replace to set a value of a field inside a repeater field. That doesn't work, I tried with the option "Use Regex" ticked and unticked as well as the option "default" Language ticked and unticked. I guess repeater fields are more complex for this action to get the job right. Any suggestions?
  17. Not sure if that makes a lot of sense or even if it is possible. I happen to find myself iterating the page IDs and other IDs a lot during testing, only to delete the pages and whatnot afterwards. So I'm basically iterating the IDs for no good reason. Wouldn't it be nice to have a module that can reset that ID in the database, either manually or automatically, say upon deletion?
  18. I'm having the same issue as mentioned above Optimize table to reclaim space and reorganize indexes. I don't know what is going on here actually. Is that a reason for concern? Does that have to do with the database configuration? Also, I almost exclusively see this warning next to custom fields that are created for a custom module of mine upon installation. So naturally I wonder if I misconfigured something inside that module? Thanks for help!
  19. How can I add a classic I have read and accepted the privacy policy and terms and conditions-checkbox that needs to be ticked before submitting to the subscribe form in ProMailer?
  20. this works fine: $modules->getModuleEditUrl($className);
  21. maybe I made myself not too clear or I'm not getting something very basic. I want to have a link inside the /admin/setup/ dropdown menu that brings me to my modules settings page. My module extends class WireData implements Module, ConfigurableModule, so the settings of the module are defined in an array of different fields in a separate php file outside the module's class. If I click on the module or on "Settings" just where the module is in the modules list, it brings me right where I want to be. I just want this page easier accessible.
  22. how can I add a shortcut to my module or my module's settings page (which is the same in my case, I think) inside /admin/setup/ (dropdown) ?
  23. Thanks for looking into this Bernhard. I'd love to make it more backwards compatible though, so I'm still trying to solve it old-school. Here I'm getting the first field of the template that is an image field, not really relevant but what ever. foreach($item->fields as $field) : if($field->type != 'FieldtypeImage'){continue;} else {$imagefield = $field; break;} endforeach; $imageHttpUrl = $item->$imagefield->first->httpUrl; This seems to always work when the field is set to array or automatic and whether the field is populated with just one or more images. That's good enough for me. However, now I'm wondering, if the field is not populated at all, how I can make it work for the fall-back value that you can set for an image field, you know? The one you specify in the "Details" or "Advanced" tab of the field settings.
  24. OK turns out ->ext is misleading and not the right property to set here. ->extensions works though, what do you know.
×
×
  • Create New...