Jump to content

(DP44) Advanced Regexp


Recommended Posts

Hm, it actually points to something related to Commerce...

 

#0 ./mysite.com/public/applications/nexus/sources/Package/Package.php(531): IPS\nexus\_Package::priceFromData(12, Array, NULL, Object(IPS\nexus\Customer), 'BGN', false, false, false)
#1 ./mysite.com/public/applications/nexus/sources/Package/Item.php(504): IPS\nexus\_Package::lowestPriceFromData(Object(IPS\nexus\Customer), 'BGN', 12, Array, NULL, Array, -1, NULL, false, NULL)
#2 ./mysite.com/public/system/Content/Content.php(1616): IPS\nexus\Package\_Item::searchResultSnippet(Array, Array, Array, NULL, Array, NULL, 'expanded')
#3 ./mysite.com/public/applications/nexus/sources/Package/Item.php(440): IPS\_Content::searchResult(Array, Array, Array, NULL, Array, NULL, false, 'expanded', false, false, NULL, Array)
#4 ./mysite.com/public/system/Content/Search/Result/Content.php(94): IPS\nexus\Package\_Item::searchResult(Array, Array, Array, NULL, Array, NULL, false, 'expanded', false, false, NULL, Array)
#5 ./mysite.com/public/system/Theme/Theme.php(847) : eval()'d code(2845): IPS\Content\Search\Result\_Content->html()
#6 ./mysite.com/public/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_search->resultStream(Object(IPS\Content\Search\Results), '<ul class='ipsP...', Object(IPS\Http\Url\Friendly))
#7 ./mysite.com/public/system/Theme/Theme.php(847) : eval()'d code(2915): IPS\Theme\_SandboxedTemplate->__call('resultStream', Array)
#8 ./mysite.com/public/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_search->results('["booking.com",...', 'ae70512e437bcea...', Object(IPS\Content\Search\Results), '<ul class='ipsP...', Object(IPS\Http\Url\Friendly), 997)
#9 ./mysite.com/public/system/Theme/Theme.php(847) : eval()'d code(2992): IPS\Theme\_SandboxedTemplate->__call('results', Array)
#10 ./mysite.com/public/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_search->search('["booking.com",...', 'ae70512e437bcea...', Object(IPS\Content\Search\Results), '<ul class='ipsP...', Object(IPS\Http\Url\Friendly), Array, '\n\n\n<form accept...', 997)
#11 ./mysite.com/public/applications/core/modules/front/search/search.php(730): IPS\Theme\_SandboxedTemplate->__call('search', Array)
#12 ./mysite.com/public/applications/core/modules/front/search/search.php(80): IPS\core\modules\front\search\_search->_results()
#13 ./mysite.com/public/system/Dispatcher/Controller.php(96): IPS\core\modules\front\search\_search->manage()
#14 ./mysite.com/public/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute()
#15 ./mysite.com/public/index.php(13): IPS\_Dispatcher->run()
#16 {main}

The error itself is: OutOfBoundsException::0

Link to comment

My app is related and hooked into posts only in the forums app, see the hooks.json definition:

{
    "advancedRegexpsIpsForumsTopic": {
        "type": "C",
        "class": "\\IPS\\forums\\Topic"
    }
}

And it does not updating any content in the DB or something.

Link to comment
  • 1 month later...
  • 3 months later...
  • 8 months later...

Hi @DawPi,

I am a volunteer admin for a forum, and our forum owner just bought your plug-in. I've set it up per your template screenshot. It is rewriting the longer, complex amazon links, but not the really short ones like this:

https://www.amazon.com/Adapter-Diverter-Threaded-Connector-Bathroom/dp/B07XF1BCJH

How can we make that happen?

Thanks

Link to comment
  • 2 months later...

I'm not sure if it's me, but I've noticed my Affiliate links are changing the '&' to '%26', which then breaks the link.

Although, it shows the link as /B03563GDS?&tag=MYTAG        when I hover my mouse over.

 

Don't worry, I fixed the above issue. I was having a moment.... 🤪

Link to comment
  • 1 year later...

Thank you for being a client!  The Invision Community Marketplace is closing October 30 2023, so I am moving all of my files over to my personal site https://forum.invisionize.pl

 

Bookmark https://forum.invisionize.pl and the new Marketplace Directory www.Invisioneer.org.  

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...