CodeIgniter Forums
Packages boilerplate - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Addins (https://forum.codeigniter.com/forumdisplay.php?fid=34)
+--- Thread: Packages boilerplate (/showthread.php?tid=75943)

Pages: 1 2 3


Packages boilerplate - agungsugiarto - 03-31-2020

[Image: dashboard.png]

Hello guys, wanna share to  you!
Im made some packages boilerplate to start new project based on CI 4.
Feature this packages: Demo user / password
admin / super-admin
user / super-user

Demo: Heroku
github: Github
packagist: agungsugiarto/boilerplate

Note: This project is early on development feel free to contribute.

Thanks,
Agung Sugiarto.


RE: Packages boilerplate - includebeer - 04-05-2020

Good job!  Cool


RE: Packages boilerplate - agungsugiarto - 04-12-2020

(04-05-2020, 01:13 PM)includebeer Wrote: Good job!  Cool

Thanks  Big Grin


RE: Packages boilerplate - Martin_Salas - 04-12-2020

I'm not sure if this is the right place to ask you a question, but I hope you can answer it.

when executing the command:

                     php spark boilerplate:install

I obey in response:
CodeIgniter CLI Tool - Version 4.0.2 - Server-Time: 2020-04-13 00:12:40am

  created: Config/Boilerplate.php
Running all new migrations...
An uncaught Exception was encountered

Type:        Error
Message:    Class 'SQLite3' not found
Filename:    /var/www/html/pruebaa.net/vendor/codeigniter4/framework/system/Database/SQLite3/Connection.php
Line Number: 89

How can i fix this?
All of the above could be done correctly, but I'm not sure if I forget anything.
Thank you very much


RE: Packages boilerplate - maulahaz - 04-13-2020

Well done..keep it up.

Trims,


RE: Packages boilerplate - InsiteFX - 04-13-2020

You can have nested menus greater then 2 by using this bootstrap 4 code.

Bootstrap 4 Responsive Navbar with Multi level Dropdowns

There is also a demo of it.


RE: Packages boilerplate - includebeer - 04-13-2020

(04-12-2020, 10:29 PM)Martin_Salas Wrote: An uncaught Exception was encountered

Type:        Error
Message:    Class 'SQLite3' not found
Filename:    /var/www/html/pruebaa.net/vendor/codeigniter4/framework/system/Database/SQLite3/Connection.php
Line Number: 89

How can i fix this?
All of the above could be done correctly, but I'm not sure if I forget anything.
Thank you very much

If you have more that one version of PHP installed at the same time, make sure the php from the command line is the same as the one used by the web server. See this thread, I had a similar problem: https://forum.codeigniter.com/thread-75161.html


RE: Packages boilerplate - agungsugiarto - 04-13-2020

(04-12-2020, 10:29 PM)Martin_Salas Wrote: I'm not sure if this is the right place to ask you a question, but I hope you can answer it.

when executing the command:

                     php spark boilerplate:install

I obey in response:
CodeIgniter CLI Tool - Version 4.0.2 - Server-Time: 2020-04-13 00:12:40am

  created: Config/Boilerplate.php
Running all new migrations...
An uncaught Exception was encountered

Type:        Error
Message:    Class 'SQLite3' not found
Filename:    /var/www/html/pruebaa.net/vendor/codeigniter4/framework/system/Database/SQLite3/Connection.php
Line Number: 89

How can i fix this?
All of the above could be done correctly, but I'm not sure if I forget anything.
Thank you very much

Hello, this because appstarter include folder tests with migration. Error sqlite because cannot find file for migrate tests. You can remove folder tests or rename for ignore unit testing.


RE: Packages boilerplate - agungsugiarto - 04-13-2020

(04-13-2020, 03:27 AM)InsiteFX Wrote: You can have nested menus greater then 2 by using this bootstrap 4 code.

Bootstrap 4 Responsive Navbar with Multi level Dropdowns

There is also a demo of it.

Thanks, for info. I will update helper menu for more nested support.


RE: Packages boilerplate - Martin_Salas - 04-13-2020

(04-13-2020, 07:01 AM)agungsugiarto Wrote:
(04-12-2020, 10:29 PM)Martin_Salas Wrote: I'm not sure if this is the right place to ask you a question, but I hope you can answer it.

when executing the command:

                     php spark boilerplate:install

I obey in response:
CodeIgniter CLI Tool - Version 4.0.2 - Server-Time: 2020-04-13 00:12:40am

  created: Config/Boilerplate.php
Running all new migrations...
An uncaught Exception was encountered

Type:        Error
Message:    Class 'SQLite3' not found
Filename:    /var/www/html/pruebaa.net/vendor/codeigniter4/framework/system/Database/SQLite3/Connection.php
Line Number: 89

How can i fix this?
All of the above could be done correctly, but I'm not sure if I forget anything.
Thank you very much

Hello, this because appstarter include folder tests with migration. Error sqlite because cannot find file for migrate tests. You can remove folder tests or rename for ignore unit testing.

hi, rename the test folder, and got this output:

CodeIgniter CLI Tool - Version 4.0.2 - Server-Time: 2020-04-13 20:23:25pm

  created: Config/Boilerplate.php
Running all new migrations...
Done
Seeded: agungsugiarto\boilerplate\Database\Seeds\BoilerplateSeeder

which seems to me to be correct.
Entering username and password gives me the following error:

ErrorException #1

Uncaught ErrorException: print_r(): Property access is not allowed yet in /var/www/html/prueba.net/app/Views/errors/html/error_exception.php:100 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'print_r(): Prop...', '/var/www/html/p...', 100, Array) #1 /var/www/html/prueba.net/app/Views/errors/html/error_exception.php(100): print_r(Object(Myth\Auth\Controllers\AuthController), true) #2 /var/www/html/prueba.net/system/Debug/Exceptions.php(298): include('/var/www/html/p...') #3 /var/www/html/prueba.net/system/Debug/Exceptions.php(171): CodeIgniter\Debug\Exceptions->render(Object(mysqli_sql_exception), 500) #4 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(mysqli_sql_exception)) #5 {main} thrown

https://fotos.subefotos.com/5cf58f5fe2a6cf7d5b26e6c275a6647do.png
Thank you very much for your help and your time and sorry for the inconvenience that I have caused you