Jump to content

Missing Template


Tom Irons

Recommended Posts

Was debating on submitting this as a bug, but I wasn't sure so I'll post it here.

Quote

Tue, 08 Mar 2016 17:18:27 +0000 (Severity: 2)
xxx.xxx.xxx.xxx - https://forum.dev-lounge.com/modcp/ip-tools/?ip={ip-address}&area=nexus_CustomerHistory
ErrorException
0: template_store_missing
#0 /var/www/forum.dev-lounge.com/applications/nexus/sources/Customer/History.php(40): IPS\_Theme->getTemplate('customers', 'nexus')
#1 /var/www/forum.dev-lounge.com/applications/nexus/extensions/core/IpAddresses/CustomerHistory.php(43): IPS\nexus\Customer\_History->__construct(Object(IPS\Http\Url), Array, false, true)
#2 /var/www/forum.dev-lounge.com/applications/core/extensions/core/ModCp/IPTools.php(71): IPS\nexus\extensions\core\IpAddresses\_CustomerHistory->findByIp('{ip-address}', Object(IPS\Http\Url))
#3 [internal function]: IPS\core\extensions\core\ModCp\_IPTools->manage()
#4 /var/www/forum.dev-lounge.com/applications/core/modules/front/modcp/modcp.php(67): call_user_func(Array)
#5 /var/www/forum.dev-lounge.com/system/Dispatcher/Controller.php(94): IPS\core\modules\front\modcp\_modcp->manage()
#6 /var/www/forum.dev-lounge.com/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute()
#7 /var/www/forum.dev-lounge.com/index.php(13): IPS\_Dispatcher->run()
#8 {main}
-----------------------------------------------------------------------

Some of the other links work like posts or registrations, but I'm getting this error on the others.

Link to comment
Share on other sites

That's a valid bug. Please post it to the bugtracker (and make a reference to this topic )

The problem here is that this templates are placed within the admin templates directory. It's not a easy and fast fix, because once you fix the call of this 2 templates in IPS\nexus\Customer\History, other errors will popup.

 

BadMethodCallException: NO_TEMPLATE_FILE - C:\htdocs\0803/applications/nexus/dev/html/front/transactions/status.phtml (0)
#0 C:\htdocs\0803\applications\nexus\sources\Transaction\Transaction.php(108): IPS\Theme\Dev\_Template->__call('status', Array)
#1 C:\htdocs\0803\applications\nexus\sources\Transaction\Transaction.php(108): IPS\Theme\Dev\Template->status('wait')
#2 [internal function]: IPS\nexus\Transaction::IPS\nexus\{closure}('wait', Array)

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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