Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined function codepackniter() #1

Open
kofesto opened this issue Jul 5, 2018 · 6 comments
Open

Call to undefined function codepackniter() #1

kofesto opened this issue Jul 5, 2018 · 6 comments

Comments

@kofesto
Copy link

kofesto commented Jul 5, 2018

I got this error after i loaded the javascript and the css using the documentation on the website

<script src=""></script> "> Pls i need to know how to solve this cos i need to use react on my codeigniter
@mjangir
Copy link
Owner

mjangir commented Jul 5, 2018

If you didn't find any error during running the command codepackniter make then you must have gotten a codepackniter_helper.php file in your helpers and the same should be loaded in your autoload.php helper array (BTW its done automatically).

@mjangir mjangir closed this as completed Oct 19, 2018
@mjangir
Copy link
Owner

mjangir commented Oct 19, 2018

Closed this issue due to no activity for a long time.

@arvind-007
Copy link

codepackniter helper is not loading by default. It is there in comment section, must be in helper array

/*
| -------------------------------------------------------------------
| Auto-load Helper Files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['helper'] = array('url', 'file', 'url', 'codepackniter');
*/
$autoload['helper'] = array();

@mjangir
Copy link
Owner

mjangir commented Oct 24, 2018

I had written a regular expression to do that and it works nicely in fresh codeigniter setup but it should work in your case too unless and until you haven't done any huge changes in the helper array.

@arvind-007
Copy link

arvind-007 commented Oct 24, 2018

Just started with fresh setup of codeignter3.1.4. same issue is there.

@mjangir mjangir reopened this Oct 24, 2018
@mjangir
Copy link
Owner

mjangir commented Oct 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants