Jump to content

pmichaelis

Members
  • Content Count

    50
  • Joined

  • Last visited

Everything posted by pmichaelis

  1. Hey, I keep getting errors when I try to visit the upgrades admin page. I thought it was a memory limit problem and increased the memory, but I still get the errors. /processwire/setup/upgrades/ Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) (Zeile 1266 in /var/www/htdocs/wire/core/WireHttp.php) Any hints? Never had problems with the upgrade module.
  2. @thomasaull It is a 1&1 issue. The article here describes it. 😎 https://www.phpgangsta.de/php-und-http-auth-bei-1und1-webhosting
  3. @thomasaull It seems that the authorisation headers are not present. Added the following line to the htaccess: RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] auth headers are stored in following variable $_SERVER['REDIRECT_HTTP_AUTHORIZATION']; Please don't ask why.
  4. Hey everyone, I did see, that other users were struggling with the problem, that there are no Markers displayed in the frontend, but I could not find any replies to that problem. If I render a map, the coordinates are correct, but the marker icon is not displayed. It displays in the backend, but not in the frontend, also if if but the path to a custom image in the map options. Nothing. Does anyone have the same problem? Thanks for any hints
  5. The jwt auth mechanism is producing errros on a live system. I allready looked for "Wrong number of segments", installed the module again, but the error is still there. Any hints on that? DATUM/ZEIT BENUTZER URL TEXT vor 2 Minuten 2019-03-29 13:22:58 api /api/v1/items Error: Exception: Wrong number of segments (in /cms/site/modules/RestApi/Router.php line 131). File: /cms/index.php:64
  6. @thomasaull the vagrant instance is using an apache. Well, it works now with my modifications of the Router.php. PHP Version is 7.2.
  7. Hey Thomas, I had some issues yesterday with the jwt-authorization. On a local development server (vagrant, ubuntu, apache). The authorization headers were empty. Therefore the getAuthorizationHeader method in Router.php returned null and the token was not returned. I made a small modification to the method and it works for me. Perhaps it is not the cleanest way, but it's ok for now. Just to let you know. // apache if (strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) { foreach (apache_request_headers() as $key => $value) { $headers[strtolower($key)] = $value; } } else { foreach ($_SERVER as $key => $value) { $headers[strtolower($key)] = $value; } }
  8. Hey, Thanks for that module. in the module description it says: Authorization: JWT To use JWT-Auth you have to send a GET Request to http://yourhost/api/auth with two parameters, username and password. The API will create and return you the JWT-Token which you have to add as a header to every following request: Actually I think it has to be a POST Request. In the "DefaultRoutes" the Route is defined like this. ['POST', '', Auth::class, 'login', ['auth' => false]],
  9. Ah, ok. Sorry, I used an older version. But upgrading seems impossible due to requirements ...
  10. Hey, thanks for this module and your work. Is there a way for managing permissions for the general settings page? I editied the module itself ans set up a custom permission, but it doesn't seem to work.
  11. Hey there, Great module. Thanks for the functionality. I am using checkboxes of a multi-lang page reference field in the subscription form and I was wondering if multi-lang fields are supported by default, because the checkboxes are not translated. The Label of the field is translated correctly, but not the rest. Thanks for some information.
  12. Some more Infos for the cssmin errors using php7 https://github.com/nystudio107/minify/issues/8 That seems to fix the errors
  13. Hey Bernahrd, really good work. Thank you so much for your effort!
  14. Wanted to let you know, that I had some issues with AOIM running php 7. Error messages were generated because of non well formed numeric values. Maybe the issues are bound to my hosting environment. The following changes resolved them Changend line 775 in /site/modules/AllInOneMinify/lib/cssmin.php to: return intval($size); Changed line 713 in site/modules/AllInOneMinify/AllInOneMinify.module to $_timestamp = intval($_timestamp . $file['last_modified']);
  15. Ok, thanks for the reply. I was just wondering, because the modal dialog keeps all these options. An altnernative would be to store the data (url, title, rel, target) as json in order to have them.
  16. Sorry, that I need to post my question again. Is there a chance for storing these values to the db?
  17. Hey, thanks for that module. Maybe I missed something, but how to get the propoerties, like target, title, or rel in a page template? Are these values stored anywhere? Thanks for help.
  18. Hey kongondo, I downgraded to 2.7.2 and the descriptions work ... Thanks for that.
  19. Sorry, I still can't figure it out. All the descriptions are not displayed as HTML. A can't update Menu Item, or anything else. Does anyone have a hint for me to solve this?
  20. Hey, thanks for your fast reply. I attached a screenshot with my current setup. You are right, the page is multilingual. Maybe you cna give me a hint, how I can solve this? It seems, that the HTML is not rendered correctly. I tried to edit the HTML of the decription field and put Markdon tags in the description, which are displayed correct.
  21. Hey kongondo, thanks for thi great module again. A few days ago I figured out, that the output of the main menu builder header is not formated in html. Maybe it has to do with some other modules installed, because I never had the issue, that the output is not "rendered" as HTML. Does anyone else have this issue, too?
  22. Hi, is there a possibility to have multiple marker icons? Right now I have "locations" pages, that belong to a category. Depending on the category I want to show different marker icons. echo $map->render($locations, 'geo', array( 'icon' => $icon, 'markerTitleField' => 'title', 'useMarkerSettings' => true, 'fitToMarkers' => true )); Thanks for any help.
×
×
  • Create New...