Jump to content

Koper74

Clients
  • Posts

    163
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Koper74

  1. On 5/3/2022 at 12:12 PM, Koper74 said:

    After deleting a pages-DB all users who made bookmarks on records in this DB haven't access on all of their bookmarks any more:

    Error: Class 'IPS\cms\Records46' not found (0)

    What can we do?

    @Fosters Can u give me a hint? please!

  2. Hello and thank you both - that brought some light in the dark

    What is still confusing me:
    Our editors adding images in records always the same way via a custom ckeditor-button. The "blow up"-link always get added automatically.


    Sometimes like that - which is also stored in database / included in JSON:

    <figure class="image ipsImage_thumbnailed ipsImage" style="float:right">
    	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="12482" href="https://xxx.xx/uploads/monthly_2019_10/1410821622_xxx.png.a2bd3a311d2f687cbafd897f1fb9c51f.png" rel="" data-fullurl="https://xxx.xx/uploads/monthly_2019_10/1410821622_xxx.png.a2bd3a311d2f687cbafd897f1fb9c51f.png" data-ipslightbox="" data-ipslightbox-group="g86105"><img alt="xxx" data-fileid="12482" data-ratio="157.56" data-unique="p3qeq7gap" height="315" style="" title="" width="200" src="https://xxx.xxx/uploads/monthly_2019_10/576538826_xxx.thumb.png.735c9a541dadb92ba62778fa3669a6a7.png" class="ipsImage_thumbnailed"></a>
    	<figcaption>
    		Abb. 2: xxx
    	</figcaption>
    </figure>

     

    Sometimes like that - here the <a>-Tag is missing in JSON-output:

    <figure class="image ipsImage_thumbnailed ipsImage" style="float:right">
    	<a href="https://xxx.xx/uploads/monthly_2019_10/1460915268_xxx.png.23f81a1a140efd7cdeb6d454ecdfdda1.png" title="Enlarge image" data-wrappedlink="" data-ipslightbox="" data-ipslightbox-group="undefined"><img alt="xxx" data-fileid="12492" data-ratio="107.14" data-unique="bg9y9kdtf" height="214" width="200" src="https://xxx.xx/uploads/monthly_2019_10/1460915268_xxx.23f81a1a140efd7cdeb6d454ecdfdda1.png" class="ipsImage_thumbnailed"></a>
    	<figcaption>
    		Abb.&nbsp;3:&nbsp;5-GHz-WLAN-Umgebung
    	</figcaption>
    </figure>


    You can check this at record 110 in cms_custom_database_41:
    The 1st and 2nd image is OK and we can "blow it up" in our own application also. The 3rd can only blowup in IPS record view. 

    How can we avoid this?

  3. In the output of /cms/records/{database_id}/{record_id} often the whole <a>-Tag ist missing when it's inside a <figure>-Tag:

    Original code:

    <figure class="image ipsImage_thumbnailed ipsImage" style="float:right">
    	<a href="https://xxx.xxx/uploads/monthly_2019_09/XXX-Meldung.PNG.1abaebb2048f2ea1be9a31bf3198e66c.PNG" title="Enlarge image" data-wrappedlink="" data-ipslightbox="" data-ipslightbox-group="undefined">
          <img alt="XXX-Meldung.PNG" data-fileid="11960" data-ratio="19.43" data-unique="hd84ad2uk" height="78" style="" title="" width="400" src="https://xxx.xxx/uploads/monthly_2019_09/XXX-Meldung.PNG.1abaebb2048f2ea1be9a31bf3198e66c.PNG" class="ipsImage_thumbnailed">
      	</a>
    	<figcaption>
    		Lorem ipsum dolor sit amet
    	</figcaption>
    </figure>

     

    Output REST API:

    <figure class=\"image ipsImage_thumbnailed ipsImage\" style=\"float:right\">
      \n\t<img alt=\"XXX-Meldung.PNG\" data-fileid=\"11960\" data-ratio=\"19.43\" data-unique=\"hd84ad2uk\" height=\"78\" style=\"\" title=\"\" width=\"400\" src=\"https:/xxx.xxx/uploads/monthly_2019_09/XXX-Meldung.PNG.1abaebb2048f2ea1be9a31bf3198e66c.PNG\">
      \n\t<figcaption>\n\t\tLorem ipsum dolor sit amet\n\t</figcaption>
      \n</figure>

     

    This happens only with these constructs and only in ~35% of them. I can't see a pattern!?

  4. 3 minutes ago, InvisionHQ said:

    yes right, I edited the post above.
    Please retry.

     

    ArgumentCountError: Too few arguments to function IPS\forums\clubsenhancements_hook_ceClubForums::clubForm(), 1 passed in /httpdocs/init.php(902) : eval()'d code on line 70 and exactly 2 expected (0)
    #0 /httpdocs/init.php(902) : eval()'d code(70): IPS\forums\clubsenhancements_hook_ceClubForums->clubForm()
    #1 /httpdocs/system/Dispatcher/Controller.php(90): IPS\Node\clubsenhancements_hook_ceNodeController->convertToClub()
    #2 /httpdocs/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute()
    #3 /httpdocs/applications/forums/modules/admin/forums/forums.php(44): IPS\Node\_Controller->execute()
    #4 /httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\admin\forums\_forums->execute()
    #5 /httpdocs/kontrollzentrale/index.php(13): IPS\_Dispatcher->run()
    #6 {main}
  5. TypeError: Argument 2 passed to IPS\forums\_Forum::clubForm() must be an instance of IPS\Member\Club, null given, called in /httpdocs/init.php(902) : eval()'d code on line 21 (0)
    #0 /httpdocs/init.php(902) : eval()'d code(21): IPS\forums\_Forum->clubForm()
    #1 /httpdocs/init.php(902) : eval()'d code(70): IPS\forums\clubsenhancements_hook_ceClubForums->clubForm()
    #2 /httpdocs/system/Dispatcher/Controller.php(90): IPS\Node\clubsenhancements_hook_ceNodeController->convertToClub()
    #3 /httpdocs/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute()
    #4 /httpdocs/applications/forums/modules/admin/forums/forums.php(44): IPS\Node\_Controller->execute()
    #5 /httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\admin\forums\_forums->execute()
    #6 /httpdocs/kontrollzentrale/index.php(13): IPS\_Dispatcher->run()
    #7 {main}

     

×
×
  • Create New...