georgeos

georgeos

Member Since 3 Years Ago

Experience Points 770
Experience
Level
Lessons Completed 6
Lessons
Completed
Best Reply Awards 0
Best Answer
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.

14 Oct
2 years ago

georgeos left a reply on How To Solve CURL Error 60: SSL Certificate In Laravel 5 While Facebook Authentication

In case someone is using Wamp server, the right file is located in: "C:\wamp\bin\apache\apache\bin\php.ini"

12 Jun
2 years ago

georgeos left a reply on Eloquent To Query Many Tables

Laravel is amazing! It makes programming so easy!!!

Thanks @tykus_ikus !

georgeos started a new conversation Eloquent To Query Many Tables

Hello all, I want to query four tables using Eloquent: status, type, activity, project. One project has many activities and one status, and every activity has one type. Using relationships I can query three of them, activity, project and type.

return Activity::with('project','type')->paginate(25);

But I want to know the status of the project. How can I do that with Eloquent? Thanks in advance.

09 May
2 years ago
29 Mar
2 years ago

georgeos left a reply on Upload File To Laravel As API

Thanks @deringer but it didn't work.

The request is being sent. Even if I do a var_dump('hello worl'); from my controller, I can see it in the response from the browser's developers tools.

Everything is fine, but it seems that when Laravel search for the Input's they are null.

Any other idea?

28 Mar
2 years ago

georgeos started a new conversation Upload File To Laravel As API

Hello all, I'm experiencing a problem with my Laravel API, actually, I'm not sure if the problem is in my Laravel API or my frontend App (if so, sorry for bothering in this forum). The situation is this.

I'm trying to upload a single file from the frontend into the laravel API. For this, I'm using AngularJS and ng-file-upload. From postman, I'm using these settings (http://i.stack.imgur.com/o9LHM.jpg) : Method: Post URL: api/account/1?&_method=PUT Params:

  • _method: PUT Body:
  • name: Test
  • logo: A selected file from my computer

Using these settings, Postman is uploading the file successfully. In my Laravel controller, I have this:

public function update(Account $account)
    {
        $name = Input::get('name');
        $logo = Input::file('logo');
        $account->name = $name;
        $account->logo = $logo;
        $newaccount->save();
        return response()->json(["message"=>"updated"]);
    }

But from my AngularJS, it appears like I'm using the same approach but my Laravel API looks like is not receiving nothing! This is my relevant code about the Laravel API call.

Upload.upload({
        url: 'api/account/'+ $scope.id,
        method: 'PUT',
        file: logo,
        sendFieldsAs: 'form-data',
        fields: { name: $scope.name },
    })

If anyone has a clue, please let me know. I think the problem is with the PUT method, but I'm not sure. I have been dealing with this problem by some hours ago. Thanks in advance.

09 Feb
2 years ago
02 Dec
3 years ago

georgeos left a reply on Absolute Beginner Question Re Cannot Save A Task From The Tutorial

Hello, I was having the same problem but finally is the solved!

I did these steps:

  1. Create an alias "website" to point to my C:/Wamp/www/laravel/public So, I can access through: http://localhost/website
  2. Modify the .htaccess located at C:/Wamp/www/laravel/public, using this:
<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ /website/index.php [L]
</IfModule>
  1. Change the tasks.blade.php on the POST to:
<form action="{{ url("/task") }}" method="POST" class="form-horizontal">

This should work!

georgeos left a reply on Absolute Beginner Question Re Cannot Save A Task From The Tutorial

Hello, I was having the same problem but finally is the solved!

I did these steps:

  1. Create an alias "website" to point to my C:/Wamp/www/laravel/public. So, I can access through: http://localhost/website

  2. Modify the .htaccess located at C:/Wamp/www/laravel/public, using this: Options -MultiViews

    RewriteEngine On

    Redirect Trailing Slashes If Not A Folder...

    RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301]

    Handle Front Controller...

    RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /website/index.php [L]

  3. Change the tasks.blade.php on the POST to:

This should work!