Jump to content

bbeer

Members
  • Posts

    259
  • Joined

  • Last visited

Posts posted by bbeer

  1. we are getting following error 

    PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /.... /wire/core/WireInput.php:371

    after upgrading to php 8.1 

    Anyone else having this problem?

    Just for reference, changing line 371 from 

    if(!strlen($key)) return $this->cookieVars;

    to

    if(!$key || !strlen($key)) return $this->cookieVars;

    seems to solve the problem. 

  2. We have a strange problem in PW 3.0.201 dev. When using the Button save + next we get following error.

    SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') GROUP BY pages.id ORDER BY pages.sort' at line 4
    In /wire/core/PageFinder.php line 821

    and 

    SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') GROUP BY pages.id ORDER BY pages.sort' at line 4
    In /wire/core/WireDatabasePDO.php line 937

     

  3. Good morning
    we have a strange Problem with Safari generating PDF Files. It takes ages and then we get following error.
    Safari can't open „https://company.com/de/bedienungsanleitung/manual-output/?pid=3254&pdf=.pdf“ nicht öffnen.  Fehler: „cannot parse response“ (NSURLErrorDomain:-1017)

    Things are even more complicated. We generate a smaller PDF with the exact same call without any error.

    Any one any idea on this?

    Your help is much appreciated!

     

  4. Hi all
    I have a very strange behavior with the translation of SnipWire. For example I've translated following block.

    $boxes = array(
    'sales' => $this->_('Sales'),
    'orders' => $this->_('Orders'),
    'average' => $this->_('Average Order'),
    'customers' => $this->_('Customers'),
    );

    Orders and Customer are being translated. The Translations of Sales and Average Order are simply ignored. I am a bid lost here. Anyone any idea what this could be? 

    Setup:
    PW 3.0.179 after updating
    SnipWire 0.8.7
    PHP 7.4

    Your help is much appreciated!

  5. when you call the page with those # it opens the correct page. The Problem is, that they copied all those links with the # and use them in the CRM. So when they generate Quotes the link to this pages form a generated PDF Quote. Therefor it would be helpful if we could remove this particular part %23prodDescription of the url, then the Link would work perfectly. Else you just get an 404.

  6. Hi Folks
    I wonder if I could strip with Jumplinks from certain URL's like
    https://www.site.com/de/produkte/kuehlgeraete-fuer-schaltschraenke/kg_4304/43042001/#prodDescription
    just the last part #prodDescription. Could also be a general thing, that whenever this #prodDescription appears, it would be removed.
    The client uses those links into a tab on an other System, which means there would several hundert links to be changed.

    Your help is much appreciated!

  7. Hi @teppo

    are you considering adding support for ProFieldTextArea to Version 2? Right now we can only see that something inside the whole Field changed, but not exactly what.

    We would really appreciate this feature. We could also consider funding this change!

  8. Hi Teppo

    I am not talking about a module History. If I am not mistaken, VersionControl puts a table at the end of the page, see screenshot, where it adds the revision number, the author, Changes, Timestamp and Comment. is that not correct?

    This entries we also found in the database, in the VersionControl Tables.

     

    1834311941_ScreenShot2019-07-02025818PM.thumb.png.1bbff6f9e9f0c1aaa46dfdc844c747aa.png

  9. Hi all

    in History, when editing a ProField Textareas, it only adds the name of the Textarea (Prodspecs) that was altert, but not the Fieldname (Voltage) inside the Textarea that was altert. That does not really help. It would be great if it would also name the altered Field name. 

    We then changed a Field (Voltage) and saved it, content was added. then clicked restore version on a previous version of that Textarea (Prodspecs), what deleted all entries inside Textarea (Prodspecs) and not the Field (Voltage).

    Don't really know why this happens, but a hint on how to fix that, or even having a look at the module itself would be of great help!

  10. Hi adrian

    sorry for the late reply. Well the problem was not directly that the page itself was listet. We output information from the page, if not there we check in the pages parent field for the content. The problem was, even though the page was in the trash, the values where still taken from that page, and not from the new, actually copy of that page. As soon as the trash was emptied, the problem was solved. Excluded the the trash now from the query, so hopefully we won't have that kind of occurrence again.

×
×
  • Create New...