Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How use controller property after requests
Post: RE: How use controller property after requests

I found the solution using sessions. I can add $this->session = \Config\Services::session(); into BaseController Then, in the end of every method on my controller, I can save the state of $a into th...
952 Views
1 Replies
05-05-2020, 07:18 AM
danielsonsilva
    Thread: How use controller property after requests
Post: How use controller property after requests

Hello, How we can endure a state of a controller property after a request in CodeIgniter version 4. For example, imagine that $a is a complex object: / the controller complains that the variable...
952 Views
1 Replies
05-04-2020, 06:09 PM
danielsonsilva
    Thread: Can't load external javascript code
Post: RE: Can't load external javascript code

Thanks. It was missing the project name into base app directory into Config/App.php. It have to be looking into localhost/professionalsite/diceroller instead of localhost/diceroller.
4,527 Views
10 Replies
05-04-2020, 02:11 PM
danielsonsilva
    Thread: Can't load external javascript code
Post: RE: Can't load external javascript code

I'll try that today. Move the file around to see if the browser check its contents.
4,527 Views
10 Replies
05-04-2020, 11:21 AM
danielsonsilva
    Thread: Can't load external javascript code
Post: RE: Can't load external javascript code

The CSS doesn't load also. I put some lines in the picture to become easy to follow the directories.
4,527 Views
10 Replies
05-04-2020, 05:38 AM
danielsonsilva
    Thread: Can't load external javascript code
Post: RE: Can't load external javascript code

Hello, there is a print-screen from the project on the view/diceroller.php open to show the line that I load de file script.js and the browser could not find it.
4,527 Views
10 Replies
05-04-2020, 03:47 AM
danielsonsilva
    Thread: Handling environments using .env
Post: RE: Handling environments using .env

I can't make it work for me too. I didn't understand the solution to change to development mode. I opened the env file and changed to: Code: -- #---------------------------------------------------...
8,104 Views
7 Replies
04-30-2020, 03:05 PM
danielsonsilva
    Thread: Can't load external javascript code
Post: RE: Can't load external javascript code

I changed the $baseURL inside Config/App.php to "http://localhost/diceroller/", restarted the xampp and did try again. But the message only crop the 8080 from the message: Code: -- Falha no carre...
4,527 Views
10 Replies
04-30-2020, 02:31 PM
danielsonsilva
    Thread: Can't load external javascript code
Post: Can't load external javascript code

Hello, I'm trying to load an external javascript code inside a view from my project, but the browser can't find. The javascript is found on: localhost/diceroller/assets/js/script.js My index.php ...
4,527 Views
10 Replies
04-30-2020, 01:46 PM
danielsonsilva
    Thread: An application inside the website
Post: RE: An application inside the website

Thanks. It worked. The URI does not contain the "public" anymore.
3,361 Views
6 Replies
04-30-2020, 01:12 PM
danielsonsilva
    Thread: An application inside the website
Post: RE: An application inside the website

I'll try that today.
3,361 Views
6 Replies
04-30-2020, 04:27 AM
danielsonsilva
    Thread: An application inside the website
Post: RE: An application inside the website

I redirect to application/public and it worked, but the URI contains the "public" part. I read the page that you put several times, but I don't want to put the app folder in other place. I wanted t...
3,361 Views
6 Replies
04-29-2020, 03:24 PM
danielsonsilva
  Sad Thread: An application inside the website
Post: An application inside the website

Hello, I have a question when I have an application inside my website, how to configure the framework. I installed the framework via composer and copied the designated folder to my application's fol...
3,361 Views
6 Replies
04-27-2020, 05:09 PM
danielsonsilva

Theme © iAndrew 2016 - Forum software by © MyBB