Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CLI vs. 'normal' environment differences?
Post: RE: CLI vs. 'normal' environment differences?

kenjis Wrote: (01-06-2022, 05:07 PM) -- Why don't you run it via CLI? $ php public/index.php home index -- Exactly - it's failing from CLI while working from a browser call. I think I figured...
2,725 Views
3 Replies
01-06-2022, 08:16 PM
gazer
    Thread: CLI vs. 'normal' environment differences?
Post: CLI vs. 'normal' environment differences?

What differences do I need to consider when running a function from command line (CLI) vs. calling it from a browser? I'm trying get a function running from cron (it's a website scrape using Goutte/S...
2,725 Views
3 Replies
01-06-2022, 02:18 PM
gazer
    Thread: Simple POST request - not getting to controller?
Post: RE: Simple POST request - not getting to controlle...

Solved it after posting: CSRF was getting in the way.  Implementing in view and controller resolved it.  See examples below for future reference (showing both POST and GET methods). view: Code: -- ...
2,402 Views
1 Replies
12-08-2021, 01:29 PM
gazer
    Thread: Simple POST request - not getting to controller?
Post: Simple POST request - not getting to controller?

Is there some setting I'm missing to get a post request to go to the correct controller? I've tried to isolate the issues with a simple test controller and view, but somehow, the POST request appears...
2,402 Views
1 Replies
12-08-2021, 11:23 AM
gazer

Theme © iAndrew 2016 - Forum software by © MyBB