Jump to content

Andreas Augustin

Members
  • Posts

    46
  • Joined

  • Last visited

Posts posted by Andreas Augustin

  1. Hi!

    Thanks for this module!

    Is it also possible to use it with some Redis SaaS Services like Heroku? This Service uses some authentication on their Redis Server...

    E.g. redis://password:user@redis-instance.eu-west-1.compute.amazonaws.com:29029

  2. 9 hours ago, Robin S said:

    Thanks for the report. Are you running PHP 7.1? I think that's the version that started enforcing stricter numeric values and throwing errors like this.

    I tested in PHP7.1 and I can't reproduce this issue. Also, I can't see how this error could be connected to HannaCodeDialog. From what I've read the "non well formed numeric value" error occurs when some arithmetic or other operation that expects an integer receives a string instead. And line 118 of Database.php is:

    
    $timerTotalSinceStart = Debug::timer() - $timerFirstStartTime;

    So probably Debug::timer() or $timerFirstStartTime is not an integer, but this is core code that relates to the debug mode tools and HannaCodeDialog has nothing to do with that.

    Do you see the error as soon as you install HannaCodeDialog? Do you see it if you have no Hanna codes defined when the module is installed (I'm wondering if the problem is with one of your Hanna codes rather than the module itself)? If you uninstall HannaCodeDialog does the error go away?

     

    I will support this in the next version. The intention was to avoid needlessly attaching the plugins to every instance of CKEditor if the textformatter wasn't applied to that field, but I guess to support $hanna->render() there's no way to know if a CKEditor field needs the plugins or not.

     

    I'm having trouble understanding exactly what's going wrong for you here. Make sure you meet the prerequisites and have completed the installation process:

    • TextformatterHannaCode must be installed.
    • TextformatterHannaCode must be applied as a textformatter to your CKEditor field.
    • You must have at least one Hanna code created.
    • Install HannaCodeDialog module.
    • Edit the settings for your CKEditor field and in "Input > CKEditor Settings > CKEditor Toolbar" add "HannaDropdown" (to be precise, with a comma space separating it from the other items there)

     

    Yes I'm running on PHP 7.1.1 and all of the steps are done.

    I switched to PHP 7.0.15 and the error is now gone. PHP 7.0.15 is okay for me - so I can ingore the error for now

     

     

  3. Hi,

    after installing this plugin I get this error:

    Notice: A non well formed numeric value encountered in /Applications/MAMP/htdocs/processwire/wire/core/Database.php on line 118
     

     

    Bildschirmfoto 2017-04-10 um 12.45.40.png

    Bildschirmfoto 2017-04-10 um 12.45.46.png

     

    Set-up Info:

    • Hanna Code: ver. 0.2.0
    • HannaCode Dialogue: ver. 0.0.4
    • ProcessWire: ver. 3.0.59
    • PHP: ver.  7.0.0
  4. Hello!

    I have a Problem with my language URLs. I created many langauges with the correct locale (E.g. "es" for Spanish) but it doesn't work in the url.

    If I look in the page settings I see, that the url is wring for the most lanugages. It is "en" instead of "es", "fr" etc. It only works for "de" and "fi".

    What I am doing wrong?

     

    Bildschirmfoto 2017-04-06 um 10.44.36.png

    Bildschirmfoto 2017-04-06 um 10.39.09.png

  5.  

    On 7.2.2017 at 10:09 PM, Robin S said:

    Another approach would be to do a redirect in your template file:

    
    $session->redirect('http://www.webshop.com' . $page->url);

     

     

    Good Idea - I have only have to find some logic that the redirect doesn't happen if the request comes from our Webshop System/Server

  6. Hello!

    I have a very special Processwire Setup. Short: We use Processwire for our "Blog", which is embedded in an SAP Hybris Webshop. PW provedes the Contnet via HTML and Hybris render this HTML into the Webshop (Between Default Header, Navigation and Footer)

    The URLs which are created in PW are the URLs for the local HTML e.g.: http://processwire.webshop.com/en/news/some-article

    If some Editor creates an article, he want to see the preview in the real webshop embedded. This URL would be: http://www.webshop.coom/en/blog/news/some-article

    Where and how can I create a Module which overwrites the URL with the correct one in the Admin-Area?

×
×
  • Create New...