N16h7h4wk

N16h7h4wk

Member Since 1 Week Ago

Experience Points 1,240
Experience
Level
Lessons Completed 11
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

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

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

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

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

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

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

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

12 Jan
1 week ago

N16h7h4wk left a reply on Class App\Providers\AppServiceProvider Not Found Within ProviderRepository.php

Ran into this issue again from starting over, yet managed to fix it with

php artisan migrate:refresh php artisan config:cache

Hope this helps someone if they experience this issue.

11 Jan
1 week ago

N16h7h4wk left a reply on SQLSTATE[42S01]: Base Table Or View Already Exists ? Install Admin Panel Issue !

@NAKOV - same issue presented when ran: php artisan migrate

N16h7h4wk left a reply on SQLSTATE[42S01]: Base Table Or View Already Exists ? Install Admin Panel Issue !

Yes, I have important data within the database. I have cloned my Laravel app and DB, so nothing is affected if I run into issues.

I know both Laravel App and voyager are trying to use the same SQL table as settings that is why I see this error, but I can not update to use a prefix such as abcsettings because my laravel app cannot read SQL table if prefix is changed in .env file. It seems easy when you first read the SQL error, yet no workaround.

My next attempt is to export data out of my SQL DB, then delete, install voyager and then dump exported SQL back into DB, I'll post results after.

N16h7h4wk started a new conversation SQLSTATE[42S01]: Base Table Or View Already Exists ? Install Admin Panel Issue !

Attempting to install Voyager on Laravel 5.4 using the same SQL database as Laravel app.

These are the steps I took for installation:

1: cd /laravel_app 2: composer require tcg/voyager 3: My .env already has my DB credentials 4: My app_url within .env is: APP_URL=http://localhost:8000 5: Since I am running 5.4 I added serviceprovider within config/app.php

    /*
     * Package Service Providers...
     */
    Laravel\Tinker\TinkerServiceProvider::class,
    TCG\Voyager\VoyagerServiceProvider::class,
    /*
     * Application Service Providers...
     */

6: php artisan config:clear (If I don't do this before install I get Voyager command not found and or voyager namespace not a registered class)

7: php artisan voyager:install

This is what follows:

Publishing the Voyager assets, database, and config files Copied Directory [/vendor/tcg/voyager/publishable/assets] To [/public/vendor/tcg/voyager/assets]

Publishing complete.

Copied Directory [/vendor/tcg/voyager/publishable/database/seeds] To [/database/seeds]

Publishing complete. Publishing complete. Migrating the database tables into your application

  • Application In Production!     *
    

Do you really wish to run this command? (yes/no) [no]:

yes

In Connection.php line 647:

SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'settings' already exists (SQL: create table expsettings (id int unsigned not null auto_increment primary key, key varchar(191) not null, display_name varchar(191) not null, value text not null, details text null, type varchar(191) not null, order int not null default '1') default character set utf8mb4 collate utf8mb4_unicode_ci)

In PDOStatement.php line 107: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'settings' already exists

In PDOStatement.php line 105: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'settings' already exists

Other things I have tried are:

  • composer update -php artisan cache:clear
  • composer dumpautoload

Voyager is visible when I run php artisan

My goal is to use Voyager admin with my Laravel app Any help is greatly appreciated

N16h7h4wk left a reply on Class App\Providers\AppServiceProvider Not Found Within ProviderRepository.php

@AMIRHAZZ - I had attempted this first when I ran into this issue. I ended up starting the install process again. Thanks for your help.

09 Jan
1 week ago

N16h7h4wk started a new conversation Class App\Providers\AppServiceProvider Not Found Within ProviderRepository.php

Running Laravel 5.4

I updated the namespace of our Laravel app and now I get this error with all commands using artisan:

In ProviderRepository.php line 208: Class 'App\Providers\AppServiceProvider' not found

I reverted back to the original namespace of app and still having this issue.

My question is how do you properly register this class within ProviderRepository.php? I can not find clear instructions unless someone can direct me in the right direction.

I am fairly new to Laravel, so I do apologize for sounding like a Noob.