Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Suggestion - Vagrant setup for Development
Post: RE: Suggestion - Vagrant setup for Development

vagrant is obsolete, how about docker?
18,542 Views
12 Replies
12-13-2015, 03:51 AM
gadelat
    Thread: Drop Down Helper for CI - has saved me lots!
Post: RE: Drop Down Helper for CI - has saved me lots!

This helper is redundant, as similar dropdown helper is part of CI core. See http://www.codeigniter.com/userguide3/helpers/form_helper.html#form_dropdown
4,068 Views
2 Replies
08-27-2015, 11:46 PM
gadelat
    Thread: json_encode view returns null
Post: RE: json_encode view returns null

Use Network Monitor in your browser's developer tools and check if calling url is correct and how does response look like
7,494 Views
5 Replies
08-13-2015, 12:42 AM
gadelat
    Thread: Error 403 or No direct script access allowed
Post: RE: Error 403 or No direct script access allowed

All of your links need to start with index.php file
6,708 Views
2 Replies
08-04-2015, 11:48 AM
gadelat
    Thread: Class 'CI_Formgenerator' not found in C:\Users\mycode\system\core\C
Post: RE: Class 'CI_Formgenerator' not found in C:\Users...

True, if you don't fix case for the model filename, different error happens. But that error leads to correct error message and is therefore easy to fix. This one is pretty tricky to figure out
29,822 Views
22 Replies
07-13-2015, 04:04 PM
gadelat
    Thread: Simple stats collection with CodeIgniter hooks
Post: RE: Simple stats collection with CodeIgniter hooks

Please increase your log_treshold in your config and paste here a log
8,353 Views
4 Replies
07-13-2015, 02:10 AM
gadelat
    Thread: Class 'CI_Formgenerator' not found in C:\Users\mycode\system\core\C
Post: RE: Class 'CI_Formgenerator' not found in C:\Users...

Narf Wrote: (07-13-2015, 12:59 AM) -- Btw, this can only happen on case-insensitive file systems. -- Nope, same happens on my linux machine (ext4 partition)
29,822 Views
22 Replies
07-13-2015, 01:57 AM
gadelat
    Thread: Losing $_SESSION and $_POST variables
Post: RE: Losing $_SESSION and $_POST variables

Did you try codeigniter's session library? See documentation http://www.codeigniter.com/userguide3/libraries/sessions.html. You are not supposed to use session_start manually.
3,574 Views
1 Replies
07-12-2015, 01:38 AM
gadelat
    Thread: View variable dying in foreach
Post: RE: View variable dying in foreach

are you sure this code in view is causing the problem and not the code in controller?
5,860 Views
4 Replies
07-08-2015, 07:43 AM
gadelat
    Thread: Active Queries problem
Post: RE: Active Queries problem

I don't think this is the code which causes problem. Try this and I bet you will see double * there anyway. PHP Code: -- function get_balances() {  die($this->db->get_compiled_select('cashman_t...
6,588 Views
5 Replies
07-08-2015, 07:38 AM
gadelat
    Thread: How to get first image from blog posts
Post: RE: How to get first image from blog posts

there isn't any image in some of your records
3,703 Views
2 Replies
07-03-2015, 01:26 AM
gadelat
    Thread: Problem with tutorial
Post: RE: Problem with tutorial

Problem is in your usage of relative urls. Since you have CI in sub directory and links are relative to current url, it would nest deeper and deeper. If you are currently on page "http://localhost/ci/...
3,291 Views
2 Replies
06-23-2015, 12:02 AM
gadelat
    Thread: Bring back the wiki?
Post: RE: Bring back the wiki?

https://github.com/bcit-ci/CodeIgniter/wiki
13,997 Views
7 Replies
06-21-2015, 12:28 PM
gadelat
    Thread: Issue with Redirect Loop
Post: RE: Issue with Redirect Loop

Open your browser's developer tools, switch to network view, load your page and see what urls browser tries to load. It will help you troubleshot which part of your application does redirects to previ...
2,965 Views
1 Replies
06-19-2015, 09:47 AM
gadelat
    Thread: Locking a config variable
Post: RE: Locking a config variable

Changes of config items using config->set_item are only done in memory. It doesn't save changes to config file. So if one script changes config item and meanwhile another script reads the value, secon...
4,388 Views
2 Replies
06-19-2015, 09:43 AM
gadelat
    Thread: Codeigniter 3 Ucfirst Controllers
Post: RE: Codeigniter 3 Uppercase Controllers

Yeah userguide is clear. And also wrong. Filenames does NOT have to be uppercase on Windows and OSX. That's where all this confusion lies. Inconsistent behaviour across multiple operating systems. It ...
19,415 Views
11 Replies
06-19-2015, 04:22 AM
gadelat
    Thread: Run standard controller manually
Post: RE: Run standard controller manually

It's not supported, CI is not HMVC framework. If you need that, use HMVC extension. It's frowned upon on though, since if you need the code in Controller on more places, you should put it in model/lib...
3,565 Views
1 Replies
06-13-2015, 03:34 PM
gadelat
    Thread: file_get_contents() and CI 3.0.0
Post: RE: file_get_contents() and CI 3.0.0

Is the $link passed to this function same in CI2 and CI3?
20,782 Views
8 Replies
06-12-2015, 12:49 PM
gadelat
    Thread: Can't load views
Post: RE: Can't load views

Non of those can work. If you terminate execution of PHP script in your controller (via die() etc.), your views won't be outputted, because their content is normally outputted only after controller pr...
10,775 Views
7 Replies
06-12-2015, 07:17 AM
gadelat
    Thread: I'm probably doing something stupid but it seems to be autoloading my helper class
Post: RE: I'm probably doing something stupid but it see...

Helpers in CI are not classes, I don't know what are you two talking about. If you need to find info about what is loaded when, modify log_treshold value.
11,001 Views
7 Replies
06-09-2015, 01:51 PM
gadelat

Theme © iAndrew 2016 - Forum software by © MyBB