Run a seeder using a php script, without spark CLI |
Hi datamweb,
Many thanks for your instructions, I really appreciate it! I have followed what you wrote but unfortunately I get: 404 - File Not Found.... Can't find a route for 'home'. I also tried Home, home.php, Home.php I think it's because I followed that tutorial which has custom routes written in Routes.php Is there a route I could write specifically to allow that Home.php file to be called in the URL? Here is what's in Routes.php Code: $routes->addPlaceholder('slug', '[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*'); Thanks again! |
Messages In This Thread |
Run a seeder using a php script, without spark CLI - by Kishan Anand - 04-28-2022, 11:21 AM
RE: Run a seeder using a php script, without spark CLI - by datamweb - 04-28-2022, 01:15 PM
RE: Run a seeder using a php script, without spark CLI - by Kishan Anand - 04-28-2022, 03:14 PM
RE: Run a seeder using a php script, without spark CLI - by datamweb - 04-28-2022, 04:41 PM
RE: Run a seeder using a php script, without spark CLI - by datamweb - 04-30-2022, 05:19 PM
RE: Run a seeder using a php script, without spark CLI - by Kishan Anand - 04-29-2022, 05:44 AM
RE: Run a seeder using a php script, without spark CLI - by datamweb - 04-29-2022, 10:46 AM
RE: Run a seeder using a php script, without spark CLI - by InsiteFX - 04-30-2022, 12:32 AM
RE: Run a seeder using a php script, without spark CLI - by kenjis - 04-30-2022, 02:42 PM
RE: Run a seeder using a php script, without spark CLI - by Kishan Anand - 05-06-2022, 08:16 AM
|