Jump to content

gebeer

Members
  • Content Count

    1,015
  • Joined

  • Last visited

  • Days Won

    23

gebeer last won the day on February 18

gebeer had the most liked content!

Community Reputation

1,097 Excellent

1 Follower

About gebeer

Profile Information

  • Gender
    Male
  • Location
    Thailand/Germany

Recent Profile Visitors

9,993 profile views
  1. @iNoize you are talking about SeoMaestro. But this is the thread for MarkupSeo module 😆
  2. Thanks for clarifying. Which hook would you use to trigger deletion of logger entries, ___executeEntity or ___executeCommit?
  3. Actually, I set this up once for multiple projects. Now every time I add a new project it takes me 5 minutes which is ok for me 🙂
  4. Let me throw https://laradock.io/ into the mix. I've been using it for the last 3 years or so. Absolutely great.
  5. @Mike Rockett has this been addressed yet? I have a customer complaining about this. Would be really nice if those 404 entries got removed. Any plans on implementing this? And thousand thanks for this great module!
  6. I tried both but it didn't help. Also I uninstalled and removed the module, deleted all cookies, local storage and session storage and then reinstalled. Problem persists. Can't see what the invalid escape sequence could possibly be. On my local dev install of the website, I don't have that problem. I'll try to find the cause for this behaviour and will let you know here. Thanks again.
  7. Thanks for that hint. I already had deleted cookies and local storage. Didn't help. Problem persists across browsers, also in private mode. So it doesn't seem to be related to local storage.
  8. Hello, on one of my installs the editor window in the Console in the backend doesn't show up and I get this error in the JS debug console: Uncaught SyntaxError: invalid escape sequence evalScripts .../admin/module/edit?name=TracyDebugger&collapse_info=1&_tracy_bar=js&v=2.5.9&XDEBUG_SESSION_STOP=1:514 forEach .../admin/module/edit?name=TracyDebugger&collapse_info=1&_tracy_bar=js&v=2.5.9&XDEBUG_SESSION_STOP=1:665 evalScripts .../admin/module/edit?name=TracyDebugger&collapse_info=1&_tracy_bar=js&v=2.5.9&XDEBUG_SESSION_STOP=1:508 init .../admin/module/edit?name=TracyDebugger&collapse_info=1&_tracy_bar=js&v=2.5.9&XDEBUG_SESSION_STOP=1:35 displayTimeout .../admin/module/edit?name=TracyDebugger&collapse_info=1&_tracy_bar=js&v=2.5.9&XDEBUG_SESSION_STOP=1:302 setTimeout handler*initTabs/</< .../admin/module/edit?name=TracyDebugger&collapse_info=1&_tracy_bar=js&v=2.5.9&XDEBUG_SESSION_STOP=1:297 initTabs .../admin/module/edit?name=TracyDebugger&collapse_info=1&_tracy_bar=js&v=2.5.9&XDEBUG_SESSION_STOP=1:291 forEach .../admin/module/edit?name=TracyDebugger&collapse_info=1&_tracy_bar=js&v=2.5.9&XDEBUG_SESSION_STOP=1:665 initTabs .../admin/module/edit?name=TracyDebugger&collapse_info=1&_tracy_bar=js&v=2.5.9&XDEBUG_SESSION_STOP=1:264 init .../admin/module/edit?name=TracyDebugger&collapse_info=1&_tracy_bar=js&v=2.5.9&XDEBUG_SESSION_STOP=1:254 init .../admin/module/edit?name=TracyDebugger&collapse_info=1&_tracy_bar=js&v=2.5.9&XDEBUG_SESSION_STOP=1:388 <anonymous> .../admin/module/edit?name=TracyDebugger&collapse_info=1:284 edit:1:155320 This has been going on for some time. Also persists after upgrade to v4.21.20. Refreshed modules, cleared all cookies and local storage related to TD to no avail. Console looks like this and div#tracyConsoleEditor is empty: Any help on how I can back the console editor would be much appreciated.
  9. HAving similar PHP warnings here PHP Warning: exif_read_data(1-transf-kosk4-min.gif): File not supported in /home/m1698/Sites/processwire/site/modules/FileValidatorImage/FileValidatorImage.module:398 On this install I'm running images attached to a frontend form upload through the FileValidatorImage module which I installed first. This module uses PHP's exif_read_data function. And that doesn't seem to support gif. Couldn't find a list of supported file types in the PHP docs, though. I don't really worry too much about the warning itself. Only the mails I get from Tracydebugger get annoying after a while ;-) Just posting for reference.
  10. The wire folder is already in my workspace. Or do you mean I have to add it in VSCode in the workspace settings? After adding namespace ProcessWire to my template files, I got rid of these errors.
  11. VSCode with intelephense, in the Problems tab I always get this error for __() language string function Anyone knows how to get rid of this? Just found out that it was a namespace problem. When namespace ProcessWire is not declared, intelephense will throw this error.
  12. If I understand this correctly, then your default language should be German. What was the reasoning behind switching languages in your case? If you want to write a PHP script, maybe my old script can give you some pointers. I wrote that years ago when I wasn't very experienced in working with the PW API. So there sure is much room for improvement.
  13. @Florian Thanks for sharing! I also wonder why we do not have this in the core.
  14. After looking through it, it should be compatible with 3.x. Most paths haven't changed since 2.x But in 3.x there are lots of new .htaccess rules. I wonder if anyone has already "translated" them to Nginx?
  15. Guess you need to initialise the map in your callback function to make it render. I'm using Openstreetmaps with this code { name: 'openstreetmaps', default: false, title: 'Open Street Maps', purposes: ['localityinfo'], cookies: [], callback: function (consent, app) { if(consent && window.initMap !== undefined) { setTimeout(function() { window.initMap(); }, 1000); } } } You see that window initMap() gets called here. You need to make sure that you can call your init function code for your Google map from the global namespace. I have a function initMap() that sets aup the map function initMap() { // console.log(window.L); if (window.L === undefined) return false; const mapcontainer = document.getElementById('map'); const latlng = JSON.parse(mapcontainer.getAttribute('data-latlng')); const address = JSON.parse(mapcontainer.getAttribute('data-address')); mapcontainer.removeChild(mapcontainer.getElementsByTagName('img').item(0)); var mymap = window.L.map('map').setView(latlng, 10); window.L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', { attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>', maxZoom: 18, id: 'mapbox.streets', accessToken: 'xxx' // get from https://account.mapbox.com/access-tokens/ }).addTo(mymap); var marker = window.L.marker(latlng).addTo(mymap); marker.bindPopup(address)/* .openPopup() */; } and attach it in my JS to the global namespace addEventListener('DOMContentLoaded', () => { if (document.getElementById('map')) { window.initMap = initMap; } });
×
×
  • Create New...