Welcome Guest, Not a member yet? Register   Sign In
Packages boilerplate
#1

[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.
Reply
#2

Good job!  Cool
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply
#3

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

Thanks  Big Grin
Reply
#4

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
Reply
#5

Well done..keep it up.

Trims,
Reply
#6

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.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#7

(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
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply
#8

(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.
Reply
#9

(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.
Reply
#10

(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/5cf58f5fe2a6...6647do.png
Thank you very much for your help and your time and sorry for the inconvenience that I have caused you
Reply




Theme © iAndrew 2016 - Forum software by © MyBB