Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Design for CodeIgniter frontpage
Post: Design for CodeIgniter frontpage

Hello, We would like to contribute one or two simple designed layouts for a new CodeIgniter website. The goal is to keep it simple, but also empower the flexibily of the CodeIgniter 4 framework ...
2,093 Views
1 Replies
04-29-2018, 02:22 AM
ponzo
    Thread: Debug toolbar
Post: Debug toolbar

Is there a build in way to show the 'toolbar' debug data as json? No I have to turn it completely off in my Filters.php
1,881 Views
1 Replies
04-28-2018, 05:40 AM
ponzo
  Smile Thread: VueJs + CI 4
Post: RE: VueJs + CI 4

Today I created a new installation of CI4, and gave it a new chance. added two routes PHP Code: -- $routes->add('/home', 'Home::vueform'); $routes->post('/createjson', 'Home::createjson');...
19,785 Views
18 Replies
04-28-2018, 05:34 AM
ponzo
    Thread: VueJs + CI 4
Post: RE: VueJs + CI 4

Thanks for the support. From postman  Code: -- POST /products HTTP/1.1 Host: vue-ci4.test Content-Type: application/x-www-form-urlencoded Cache-Control: no-cache Postman-Token: 2b815a...
19,785 Views
18 Replies
04-27-2018, 10:43 AM
ponzo
    Thread: VueJs + CI 4
Post: RE: VueJs + CI 4

albertleao Wrote: (04-26-2018, 02:43 PM) -- Do you have csrf enabled? -- Nope PHP Code: -- public $globals = [ 'before' => [ // 'csrf' ], 'after'  => [ 'toolbar' ] ]; --
19,785 Views
18 Replies
04-26-2018, 03:00 PM
ponzo
    Thread: VueJs + CI 4
Post: VueJs + CI 4

I'm building a simple example to include vuejs in codeigniter. I hoped to finish today, and share it within the CI forum But... Im stuck now for 3 hours with posting an object to the CI 4 controll...
19,785 Views
18 Replies
04-26-2018, 01:54 PM
ponzo
    Thread: Migration not working
Post: RE: Migration not working

Thank you. Adding Code: --
4,063 Views
2 Replies
04-25-2018, 10:51 PM
ponzo
    Thread: Migration not working
Post: Migration not working

I'm following the migration (https://bcit-ci.github.io/CodeIgniter4/database/migration.html) documentation, but I cant get a working example. "The migration class "App\Database\Migrations\Migration...
4,063 Views
2 Replies
04-25-2018, 07:58 AM
ponzo
    Thread: just a memory usage question
Post: just a memory usage question

Hello, Awesome job CI4 so far. I tested in simple query with 3905 records of data CI 4 pulls around of 13mb of memory CI 3 pulls around of 2mb of memory CI 4 = 0.133 sec CI 3= 0.184 se...
939 Views
0 Replies
04-25-2018, 05:56 AM
ponzo
    Thread: Share Vuejs Route with Codeigniter Route
Post: RE: Share Vuejs Route with Codeigniter Route

Hello, Sorry for my late response. If you load your vuejs project within your codeigniter view, Vue router will take it from there. Make sure you're vuejs sets hashbang to false, if you want to re...
7,365 Views
4 Replies
04-02-2018, 11:04 AM
ponzo
    Thread: ion_auth's 1.2mb memory usage
Post: RE: ion_auth's 1.2mb memory usage

qury Wrote: (12-14-2017, 02:55 PM) -- you must have a bunch of libraries and stuff auto-loaded, right? -- Hi Qury, No, no autoloads, clean install, no other libraries except the ion_auth inside ...
3,519 Views
4 Replies
12-14-2017, 03:17 PM
ponzo
    Thread: ion_auth's 1.2mb memory usage
Post: RE: ion_auth's 1.2mb memory usage

Hi, tested only local on MAMP, php 7.15 Bare install, ion_auth in welcome.php controller and with enable_profiler Without 1182440 bytes With 2557176 bytes Tested on two different machine...
3,519 Views
4 Replies
12-14-2017, 04:06 AM
ponzo
    Thread: ion_auth's 1.2mb memory usage
Post: ion_auth's 1.2mb memory usage

Hello, I'm a happy user of Ben Edmunds ion_auth. I was profiling my app, and ion_auth costs 1.2 mb memory on top of my exisiting app, for each pageload Cant do a better job for the auth part o...
3,519 Views
4 Replies
12-13-2017, 01:37 PM
ponzo
    Thread: i18n language
Post: i18n language

I'm building a multilangual app with both CI views, as Vuejs views. Therefore I switched to i18n json translations. Very easy and accessible for both, since i can share the same language files  la...
1,099 Views
0 Replies
10-26-2017, 04:48 AM
ponzo
    Thread: Share Vuejs Route with Codeigniter Route
Post: RE: Share Vuejs Route with Codeigniter Route

Since VueJs is a bit new for me I tried the following and it worked: Code: -- Fetch! -- Where findresult is the component. Now if I click the button it fires the component findresult. Then l...
7,365 Views
4 Replies
10-20-2017, 06:24 AM
ponzo
    Thread: Share Vuejs Route with Codeigniter Route
Post: Share Vuejs Route with Codeigniter Route

i'm building a customer admin with Vuejs, within my CodeIgniter application. I use the VueRouting for different sections within the dashboard Code: -- export default new Router({ routes: [ ...
7,365 Views
4 Replies
10-20-2017, 12:00 AM
ponzo
    Thread: input post empty
Post: RE: input post empty

Try  PHP Code: -- $_POST = json_decode(file_get_contents("php://input"), true); -- Or if it's not json you're sending without the json_decode
13,349 Views
9 Replies
10-19-2017, 11:53 PM
ponzo
    Thread: CSRF vuejs-axios not working
Post: RE: CSRF vuejs-axios not working

After hours of of research I came up with the idea to check the security class. Somehow the json post data from axios, or Superagent, or $http.post from my Vuejs file returns an empty ARRAY. S...
5,500 Views
3 Replies
10-12-2017, 02:50 AM
ponzo
    Thread: CSRF vuejs-axios not working
Post: CSRF vuejs-axios not working

Hi, Spending hours to post some vuejs - axios data to my codeigniter. PHP Code: -- axios({ method: 'post', url: 'http://puppyplaza.dev/api/saveprofile', data: { csrf_token: 'b2897db3f48...
5,500 Views
3 Replies
10-11-2017, 08:34 AM
ponzo
    Thread: switching databases
Post: RE: switching databases

Hello Maybe this will help you -- in the model.php -- $this->load->database(); $CI = get_instance(); $this->current_db = $CI->load->database('current_db', TRUE); And then query $this->curre...
3,658 Views
3 Replies
10-05-2017, 04:33 AM
ponzo

Theme © iAndrew 2016 - Forum software by © MyBB