gemilyd

gemilyd

Member Since 4 Months Ago

Experience Points
570
Total
Experience

4,430 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
3
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.

Level 1
570 XP
Jun
20
3 months ago
Activity icon

Replied to Migrate

Hey, I have the same error I'm running it on Linux using SQLite. please help

Activity icon

Replied to PDOException::("could Not Find Driver")

this is my phpinfo file

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * phpinfo() wrapper to allow displaying only when configured to do so.
 *
 * @package PhpMyAdmin
 */

/**
 * Gets core libraries and defines some variables
 */
require_once 'libraries/common.inc.php';
$response = PhpMyAdmin\Response::getInstance();
$response->disable();
$response->getHeader()->sendHttpHeaders();

/**
 * Displays PHP information
 */
if ($GLOBALS['cfg']['ShowPhpInfo']) {
    phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES);
}

I don't see any PDO or maybe I'm opening the wrong file?

Jun
17
3 months ago
Activity icon

Replied to PDOException::("could Not Find Driver")

@NASH - MySQL but I also tried with SQLite but I still get the same error

Activity icon

Replied to PDOException::("could Not Find Driver")

Also I did create a db in sql before calling it in my cmd but stil same error

Activity icon

Replied to PDOException::("could Not Find Driver")

SQLite is installed but when I try to use I get the same error

Activity icon

Started a new conversation PDOException::("could Not Find Driver")

I'm getting this error. I do have a database file created

vim Database\database.sql

However, I'm still running into the same error

[email protected] MINGW64 ~/Website
$ php artisan migrate

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

  at C:\Users\wembalongeg\Website\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")
      C:\Users\wembalongeg\Website\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70

  2   PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=Laravel", "root", "root", [])
      C:\Users\wembalongeg\Website\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70

  Please use the argument -v to see more details.

Jun
14
4 months ago
Activity icon

Replied to Migrate Command Error

it does i created it with

C:\Users\wembalongeg\Website>vim database/database.sql
Activity icon

Replied to Migrate Command Error

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=root

I did specify in my .enc which db i would use

Activity icon

Started a new conversation Migrate Command Error

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

  at C:\Users\wembalongeg\Website\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")
      C:\Users\wembalongeg\Website\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70

  2   PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=laravel", "root", "root", [])
      C:\Users\wembalongeg\Website\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70

I'm getting this error everytime I run

php artisan migrate
Jun
13
4 months ago
Activity icon

Replied to Laravel Error 500, Welcome Page Not Loading

Thanks, I created a .env file and copied everything that was in .env.example in it. I ran

php artisan key:generate

it successfully generated the key then I did

php artisan serve```
Activity icon

Replied to Laravel Error 500, Welcome Page Not Loading

C:\Users\wembalongeg\Website>php artisan key:generate

   ErrorException  : file_get_contents(C:\Users\wembalongeg\Website\.env): failed to open stream: No such file or directory

  at C:\Users\wembalongeg\Website\vendor\laravel\framework\src\Illuminate\Foundation\Console\KeyGenerateCommand.php:96
     92|     {
     93|         file_put_contents($this->laravel->environmentFilePath(), preg_replace(
     94|             $this->keyReplacementPattern(),
     95|             'APP_KEY='.$key,
  >  96|             file_get_contents($this->laravel->environmentFilePath())
     97|         ));
     98|     }
     99|
    100|     /**

  Exception trace:

  1   file_get_contents("C:\Users\wembalongeg\Website\.env")
      C:\Users\wembalongeg\Website\vendor\laravel\framework\src\Illuminate\Foundation\Console\KeyGenerateCommand.php:96

  2   Illuminate\Foundation\Console\KeyGenerateCommand::writeNewEnvironmentFileWith("base64:wxWLyECKn6MRRY4YIEA7VoWS2+Ur/57wQQtwiDEBhlg=")
      C:\Users\wembalongeg\Website\vendor\laravel\framework\src\Illuminate\Foundation\Console\KeyGenerateCommand.php:80

this is what I get when I do: "php artisan key: generate"

Activity icon

Replied to Laravel Error 500, Welcome Page Not Loading

This is what my .env.example file has

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

Activity icon

Replied to Laravel Error 500, Welcome Page Not Loading

I do have the .env.example.

Activity icon

Started a new conversation Laravel Error 500, Welcome Page Not Loading

I'm currently having problem with loading Laravel welcome page. Instead, I get error 500, there is nothing in the log so I don't even know what's wrong with. This is my first time using laravel, anyone has an idea on how to fix this?

Activity icon

Replied to Welcome.blade.php Not Working

I'm currently having problem with loading Laravel welcome page. Instead, I get error 500, there is nothing in the log so I don't even know what's wrong with. This is my first time using laravel, anyone has an idea on how to fix this?