meriki

meriki

Member Since 1 Month Ago

Experience Points 500
Experience Level 1

4,500 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 1
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

23 Jun
3 weeks ago

meriki left a reply on My Laravel Views Not Working

@SCC - yes it says

command not found

meriki left a reply on My Laravel Views Not Working

I have tried that and it is not working for me my OS is Arch Linux

meriki left a reply on My Laravel Views Not Working

@SCC - Yes please advise on how I can fix that, please

meriki left a reply on My Laravel Views Not Working

The command cannot be found I am not using Xammp I install Apache, PHP and MySQL separately

Please advise

Thanks

meriki left a reply on My Laravel Views Not Working

@TRAY2 - Please advise on how I can enable it, please

meriki started a new conversation My Laravel Views Not Working

Hi Laravel Dev

I have successfully installed Apache, PHP, and MariaDB and I also install laravel with no issue and I created my project setup my route and views with no issues but when I run the project only the Default welcome pages are working and any other page gives me the error message below please can someone advise on how I can go about this

Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404 localhost Apache/2.4.39 (Unix) PHP/7.3.6

18 Jun
1 month ago

meriki left a reply on Unable To Do Php Artisan Migrate

Thanks to everyone for your support I finally sorted the issues, i have to uninstall xampp which I was using and install Apache,MariaDB, and PHP manually and I have to reinstall laravel all over and it now works for me perfectly well

17 Jun
1 month ago

meriki left a reply on Unable To Do Php Artisan Migrate

what do you advise I do reinstall?

meriki left a reply on Unable To Do Php Artisan Migrate

@loudriot This is the result from my console if I type php --ini

[elmeriki-pc meriki]# php --ini

Configuration File (php.ini) Path: /etc/php

Loaded Configuration File: /etc/php/php.ini

Scan for additional .ini files in: /etc/php/conf.d

Additional .ini files parsed: (none)

meriki left a reply on Unable To Do Php Artisan Migrate

@kima please advise on how I can solve this with your proposed solution or what command can I run

meriki left a reply on Unable To Do Php Artisan Migrate

@KIMA - @kima No, I have not install any of the laravel Debugger

meriki left a reply on Unable To Do Php Artisan Migrate

@LOUDRIOT - @loudriot yes I have done that with PHP -m and here is the list

[PHP Modules] Core ctype curl date dom fileinfo filter hash json libxml mbstring mysqlnd openssl pcntl pcre PDO Phar posix readline Reflection session SimpleXML SPL standard tokenizer xml xmlreader xmlwriter zip zlib

meriki left a reply on Unable To Do Php Artisan Migrate

@kima I have done that but I still the same error

Illuminate\Database\QueryException : could not find driver (SQL: select * from information_schema.tables where table_schema = meriki and table_name = migrations and table_type = 'BASE TABLE')

at /opt/lampp/htdocs/meriki/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664 660| // If an exception occurs when attempting to run a query, we'll format the error 661| // message to include the bindings with SQL, which will make this exception a 662| // lot more helpful to the developer instead of just the database's errors. 663| catch (Exception $e) {

664| throw new QueryException( 665| $query, $this->prepareBindings($bindings), $e 666| ); 667| } 668|

Exception trace:

1 PDOException::("could not find driver") /opt/lampp/htdocs/meriki/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70

2 PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=meriki", "root", "[email protected]", []) /opt/lampp/htdocs/meriki/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70

Please use the argument -v to see more details.

meriki left a reply on Unable To Do Php Artisan Migrate

@kel_ @snapey please advise what next

Thanks

meriki left a reply on Unable To Do Php Artisan Migrate

@snapey This is the response from Tinker

=> [ "default" => "mysql", "connections" => [ "sqlite" => [ "driver" => "sqlite", "url" => null, "database" => "meriki", "prefix" => "", "foreign_key_constraints" => true, ], "mysql" => [ "driver" => "mysql", "default" => "mysql", "url" => null, "host" => "127.0.0.1", "port" => "3306", "database" => "meriki", "username" => "root", "password" => "[email protected]", "unix_socket" => "", "charset" => "utf8", "collation" => "utf8_general_ci", "prefix" => "", "prefix_indexes" => true, "strict" => true, "engine" => null, "options" => [], ], "pgsql" => [ "driver" => "pgsql", "url" => null, "host" => "127.0.0.1", "port" => "3306", "database" => "meriki", "username" => "root", "password" => "[email protected]", "charset" => "utf8", "prefix" => "", "prefix_indexes" => true, "schema" => "public", "sslmode" => "prefer", ], "sqlsrv" => [ "driver" => "sqlsrv", "url" => null, "host" => "127.0.0.1", "port" => "3306", "database" => "meriki", "username" => "root", "password" => "[email protected]", "charset" => "utf8", "prefix" => "", "prefix_indexes" => true, ], ], "migrations" => "migrations", "redis" => [ "client" => "predis", "options" => [ "cluster" => "predis", "prefix" => "laravel_database_", ], "default" => [ "host" => "127.0.0.1", "password" => null, "port" => "6379", "database" => 0, ], "cache" => [ "host" => "127.0.0.1", "password" => null, "port" => "6379", "database" => 1, ], ], ]

Please advise what next

meriki left a reply on Unable To Do Php Artisan Migrate

@kel_ I just added it and this is how it looks as seen below but I still get the same error

'mysql' => [ 'default' => env('DB_CONNECTION', 'mysql'), 'driver' => 'mysql', 'url' => env('DATABASE_URL'), 'host' => env('DB_HOST', '127.0.0.1'), 'port' => env('DB_PORT', '3306'), 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), 'unix_socket' => env('DB_SOCKET', ''), 'charset' => 'utf8', 'collation' =>'utf8_general_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'options' => extension_loaded('pdo_mysql') ? array_filter([ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), ]) : [], ],

meriki left a reply on Unable To Do Php Artisan Migrate

@kel_ kindly advise on how I can configure the 'default' key in app/config/database.php?

Thanks

meriki left a reply on Unable To Do Php Artisan Migrate

@kel_ Okay, which OS are you using? I am using Linux Deeping Manjaro (Arch Linux)

Oh, and did you configure the 'default' key in app/config/database.php? I am not sure here is the source of the app/config/database.php?

meriki left a reply on Unable To Do Php Artisan Migrate

@kel_ I have done that and also restart my server the problem is still the same as seen below

Illuminate\Database\QueryException : could not find driver (SQL: select * from information_schema.tables where table_schema = homestead and table_name = migrations and table_type = 'BASE TABLE')

at /opt/lampp/htdocs/meriki/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664 660| // If an exception occurs when attempting to run a query, we'll format the error 661| // message to include the bindings with SQL, which will make this exception a 662| // lot more helpful to the developer instead of just the database's errors. 663| catch (Exception $e) {

664| throw new QueryException( 665| $query, $this->prepareBindings($bindings), $e 666| ); 667| } 668|

Exception trace:

1 PDOException::("could not find driver") /opt/lampp/htdocs/meriki/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70

2 PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=homestead", "homestead", "secret", []) /opt/lampp/htdocs/meriki/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70

Please use the argument -v to see more details.

meriki left a reply on Unable To Do Php Artisan Migrate

@kel_ I have Mysql Install and here with below is my .ENV file

APP_NAME=Laravel APP_ENV=local APP_KEY=base64:0aafhzDH8z9R5EVltUMIspXZ3P856PXzBbyPoGRcJ2o= APP_DEBUG=true APP_URL=http://localhost

LOG_CHANNEL=stack

DB_CONNECTION=MySql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=meriki DB_USERNAME=root DB_PASSWORD=

BROADCAST_DRIVER=log CACHE_DRIVER=file QUEUE_CONNECTION=sync SESSION_DRIVER=file SESSION_LIFETIME=120

REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379

MAIL_DRIVER=smtp MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null

AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_DEFAULT_REGION=us-east-1 AWS_BUCKET=

PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

meriki left a reply on Unable To Do Php Artisan Migrate

Can someone help me out with this problem I have tried all possible solution to no avail

meriki started a new conversation Unable To Do Php Artisan Migrate

Illuminate\Database\QueryException : could not find driver (SQL: select * from information_schema.tables where table_schema = homestead and table_name = migrations and table_type = 'BASE TABLE')

at /opt/lampp/htdocs/meriki/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664 660| // If an exception occurs when attempting to run a query, we'll format the error 661| // message to include the bindings with SQL, which will make this exception a 662| // lot more helpful to the developer instead of just the database's errors. 663| catch (Exception $e) {

664| throw new QueryException( 665| $query, $this->prepareBindings($bindings), $e 666| ); 667| } 668|

Exception trace:

1 PDOException::("could not find driver") /opt/lampp/htdocs/meriki/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70

2 PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=homestead", "homestead", "secret", []) /opt/lampp/htdocs/meriki/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70