CodeIgniter Forums
Undefined property: CI::$encrypt - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: Undefined property: CI::$encrypt (/showthread.php?tid=72890)



Undefined property: CI::$encrypt - Harun - 02-25-2019

Hi,
I recently download a HMVC project from server to localhost. it works fine on online but when i setup it at localhost then some of pages doesn't show css/js.
i got the following error

<p>Severity: Notice</p>
<p>Message:  Undefined property: CI::$encrypt</p>
<p>Filename: MX/Controller.php

Thanks in Advance


RE: Undefined property: CI::$encrypt - InsiteFX - 02-25-2019

There has been a lot of updated changes to the HMVC that have been made
on the forums here.

Here is a new copy that works with CodeIgniter 3.1.10

HMVC


RE: Undefined property: CI::$encrypt - Harun - 02-27-2019

After update the above link i still got the following errors.

Severity: Warning
Message: call_user_func() expects parameter 1 to be a valid callback, class 'Error' does not have a method 'index'
Filename: core/CodeIgniter.php
Line Number: 532


RE: Undefined property: CI::$encrypt - InsiteFX - 02-27-2019

And where are you getting that error?

You need to give a better error description then whats above.

I just tested HMVC here and it run's fine.

what version of CodeIgniter are you running?