Run a seeder using a php script, without spark CLI |
Hi datamweb, thanks for your support on this! I followed your instructions and it is now showing this error:
ErrorException #64 CodeIgniter\Autoloader\Autoloader::main(): Failed opening required '/var/www/html/index.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') SYSTEMPATH/Commands/Server/rewrite.php at line 43 Code: 36 // then let the request handle it like normal. The KishanSeeder.php file is exactly how you wrote it, Routes.php is updated with your code also and there is no migration file. I tried calling home, Home home.php, Home.php from the URL. Thanks! |
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
|