Jump to content

ceberlin

Members
  • Posts

    531
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ceberlin

  1. the fix is temporary, i fear - with the wrong settings the problem re-occurs. My log was becoming huge, probably only because of a cron-job cleaning up. (80.000 entries with lots of MB), all built up within a week.

    If there would be a setting not to log system actions (or log them differently, maybe shorter) it would be easier to know what's going on with with the editors because their changes can be stored longer (not so many entries normally)?

  2. With the Changelog activated I start receiving out of memory errors with the PW Backup:

    Fatal error: Allowed memory size of XXXX bytes exhausted (tried to allocate 20480 bytes) in //www-office/wire/core/WireDatabaseBackup.php on line 1269

    Uninstalling Changelog makes the backups run fine again.

    ProcessWire 3.0.125 ,
    Changelog   1.5.5
    PHP 7.2 Apache 2.4
    256 MB Memory

    Is anyone else seeing this?

    Update: I found out from a backup (when it worked) that the plug-in can collect huge amounts of data. I moved the info over to GitHub, with the details.

     

    • Like 1
  3. 7 hours ago, jmartsch said:

    Sorry, I did not read your comment correctly. If you use images in a textarea I think you could replace the relative image url with a textformatter.

    Thank you... sounds like a cool idea. The textformatter would not be the way to go for me as I - in general - like PW's pagefileSecure feature.

    Right now I am thinking of a workaround (not tested yet). Since the pagefileSecure blocking is only active on (1. pages that are hidden from "guest" users by rights restrictions (or 2. pages are unpublished), I will try to publish some innocent blank page that remains visible to users and load the needed images there into some file field in the backend. Then I would reference those (not blocked) images in the textarea of the PDF source page -  and the rights problem is maybe bypassed.

    • Like 1
  4. I have problems printing images embedded into a textarea if the config.php has this setting: $config->pagefileSecure=true

    ERROR: Could not find image file (.............. /site/assets/files/2922/unterschrift.jpg)

    The file actually is stored under this path: ............... /site/assets/files/-2922/unterschrift.jpg

  5. Simple question, in your instructions, what do you mean by

    1. Call the module from your home.php template $modules->get('Blackhole')->blackhole();

    If I add this code somewhere on the homepage's php code, I get a 404 in the frontend, which I actually expected to happen (same behavior as on blackhole.php).

    (problem gone)

  6. Maybe there should be a note in the plugin settings that using Checking EU is sending personal IP data to extreme-ip-lookup.com (USA?) and restcountries.eu which might be breaking GDPR law (Server location?), when checking that option.

    [OFFTOPIC] Tracy: I only use parts of it, especially using bd() causes an Uncaught Error: Call to undefined function bd - had no time to figure that out yet [/OFFTOPIC]
    ... your question replied the quick 'n dirty way:

    echo "|" . ($this->get_user_ip_addr()) . "|"; 

    returns   |::1|

    The notice only appears when first visiting the page, it is gone after a refresh and visiting other pages of that site.  (PHP 7.1)

    My solution for now: Unchecking the EU feature.

    • Like 3
  7. I just discovered the module today and it is very handy for my Cients <-> Contracts many_to_many relation. Now I can connect those from both ends. Works! Fantastic!

    Thank you very much for this time-saver.

    • Like 1
  8. Backups can live their own live. I tend to download them from time to time (some customers do also). Since they can contain sensitive data, it is just another level of protection to have them encrypted. (I know, WordPress modules can be much worse in offering to *mailing* sql backups. Anything can happen there.)

  9. I get a notice here, maybe that is interesting....

    PHP Notice: Trying to get property of non-object in site/modules/VersionControl/ProcessVersionControl.module:660

    if ($diff && wire('fields')->get($field)->type instanceof FieldtypeFile) $diff = "";

     

  10. Hi Horst, I saw from a screenshot you posted earlier that you found a way to remove the PW Crop button (next to the Variations button).

    (My users get confused by the cropping the module requires and they need to do -  and the additional generic PW cropping button.)

    How did you hide that generic PW crop button? Did I miss a setting somewhere?

×
×
  • Create New...