Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: validacion json
Post: RE: validacion json

1. In your code you echoed the result instead of returning. Why is that ?  return $this->response->setJSON($data); 2. On the returned error i usually use the following loop.  I'm usually working...
581 Views
2 Replies
01-18-2022, 12:22 PM
remesses_thegreat
    Thread: retrieve average rating on a join
Post: RE: retrieve average rating on a join

InsiteFX Wrote: (01-18-2022, 03:41 AM) -- This should help you out. CodeIgniter 4 Users Guide - Query Builder Class - selectAvg (https://codeigniter.com/user_guide/database/query_builder.html#sele...
740 Views
2 Replies
01-18-2022, 10:54 AM
remesses_thegreat
    Thread: retrieve average rating on a join
Post: retrieve average rating on a join

Good Day  I need help with result. I have a model that returns all business branches.  I would like to join an additional table called Ratings and return the average rating for each company. Do...
740 Views
2 Replies
01-18-2022, 02:06 AM
remesses_thegreat
    Thread: Default Controller doesnt work on base url.
Post: RE: Default Controller doesnt work on base url.

In your .htaccess file specify the subfolder by using RewriteBase /subfolder
1,341 Views
1 Replies
03-01-2021, 11:31 PM
remesses_thegreat
    Thread: creating a json structure
Post: RE: creating a json structure

richb201 Wrote: (09-24-2020, 01:05 PM) -- I am using fusionAuth. The way it works is that I need to create a json structure called a request, Here is an example of one. Any idea how to create one in ...
1,339 Views
3 Replies
09-24-2020, 11:42 PM
remesses_thegreat
    Thread: [SOLVED] - Strange problem with POST data
Post: RE: Strange problem with POST data

You don't need the post routes. Leave as default. Do you have index.php in your project url ? In your App Config is your baseurl set? In your .htaccess file did you uncomment rewrite base and add proj...
16,451 Views
45 Replies
09-24-2020, 11:21 PM
remesses_thegreat
    Thread: [SOLVED] - Strange problem with POST data
Post: RE: Strange problem with POST data

Matleyx Wrote: (09-23-2020, 06:30 AM) -- I also tried your way, but still get the same result.... Always without post data.... Controller Test.php: PHP Code: --
16,451 Views
45 Replies
09-23-2020, 02:09 PM
remesses_thegreat
    Thread: [SOLVED] - Strange problem with POST data
Post: RE: Strange problem with POST data

Never tried it this way but why is the post action just the name of the function ? and not the url to the function like : action="" then in your controller $request = \Config\Services::requ...
16,451 Views
45 Replies
09-23-2020, 06:24 AM
remesses_thegreat
    Thread: Requesting SOAP using CURL on Codieigniter 4
Post: RE: Requesting SOAP using CURL on Codieigniter 4

korgoth Wrote: (06-02-2020, 01:42 AM) -- Can you indeed show an example of how you made that work? I too have to deal with SOAP calls in CI4 and have no clue on how to do it ;) --  Here you go  ...
3,067 Views
4 Replies
06-02-2020, 01:46 AM
remesses_thegreat
    Thread: Requesting SOAP using CURL on Codieigniter 4
Post: RE: Requesting SOAP using CURL on Codieigniter 4

jreklund Wrote: (06-01-2020, 02:26 PM) -- You will need to provide us with code on how you use the SoapClient and what error you get. I guess you mean the official one? https://www.php.net/manual/en...
3,067 Views
4 Replies
06-02-2020, 12:14 AM
remesses_thegreat
    Thread: Model Returns Null on FindAll
Post: RE: Model Returns Null on FindAll

Good Day Thanks for the advice. Been using as advised worked fine. I will update if i find the problem. Just another quick question When using Curl Request to consume Soap Services how...
9,691 Views
14 Replies
05-27-2020, 06:37 AM
remesses_thegreat
    Thread: Requesting SOAP using CURL on Codieigniter 4
Post: Requesting SOAP using CURL on Codieigniter 4

I am consuming a service using CURL. I am able to connect all the functions of the services in the form of a CXF Service List using the following code. $client = \Config\Services::curlrequest(); Co...
3,067 Views
4 Replies
05-27-2020, 01:08 AM
remesses_thegreat
    Thread: Model Returns Null on FindAll
Post: RE: Model Returns Null on FindAll

Okay no problem please advice here. Am currently working on a property system and have already started the project using crud forms and ajax to post data. I am using Model like we did in ci3 by cr...
9,691 Views
14 Replies
05-15-2020, 11:04 AM
remesses_thegreat
    Thread: Model Returns Null on FindAll
Post: RE: Model Returns Null on FindAll

jreklund Wrote: (05-14-2020, 10:41 AM) -- Can you try a var_dump($this->db); inside a function in your model and see if it's connected. -- Result for var_dump($this->db); object(CodeIgniter\Data...
9,691 Views
14 Replies
05-14-2020, 09:08 PM
remesses_thegreat
    Thread: Model Returns Null on FindAll
Post: RE: Model Returns Null on FindAll

So i tried this on my controller just testing if my connection is fine. $db = \Config\Database::connect(); $query = $db->query('SELECT * FROM users'); $results = $query->g...
9,691 Views
14 Replies
05-14-2020, 07:59 AM
remesses_thegreat
    Thread: Model Returns Null on FindAll
Post: RE: Model Returns Null on FindAll

jreklund Wrote: (05-13-2020, 01:03 PM) -- Have you tried with a capital A? The real name of the function are findAll. -- Good Day. Thanks for the response. Just tried it with a capital A now it ...
9,691 Views
14 Replies
05-14-2020, 03:01 AM
remesses_thegreat
    Thread: Model Returns Null on FindAll
Post: RE: Model Returns Null on FindAll

So The model can insert data to db without problem. Problem is retrieving it from the database. So any help would be appreciated. Is there any step i might be missing ? I want to be able to use functi...
9,691 Views
14 Replies
05-13-2020, 02:25 AM
remesses_thegreat
    Thread: Model Returns Null on FindAll
Post: Model Returns Null on FindAll

Good Day Everyone. Please urgently help with My Model. I want to get users from table users in db. Model returns Null/ array(0). Below is my code for the controller and model. Thanks in advance  Use...
9,691 Views
14 Replies
05-12-2020, 09:16 PM
remesses_thegreat
    Thread: CodeIgniter 4.0.0-beta.3 released
Post: RE: CodeIgniter 4.0.0-beta.3 released

Great work. Patiently waiting for actual release. I login everyday hoping to see the final version ready. I can't wait!!
56,112 Views
41 Replies
05-09-2019, 07:10 AM
remesses_thegreat

Theme © iAndrew 2016 - Forum software by © MyBB