Hi!
Some more headaches from my 2.1.3 –> 2.2.0 upgrade.
I have a custom module (all works fine in 2.1.3) that cannot find my custom view files anymore. They’re located in /system/expressionengine/views/{module}/ as they always have been.
My module functions that collect data (to display XML, for instance) throw an error:
Unable to load the requested file: {module}/{view_file}.php
This is how I’ve always loaded my views:
$this->EE->load->view('{module}/{view_file}', $data);I’ve tried setting this, to no avail:
$this->EE->load->add_package_path(APPPATH.'views/{module}/');I must be doing something stupid. Perhaps I overlooked the appropriate line in the changelogs, which I did read.
Any cluestick battery anyone?
Thx… Nico
[Mod Edit: Moved to the Development and Programming forum]
Excuse me, but why was this thread moved? I think it’s a valid support question.
View files loaded just fine with 2.1.3 and won’t load anymore when upgrading to 2.2.0. My module didn’t change and neither did the location of my view files. Turning on debugging in /index.php does not offer any help.
I have reread the changelog and didn’t find any info. Where is this documented?
All I get is
Unable to load the requested file: …
Thx… Nico
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.