Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: git mess
Post: git mess

Ok, so I wanted to synchronise forked repository that wasn't maintained for about year with main CI repository and while trying to follow this (https://help.github.com/articles/configuring-a-remote-fo...
1,157 Views
0 Replies
04-29-2017, 03:10 PM
Tpojka
    Thread: [split] Debug toolbar? <CI4 is under development?>
Post: RE: [split] Debug toolbar? <CI4 is under developm...

Wait! Now, I am confused. It is really 1ms per request? It was took as common by me that 200ms or 90ms is fair time for loading. I totally overlooked the fact something is less than 1ms. Pebkac...
4,145 Views
4 Replies
09-12-2016, 03:37 AM
Tpojka
    Thread: [split] Debug toolbar? <CI4 is under development?>
Post: [split] Debug toolbar? <CI4 is under development?...

Docs says *The Debug Toolbar is still under construction with several planned features not yet implemented.* and I am very aware of it. Recently I set up Vagrant virtualbox environment to try out PHP...
4,145 Views
4 Replies
09-11-2016, 03:10 PM
Tpojka
    Thread: Controller Naming Convention issue
Post: RE: Controller Naming Convention issue

nkhan Wrote: (06-02-2016, 06:51 AM) -- I have complete a project In CI 3.0.6 , which is works fine in localhost. but when i uploaded it in subdoamin i am getting  The demo.xyz.com page isn’t worki...
3,348 Views
2 Replies
07-11-2016, 08:22 AM
Tpojka
    Thread: Cannot pass variables from Controller to Model
Post: RE: Cannot pass variables from Controller to Model

You are not extending core files with your controller|model at all. Shouldn't PHP Code: -- core/Model.php -- be PHP Code: -- core/MY_Model.php -- ?
9,208 Views
9 Replies
05-29-2016, 08:30 AM
Tpojka
    Thread: Force password change in Ion Auth
Post: RE: Force password change in Ion Auth

You have to write code somewhere. My first thought is somewhere like in `User_m.php`.
3,315 Views
1 Replies
05-18-2016, 03:16 PM
Tpojka
    Thread: output buffer error
Post: output buffer error

I am trying to solve an issue that appears in CI 2 project. On all routes/url there is an Code: -- Fatal error: ob_start() [ref.outcontrol]: Cannot use output buffering in output buffering display ha...
2,101 Views
0 Replies
05-03-2016, 07:38 AM
Tpojka
    Thread: How to check if a library exist in a controller?
Post: RE: How to check if a library exist in a controlle...

I understand that you want first to check if library loaded. If not than you need to load, else you just use that library: PHP Code: -- public function some_other_method() {    if ( ! $this->...
6,218 Views
3 Replies
04-29-2016, 05:25 PM
Tpojka
    Thread: How to check if a library exist in a controller?
Post: RE: How to check if a library exist in a controlle...

Check if object is available: PHP Code: -- $is_loaded = is_object(@$this->upload) ? TRUE : FALSE;// @ sign suppressed error if object didn't exist var_dump($is_loaded); exit; -- Now you just n...
6,218 Views
3 Replies
04-29-2016, 04:15 PM
Tpojka
    Thread: Integration of Shipping API (RocketShipIt )
Post: RE: Integration of Shipping API (RocketShipIt )

Official documentation points to CodeIgniter installation (https://docs.rocketship.it/php/1-0/loading-rocketshipit.html#codeigniter). Only difference for you could be (if not using MY_Controller) ext...
5,645 Views
4 Replies
04-16-2016, 05:55 PM
Tpojka
    Thread: get url from a controller and method
Post: RE: get url from a controller and method

Check URI library (https://codeigniter.com/userguide3/libraries/uri.html). Maybe PHP Code: -- $this->uri->uri_string(); -- or PHP Code: -- $this->uri->ruri_string(); -- could work for you.
7,171 Views
5 Replies
04-16-2016, 03:51 PM
Tpojka
    Thread: Parser and if statement
Post: RE: Parser and if statement

Have you tried with Smarty (http://forum.codeigniter.com/thread-1551.html)?
14,295 Views
19 Replies
04-16-2016, 06:45 AM
Tpojka
    Thread: how to delete from multiple tables using QB
Post: RE: how to delete from multiple tables using QB

Try with: PHP Code: -- "DELETE users, users_temp, user_settings FROM users INNER JOIN users_temp ON users.user_id = users_temp.utemp_user_id INNER JOIN user_settings ON users.user_id = user_setti...
4,538 Views
6 Replies
04-13-2016, 07:41 AM
Tpojka
    Thread: Undefined variable: content
Post: RE: Undefined variable: content

Is "$this->id_content" assigned in model '__construct()' or initialized at the beginning of model class? Second thing is to debug controller and at the beginning of the controller (after model loa...
3,452 Views
2 Replies
04-09-2016, 04:05 AM
Tpojka
    Thread: Paypal wrong url
Post: RE: Paypal wrong url

First thing I'd do is to ask the guy who made tutorial in comment on that website.
3,294 Views
3 Replies
04-08-2016, 11:03 AM
Tpojka
    Thread: Restfull JSON Array Help
Post: RE: Restfull JSON Array Help

You can't "echo" an array. Language construct "echo" is used to output one or more strings. Use print_r instead and you could see what is in array.
6,002 Views
8 Replies
04-07-2016, 05:11 PM
Tpojka
    Thread: Paypal wrong url
Post: RE: Paypal wrong url

Have you tried that if you are logged out from paypal sandbox?
3,294 Views
3 Replies
04-07-2016, 04:48 AM
Tpojka
    Thread: basepath is so that it can not see all of a sudden
Post: RE: basepath is so that it can not see all of a su...

Exclamation mark is misplaced and it is meant to finish sentence 'No direct script access allowed!'
2,797 Views
2 Replies
04-06-2016, 04:13 PM
Tpojka
    Thread: Integrating twitterOauth?
Post: RE: Integrating twitterOauth?

If you are using composer, with default CI3 settings there will be created additional vendor directory in root location (that's where you need to put composer.json file also). Calling new classes in...
6,658 Views
8 Replies
04-05-2016, 04:43 AM
Tpojka
    Thread: Extend Form_Validation
Post: RE: Extend Form_Validation

What I showed you is basic example from docs. You should test most simplified example like one in docs and see what (and if) went wrong. I already linked that page/section (https://codeigniter.com/...
7,327 Views
9 Replies
04-05-2016, 04:03 AM
Tpojka

Theme © iAndrew 2016 - Forum software by © MyBB