Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Can't get rid of routing to "public"
Post: RE: Can't get rid of routing to "public"

Thanks so much ! I found the problem in the .env file that there is /public/ at the end of app.baseURL Through your help I managed to solve Thanks !
6,014 Views
9 Replies
08-11-2024, 05:34 PM
RRIOS
    Thread: Can't get rid of routing to "public"
Post: RE: Can't get rid of routing to "public"

1- class App extends BaseConfig {     /**     * --------------------------------------------------------------------------     * Base Site URL     * ---------------------------------------------...
6,014 Views
9 Replies
08-11-2024, 07:39 AM
RRIOS
    Thread: Using php 8.3
Post: RE: Using php 8.3

It worked, I just saw that in the App.php file there was an error message on this line: public string $baseURL = 'https://meu.site.com.br/'; "unexpected T_STRING , expecting T_FUNCTION or T_CONST ( ...
1,350 Views
10 Replies
08-11-2024, 07:07 AM
RRIOS
    Thread: Can't get rid of routing to "public"
Post: RE: Can't get rid of routing to "public"

I downloaded CI 4.4.8 Extract the .zip file I went up to my domain meu.meusite.com.br (hostinger) I configured my root directory to: meu.meusite.com.br/public I configured App.php: public string $...
6,014 Views
9 Replies
08-10-2024, 01:49 PM
RRIOS
  Thumbs Up Thread: Using php 8.3
Post: RE: Using php 8.3

kenjis Wrote: (08-03-2024, 11:12 PM) -- If you are using PHP 7.4, you can use CodeIgniter 4.4.8. https://github.com/codeigniter4/framework/tree/v4.4.8?tab=readme-ov-file#server-requirements Tha...
1,350 Views
10 Replies
08-10-2024, 07:07 AM
RRIOS
    Thread: Using php 8.3
Post: RE: Using php 8.3

kenjis Wrote: (07-28-2024, 02:50 PM) -- One note for pocketarc/codeigniter. See https://github.com/bcit-ci/CodeIgniter/issues/6278#issuecomment-2136716732 Therefore pocketarc/codeigniter works, but...
1,350 Views
10 Replies
08-03-2024, 08:40 AM
RRIOS
    Thread: Show page "loading"
Post: RE: Show page "loading"

ozornick Wrote: (11-03-2023, 11:28 AM) -- Try sample template. Your loader template incorrect. Code: --             Document Loading with JS...                     /...
1,976 Views
6 Replies
11-04-2023, 09:59 AM
RRIOS
  Video Thread: Show page "loading"
Post: RE: Show page "loading"

ozornick Wrote: (11-03-2023, 09:25 AM) -- I can't tell you exactly what the error is. But the logic is this: Show the base page with the loader (for example, trazer_alunosdaturma()) after doing AJAX ...
1,976 Views
6 Replies
11-03-2023, 09:41 AM
RRIOS
    Thread: Show page "loading"
Post: RE: Show page "loading"

ozornick Wrote: (11-03-2023, 07:27 AM) -- php can't work like that. for the "loader" you need to show HTML and then make a request to the controller where SQL (in response to JSON or html). Next, you...
1,976 Views
6 Replies
11-03-2023, 09:15 AM
RRIOS
    Thread: Show page "loading"
Post: Show page "loading"

I have a SPA-type system that uses adminlte .css, in one method I load several SQL selects to create a page with several tabs of information. I would like to show a loading before assembling the page....
1,976 Views
6 Replies
11-03-2023, 06:23 AM
RRIOS
    Thread: Consume API externally
Post: RE: Consume API externally

includebeer Wrote: (10-05-2021, 02:54 PM) -- Double check your routes, your client app, your .htaccess file, your log files.. You must have something wrong with your routes config or your app doesn't...
3,745 Views
5 Replies
10-05-2021, 04:28 PM
RRIOS
    Thread: Consume API externally
Post: RE: Consume API externally

includebeer Wrote: (10-04-2021, 04:23 PM) -- You can't test a POST request by typing its url in the browser. This will send a GET request. Use something like Postman if you want to test your API with...
3,745 Views
5 Replies
10-05-2021, 01:34 PM
RRIOS
    Thread: Consume API externally
Post: Consume API externally

I need to use a query using CI4, via an app. I already have the CRUD, but I need it to send the PK through an app and return json. 1- I created a controller that I tested via browser ( htttp://localh...
3,745 Views
5 Replies
09-28-2021, 05:51 AM
RRIOS
    Thread: Installing on Host that already has version 3
Post: Installing on Host that already has version 3

I have hosting on the hostinger. I created a subdomain and created a website with Codeigniter 3. So the scenario is: in the public_html folder I have a static website that is the domain. in another ...
672 Views
0 Replies
02-04-2021, 12:36 PM
RRIOS
    Thread: 2 $this->input->post :one is empty and the other returns ok
Post: RE: 2 $this->input->post :one is empty and the oth...

includebeer Wrote: (03-24-2020, 02:11 PM) -- Maybe because you have spaces at the wrong places (name and value) : Code: -- -- Should be: Code: -- -- -- OHHHH..my god! Many days of home ...
2,897 Views
3 Replies
03-24-2020, 02:31 PM
RRIOS
    Thread: 2 $this->input->post :one is empty and the other returns ok
Post: 2 $this->input->post :one is empty and the other r...

I have 2 simple and identical files (logically writing to different tables). They use forms to register 2 and 3 values using inputs. But one is returning empty. I already checked if the path is pointi...
2,897 Views
3 Replies
03-23-2020, 10:30 AM
RRIOS
    Thread: [Solved] Validate whether data entered in the input exists in the database - JQUERY
Post: RE: Validate whether data entered in the input exi...

Problem solved : https://pt.stackoverflow.com/questions/440677/por-que-a-fun%c3%a7%c3%a3o-json-encode-php-n%c3%a3o-est%c3%a1-retornando-dados-no-formato-json/440758#440758 (https://pt.stackoverflow...
2,939 Views
3 Replies
03-19-2020, 02:53 PM
RRIOS
    Thread: [Solved] Validate whether data entered in the input exists in the database - JQUERY
Post: RE: Validate whether data entered in the input exi...

RRIOS Wrote: (03-19-2020, 08:30 AM) -- The first problem was solved: I was using jquery slim and this jquery does not recognize $ .ajax -- I was instructed to remove all html from the Controller th...
2,939 Views
3 Replies
03-19-2020, 10:59 AM
RRIOS
    Thread: [Solved] Validate whether data entered in the input exists in the database - JQUERY
Post: RE: Validate whether data entered in the input exi...

The first problem was solved: I was using jquery slim and this jquery does not recognize $ .ajax
2,939 Views
3 Replies
03-19-2020, 08:30 AM
RRIOS
    Thread: [Solved] Validate whether data entered in the input exists in the database - JQUERY
Post: [Solved] Validate whether data entered in the inpu...

I have 3 inputs in the view. They 3 together identify a class from the school. (name, year and semester). So my idea was to validate these values before the submit button does all the data verificatio...
2,939 Views
3 Replies
03-17-2020, 12:33 PM
RRIOS

Theme © iAndrew 2016 - Forum software by © MyBB