Welcome Guest, Not a member yet? Register   Sign In
Problem loading my own libraries in godaddy
#1

[eluser]scherman[/eluser]
Hi, i hope that you can help me, because i have a big problem if i not solve that.
I have a CI project hosted in GoDaddy and it works fine. But, in the controller folder, i have another folder called "Backoffice" with the admin functions.

Structure (this aren't the real controller's name):
- controllers
- backoffice
- controller1.php
- controller2.php
- controllern.php
- controller1.php
- controller2.php
- controllern.php
- libraries
- MY_pagination.php

And MY_pagination.php contains a function called "getPaginador".
I use this function inside the backoffice folder, in controller1.php, but it returns me an error: "Fatal error: Call to undefined method CI_Pagination::getPaginador() in blablabla"

So, what is the problem? I don't understand. I work local on my PC, and it works fine. I've uploaded to GoDaddy, and it doesn't work.

Help me please!!!
Thanks!




Theme © iAndrew 2016 - Forum software by © MyBB