Jump to content

Adriano Faria

Clients
  • Posts

    31,897
  • Joined

  • Days Won

    476

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Release Notes v5

Invision Community 5 Bug Tracker

Forums

Events

Store

Gallery

Bug Comments posted by Adriano Faria

  1. 15 minutes ago, beats23 said:

    1.
    Same exact issue happens without inform the location as well:
    {template="template1" app="MyAPPDirectory" group="global" location="" params=""}

     

    Display normally only with website dev mode on.


    2.
    And when I remove location completely:
    {template="template1" app="MyAPPDirectory" group="global" params=""}

    It give error for:
     BadMethodCallException
    NO_TEMPLATE_FILE - .../applications/MyAPPDirectory/dev/html/front/global/template1.phtml

     

    Which is not the right address.


    3.
    I move my template to this directory: MyAPPDirectory/dev/html/front/ and using this:
    {template="template1" app="MyAPPDirectory" group="front" location="" params=""}

    Exact same issue as described at first post. display without issue with dev mode on, and when install app somewhere else without dev mode, it produce template error.

    4.
    Also this and remove completely:
    {template="template1" app="MyAPPDirectory" group="front" params=""}

    Give error:
     BadMethodCallException
    NO_TEMPLATE_FILE - .../applications/MyAPPDirectory/dev/html/front/front/template1.phtml

    Same as test 2 with wrong address.

    5.
    So in my last test, I moved my template where BadMethodCallException say:
    /applications/MyAPPDirectory/dev/html/front/front/ 

    With two front folder back to back and put my template there:

    {template="template1" app="MyAPPDirectory" group="front" location="front" params=""}

     

    And now it works on both dev mode off or website without dev mode. 
    It seems location must always be stated and must always be something.

    for example in my description at first comment, I can now fix my initial issue if I move all templates to another global folder inside: MyAPPDirectory/dev/html/global/global/
    And state this to work normally:
    {template="template1" app="MyAPPDirectory" location="global" group="global" params=""}

    I still think it is a bug and wasn't like this before. using two folder for custom templates seems weird.

     

    You can’t use location=“”.

    LOCATION will always be admin, front or global.

    GROUP is the directory inside the location.

    Forum index, for example, is:

    {template=“index” location=“front” group=“index” app=“forums”}

  2. 16 hours ago, EliasM said:

    Can you give an urgent patch without waiting for a beta update?

    If you are self-hosted and can use FTP, you can change the file ...system / Output / Output.php, line 1599 from:

    		if( isset( $this->sidebar['widgetareas']['sidebar'] ) and count( $this->sidebar['widgetareas']['sidebar'] ) )

    to:

    		if( isset( $this->sidebar['widgetareas']['sidebar'] ) /*and count( $this->sidebar['widgetareas']['sidebar'] )*/ )

    It's running on my board since yesterday; I haven't noticed any problem since then. It's a temporary fix while I wait for the official.

  3. 12 minutes ago, Esther E. said:

    What about system logs?

    TypeError: Cannot assign null to property IPS\nexus\Invoice\Item::$fee of type IPS\nexus\Money|int (0)
    #0 /home/sosinvisioncom/public_html/applications/nexus/tasks/sendInvoiceWarnings.php(99): IPS\nexus\Invoice\Item\Renewal::create()
    #1 /home/sosinvisioncom/public_html/system/Task/Task.php(343): IPS\nexus\tasks\sendInvoiceWarnings->execute()
    #2 /home/sosinvisioncom/public_html/applications/core/modules/admin/settings/advanced.php(756): IPS\Task->run()
    #3 /home/sosinvisioncom/public_html/system/Dispatcher/Controller.php(128): IPS\core\modules\admin\settings\advanced->runTask()
    #4 /home/sosinvisioncom/public_html/applications/core/modules/admin/settings/advanced.php(98): IPS\Dispatcher\Controller->execute()
    #5 /home/sosinvisioncom/public_html/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\admin\settings\advanced->execute()
    #6 /home/sosinvisioncom/public_html/admin/index.php(15): IPS\Dispatcher->run()
    #7 {main}

     

  4. 12 minutes ago, EliasM said:

    The change will not be done because the topic associated with the file is not formatted correctly

    The rebuild topic content function aims to fix the post content by using the new "format" in the downloads/front/submit/topic template.

×
×
  • Create New...