amifidele

amifidele

Member Since 5 Months Ago

Experience Points
910
Total
Experience

4,090 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
7
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your 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-in-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 Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist 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
910 XP
May
23
1 week ago
Activity icon

Replied to My Laravel Form Is Showing 500 Server Error On Shared Hosting

@michaloravec thanks for your help I'm going to fix it

Activity icon

Replied to My Laravel Form Is Showing 500 Server Error On Shared Hosting

@michaloravec That it!

[2020-05-20 08:10:12] local.ERROR: No Database connection yet in VoyagerServiceProvider loadAuth()  
[2020-05-20 08:10:12] local.ERROR: SQLSTATE[28000] [1045] Access denied for user 'admin'@'localhost' (using password: YES) {"exception":"[object] (Doctrine\DBAL\Driver\PDOException(code: 1045): SQLSTATE[28000] [1045] Access denied for user 'admin'@'localhost' (using password: YES) at /home/ihahoqaw/public_html/shop/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31)
Activity icon

Replied to My Laravel Form Is Showing 500 Server Error On Shared Hosting

@michaloravec should I post the whole file? which is located storage/logs/laravel.log?

Activity icon

Started a new Conversation My Laravel Form Is Showing 500 Server Error On Shared Hosting

My laravel form is working correctly on localhost but when is on shared hosting its gives a server error,

please help me to get out of this.

see my code in CheckoutController.php :

 public function store(Request $request)
    {

        $order = Order::create([
            'user_id' => auth()->user() ? auth()->user()->id : null,
            'billing_email' => $request->email,
            'billing_phone' => $request->phone,
            'billing_name' => $request->name,
            'billing_name_on_card' => $request->name_on_card,
            'billing_city' => $request->city,
            'billing_time' => $request->created_at,
            'billing_subtotal' => $request->newSubtotal,
            'billing_tax' => $request->newTax,
            'billing_total' => $request->newTotal,
            'error' => null,

        ]);


        foreach(Cart::content() as $product){
            OrderProduct::create([
                'order_id' => $order->id,
                'product_id' => $product->model->id,
                'quantity' => $product->qty,
            ]);
        }

        
       Mail::send(new OrderPlaced($order));

        Cart::instance('default')->destroy();

      
        return redirect()->route('success');
    }

my routes web.php code :

Route::post('/checkout', '[email protected]')->name('checkout.store');

May
10
3 weeks ago
Activity icon

Awarded Best Reply on Class 'Doctrine\Inflector\InflectorFactory' Not Found

@jlrdw thanks for your reply but finally I found It! I add the platform config option in composer.json like this :

"config": {
    "platform": {
        "php": "7.2.24"
    }
}

and then I run :

composer update
Activity icon

Replied to Class 'Doctrine\Inflector\InflectorFactory' Not Found

@jlrdw thanks for your reply but finally I found It! I add the platform config option in composer.json like this :

"config": {
    "platform": {
        "php": "7.2.24"
    }
}

and then I run :

composer update
Activity icon

Replied to Class 'Doctrine\Inflector\InflectorFactory' Not Found

when I tried to update my composer there is this error


Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install doctrine/inflector 2.0.0
    - Conclusion: don't install doctrine/inflector 2.1.x-dev
    - laravel/framework 7.x-dev requires doctrine/inflector ^1.1 -> satisfiable by doctrine/inflector[1.1.x-dev, 1.2.x-dev, 1.3.x-dev, 1.4.x-dev].

Activity icon

Started a new Conversation Class 'Doctrine\Inflector\InflectorFactory' Not Found

Please help me I have this error in my laravel app version 7.0,

I have tried to update my composer and it fails with this error

May
05
3 weeks ago
Activity icon

Replied to Change The Login/register URL In Laravel 5.5

Hello, guys, I've tried this method on the latest version of laravel 7.x but it didn't work but I have made a research and finally, I got an answer!

Route::group(['prefix' => 'admin'], function () {

    Auth::routes();

});