CI 3.0.7 don't see APPPATH. Why? |
Hi!
My controller PHP Code: public function getorders() Why is CI don't see libraries folder? Severity: Warning Message: require_once(C:\OSPanel\domains\site3\application\libraries/Client.php): failed to open stream: No such file or directory
Er, your title is misleading. CI does see APPPATH - that is obvious from your error message.
The error message suggests that Client.php is not in that location. Curious, but why wouldn't you use $this->load->library('client') ? That is the "CI way".
I tried to connect it like you said .. also does not work (
Here's what I want to connect .. https://github.com/edsonmedina/bittrex
Your path has all backslashes, until the end, where it has /Client.php.
Maybe try using a backslash?
in client.php remark out the name space.
PHP Code: // Load the library Load it like any other CodeIgniter Library... What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
I solved the problem ..
If you connect as a library - it does not work, because there is a call right away If you connect as a helper - it works. Because when connected helper is not immediately called Thank you |
Welcome Guest, Not a member yet? Register Sign In |