Jump to content

dragan

Members
  • Posts

    2,007
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by dragan

  1. 3 hours ago, wbmnfktr said:

    have you ever noticed high CPU load in Chrome/Brave on a UIKIT website while it's just sitting there in your browser tab for a few minutes?

    Nope. Did you inspect it for JS errors? This could be anything really, maybe the browser tries to fetch something that an adblocker blocks, or just plain network or general JS problems (often caused by 3rd-party widgets).

  2. 7 hours ago, jsilmarovi said:

    This is what I got on the log message

    Well... did you actually read it? There are useful hints in there, starting at "IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly." And there are several suggestions under "Things you can try".

    Take a look here: 

     

    • Like 2
  3. 18 minutes ago, Gadgetto said:

    Thats really bad (at least in my opinion). In MODX

    That's "where I come from" as well :-)

    20 minutes ago, Gadgetto said:

    And translation has to be done manually after that within PW.

    That has been bothering me for quite some time too - in the context of PW Pro modules that were going to be used in a ML setup.

    I had to translate every single string of Lister Pro, Pro Fields.... modules etc. myself, so that the client's backend-admins / authors had the interface available in their own language as well. This - to me - is a massive oversight by Ryan. You buy a Pro module, and probably every other aspect in the work-flow is ML-capable, but the actual backend GUI is not.

    • Like 1
  4. 1 hour ago, Gadgetto said:

    is there currently no way to provide/preinstall language files with a module?

    Not as far as I know. (only with site-profiles, but that's a completely different scenario)

    I guess one reason is that you probably don't want to install another language, just because a module author has a pre-defined set of languages that don't match with your own site setup.

    Though I assume if you would create new templates with your module, and use the __() syntax, PW will automatically create the necessary JSON translation files. Or at least, PW will list them in the language menu (where you can select templates that don't yet have a ML JSON file, and then you can create new json files and fill in the strings on the following step).

    <offtopic>
    multi-language handling in any system is complex. The more you have to deal with it, and dig deeper into the subject, the harder it gets.
    </offtopic>

    • Like 1
  5. It depends where and in how many places you will use the countries list.

    You could make it part of the module's config routine: Let the admin map each PW-language to the country-language-set (similar to what we all know when we import CSVs). 

    If you need the country strings in more than just one part of the site, you could create a dedicated tpl, page-tree and with multilang title field populate the site's language fields.

    • Like 1
  6. @Knubbi I can't believe anyone is still considering 1&1 as a viable hosting option for... anything really.

    On 12/16/2019 at 6:32 PM, Knubbi said:

    1&1 is not willing to allow more connections in the MySQL configuration

    According to this, you should be able to do so.

    And according to this, you should grab your things and run for the hills.

    I can't recommend any hoster in Germany (I live in Switzerland, and all clients insist on a .ch hosting company), but I'm sure you'll find something more professional, serious and stable than what you currently have. In the long run, the extra bucks you spend will be money well-spent. (but of course, there are black sheep everywhere in the industry, not just in the lower-price area)

    • Like 1
  7. Well, that's just weird, and certainly not typical for PW at all (quite the opposite).

    Did you check the browser console (JS errors, network panel) for hints? Apache logs? PW logs?

    Is this one of the default PW installations / profiles, or did you already customize a lot?

    I guess it's some weirdness in the server setup, or DB causing the lag. Perhaps you need to adjust your .htaccess file? Is it slow in the frontend and in the backend?

    • Like 1
  8. I think PW should update the first time you access a page using the new template automatically. 

    You can disable file-compiler on a per-template basis: (perhaps best to disable it for all templates while you are still developing)

    setup > templates > edit template x > tab "files" > "use compiled file?"

  9.  

    On 2/20/2019 at 8:51 PM, NorbertH said:

    Reuse fields as often as possible.

    @NorbertH Ryan has created a few pro fields that are meant to be much more efficient, like Pro Fields Table and Textareas. Maybe you should try them out. Chances are, you can significantly reduce the number of fields, and hence, the number of DB queries. Most people just buy it for Repeater Matrix I guess, but Pro Fields has some other goodies as well...

    • Like 1
  10.  

    19 hours ago, MarkE said:

    "This site is hitting a firewall security rule: COMODO WAF: URL Encoding Abuse Attack Attempt"

    A quick search for this COMODO stuff returned this interesting result: https://help.comodo.com/topic-212-1-514-5943-.html

    Apparently, you can fine-tune which rules to activate or not. Perhaps it's possible to narrow down the firewall rule*, and de-activate it on PW-admin pages / URLs. Whether your hoster allows this, is of course another question...

    * I guess it's #950107 from https://www.netnea.com/cms/2016/01/17/most-frequent-false-positives-triggered-by-owasp-modsecurity-core-rules-2-2-x/

     

  11. Well, that's strange. Seems like your hoster prohibits a query with "get" (?).

    When you said "logs": did you refere only to PW-logs, or also Apache logfiles? Check both.

    You could also add ?get={firstname}%20{lastname}%20-%20{email} to any other PW page (FE + BE) and see if the same happens.

  12. Do you mean MarkupPagerNav? I never tried to use this inside a custom admin page, I'm not even sure it's supposed to work in the backend too.

    Looking at the docs (filed under "frontend")... did you do step 2?

    Enabling Pagination
    Determine what template(s) you want to use pagination with. Go to Admin > Setup > Templates > [Your Template] > URLs, and check the box for: Allow Page Numbers. Save.

    Most likely, your template is "admin" (?), so I'm not sure if this possible at all.

×
×
  • Create New...