Jump to content

Matze

Members
  • Posts

    58
  • Joined

  • Last visited

Posts posted by Matze

  1. Hello Juergen,
    thank you for you quick response.

    I'm running ProcessWire version 3.0.210 on PHP Version 8.0.28

    As a workaround i tried to delete  :null and now it works without any errors as far as i checked. But i guess, this should certainly not be the way to solve the problem. Can it maybe be influenced by other modules? I tried to install on my local as on my staging version and the error occurs on both sites. So possible this is influenced by something else?

    Thank you
    Matze

    • Like 1
  2. Hi,

    it's a useful feature for a template to make a "List of fields to display in admin Page List" to make them easier to find in Admin Page List. But if i'm using the list of pages in the page reference multi page tree view, it only shows the standard title, but not the "list of fields" defined for the template. Does anybody know how to make this work?

    Thx.

  3. On 7/7/2022 at 8:55 PM, teppo said:

    "Allowed memory size exhausted" is often a sign of a loop somewhere, but in this case it's more likely just an issue with your hosting environment or PHP configuration: 16777216 bytes = 16 megabytes, which is quite a small amount of memory. It's not surprising that it keeps running out.

    Is this an actual limit of your hosting package, or have you configured PHP to only use 16M? Either way I would recommend raising the limit to at least 64M, or preferably 128M.

    Yes! Thank you very much. I found a way to raise it up to 512 MB in the Control Panel of the hosting. Now it works.

  4. 17 minutes ago, gRegor said:

    Is there anything in /site/assets/logs/errors.txt (or exceptions.txt)?

    Oha!
    Well … i have no idea how to fix this.
     

    2022-07-07 19:09:46    ?    http://neo-form.com/    Fatal Error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)
    2022-07-07 19:09:47    ?    http://neo-form.com/    Fatal Error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)
    2022-07-07 19:09:54    ?    http://neo-form.com/    Fatal Error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)
    2022-07-07 19:10:24    ?    http://neo-form.com/    Fatal Error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)
    2022-07-07 19:10:25    ?    http://neo-form.com/    Fatal Error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)
    2022-07-07 19:12:52    ?    http://neo-form.com/    Fatal Error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 548864 bytes) (line 1686 of /srv/vhost/neo-form.com/home/html/wire/core/Modules.php)

     

  5. 7 minutes ago, gRegor said:

    Is there anything in /site/assets/logs/errors.txt (or exceptions.txt)?

    I will usually turn on error_reporting and display_errors in index.php or ready.php:

    error_reporting(E_ALL);
    ini_set('display_errors', '1');

    Thanks for this idea. I pasted it in index.php and there is still no error message.

    Interesting thing - if i put

    <?php namespace ProcessWire;
    error_reporting(E_ALL);
    ini_set('display_errors', '1');
    echo 'test';

    it outputs "test" on the blank page. Status code is still 500.

     

  6. Hi

    I'm trying to install a page on https://www.arsys.net 

    (It's not my first PW installation, i made dozens of them before on different servers. On this hosting for the first time. This error i never had before …)

    √  htaccess works, (except Options -MultiViews, has to be commented)

    √  php 8

    √  Database connection works

    I'm going through the clean installation process step by step

    Everything works fine

    After clicking the last step … the following page looks like nearly empty (attached screenshot, header but no content)

    If i try to opne the root of the page it's blank white  (http status code 500)

    config errors are set to true
     

    Any ideas where to start searching for this strange problem?

     

     

    Bildschirmfoto 2022-07-07 um 17.30.21.png

    Bildschirmfoto 2022-07-07 um 17.26.14.png

  7. Hi there, does anyone know a module or tutorial about how to create an navigation of a children page list.

    Example:
    a listing page has 100 children (blog posts or similar)
    the listing page should list the children
    Each listing result page should show 10

    Navigation like this:

    <<PREV  1 2 3 4 5 6 7 8 9 10 >>NEXT

    I think this is a common thing, but i couldnt find a ready to use solution (maybe i just don't know the right name of it)

    Thanks, 

    Matze

  8. Hi there,

    I'd like to add some individual tags with classes directly into the edit field under Admin > Setup > Fields > MyCKfield

    I can't manage the JSON thing. There is this example in Javascript: https://github.com/processwire/processwire/blob/master/site-default/modules/InputfieldCKEditor/mystyles.js
     

    CKEDITOR.stylesSet.add( 'mystyles', [
    { name: 'Inline Code', element: 'code' },
    { name: 'Inline Quotation', element: 'q' },
    { name: 'Left Aligned Photo', element: 'img', attributes: { 'class': 'align_left' } },
    { name: 'Right Aligned Photo', element: 'img', attributes: { 'class': 'align_right' } },
    { name: 'Centered Photo', element: 'img', attributes: { 'class': 'align_center' } },
    { name: 'Small', element: 'small' },
    { name: 'Deleted Text', element: 'del' },
    { name: 'Inserted Text', element: 'ins' },
    { name: 'Cited Work', element: 'cite' }
    ]);

     

     

    I need a "translation" into JSON on how to put this into the "Custom Config Options" field for the same result.
     

    Thanks for your help!

     

    image.png.487346b90fad0dd95e8f53fa70dd1f6a.png

  9. Hi,

    for items in repeaters and matrix there is this little on/off switch to temporarily turn them off and on. Are there any options like this for single fields too? Espcaially for fieldset (page)? Or is there maybe a module for this? (couldnt find, but maybe i havent used the right keywords).

    Of course i could add a checkbox myself and code the exception but maybe there is a more elegant solution for this?

    Thx!

     

  10. Hi,

    is there a way to activate the option Input > Visibility > Presentation > "Open when populated + Closed when blank" for a Fieldset (Page) containing some fields like text or textarea?

    To me it is always open, even if all fields inside are empty.

    Thx, Matze

  11. Hi,

    I'm trying to get the id of a specific, non empty Textarea field, but my code returns an error:

    // "Formattext01" = name of the textarea (ckeditor) field
    
    // code in template:
    
    echo $page->Formattext01
    
    // returns the content as expected
    
    echo $page->Formattext01->id
    
    // Notice:  Trying to get property of non-object in /Users/websites/testpage/site/templates/basic-page.php on line 1

    I guess i overseen something? but what?

    thanks for help!

     

  12. Hi there,

    i need around 20 simple text fields in a template, same properties for all, except the "label" (or title to use it in code). Something like this:

    painter: _____________
    period: _____________
    canvas material: _____________
    painting technique: _____________
    etc

    is there a way to avoid building 20 single fields? I use pro fields too, but cant see any solution e.g. with Multiplier or table.

    Thank you

    Matthias


     

×
×
  • Create New...