0 Best Reply Awards

  • Member Since 3 Years Ago
  • 329 Lessons Completed
  • 23 Favorites

3rd October, 2017

vladimir started a new conversation Setting Up Lets Encrypt • 8 months ago

Here is a problem. I have more then one site on forge/digital ocean. All of them created via forge. Now, one site is not on laravel framework. Clicked to enable ssl on it (encrypt) and it was like 2 minute all done, and site works on https. Other one, which is on laravel framework, does not. When i am looking at error provided by Forge, i see that it tries to validate something under .well-known/.... which is a folder created by ssl installation, by forge, and i do not have any route for it. However, it reports, that it cant find that folder/file. Anyone had issue like this?

Here is my output of ssl installing:

Creating well known challenge directory...
Installing LetsEncrypt client...
Cloning into 'letsencrypt1507016673'...
Configuring client...
Restarting Nginx...
Generating Certificate...
# INFO: Using main config file /root/letsencrypt1507016673/config
+ Generating account key...
+ Registering account key with ACME server...
+ Done!
# INFO: Using main config file /root/letsencrypt1507016673/config
Processing thaidriverlicense.com
 + Signing domains...
 + Creating new directory /root/letsencrypt1507016673/certs/thaidriverlicense.com ...
 + Creating chain cache directory /root/letsencrypt1507016673/chains
 + Generating private key...
 + Generating signing request...
 + Requesting challenge for thaidriverlicense.com...
 + Responding to challenge for thaidriverlicense.com...
ERROR: Challenge is invalid! (returned: invalid) (result: {
  "type": "http-01",
  "status": "invalid",
  "error": {
    "type": "urn:acme:error:unauthorized",
    "detail": "Invalid response from http://thaidriverlicense.com/.well-known/acme-challenge/3vK3IWlnpaQ6QQimcVbU7OGt8aZnSauFS-VMoh9E-j8: \"\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n    \u003chead\u003e\n        \u003cmeta charset=\"UTF-8\" /\u003e\n        \u003cmeta name=\"robots\" content=\"noindex,nofollow\" /\u003e\n   \"",
    "status": 403
  "uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/LJtYczqFZakjDdhi9cHRZD6HWta_etKaiA5xeOxBJ-s/2119614005",
  "token": "3vK3IWlnpaQ6QQimcVbU7OGt8aZnSauFS-VMoh9E-j8",
  "keyAuthorization": "3vK3IWlnpaQ6QQimcVbU7OGt8aZnSauFS-VMoh9E-j8.lv0B-9nv1cv2MUwr87V1tnPc4qNQaLzQp_jZ1xPpjf0",
  "validationRecord": [
      "url": "http://thaidriverlicense.com/.well-known/acme-challenge/3vK3IWlnpaQ6QQimcVbU7OGt8aZnSauFS-VMoh9E-j8",
      "hostname": "thaidriverlicense.com",
      "port": "80",
      "addressesResolved": [
      "addressUsed": "",
      "addressesTried": []

19th September, 2017

vladimir left a reply on Laravel 5.5 Real Time Starter App Using Vuetify , Laravel Echo And Passport • 9 months ago

What is a purpose of that app? I mean, use case? Real Time Starter App, does not says much to me :(

16th June, 2017

vladimir left a reply on Laravel Valet + PhpStorm + Xdebug • 1 year ago

It is not Valet who runs on 9000, it is nginx. Change it to 9001 in phpstorm and in xdebug ini as well

23rd March, 2017

vladimir left a reply on How To Cache My Css And Js Files In Laravel? • 1 year ago

This is apache, what about nginx? Eg Forge comes with nginx

vladimir left a reply on Problem When Importing Css From Google In App.scss When Running "npm Run Production" • 1 year ago

I am having same problem, and adding body{} did not solve it. Still looking for solution

18th March, 2017

vladimir started a new conversation Creating A Quizz For A Kid And Need Help To Solve A Few Problems And Suggestions • 1 year ago

I have asked this on vue forums, but will ask here as well, even tho i believe we are all on both forums :) Anyway here it goes: Making a quizz for a kid and learning things along the way, and want to share code. Currently i am facing a few problems which i commented in code on jsfidle. To all of you willing to help to make quiz to work, here is the fiddle link:


I did read thru documentation and tried many things so far to achieve what i want, but did not manage to make it as i want so far. But i did make a big progress. Documentation is not always clear to me and sometimes i simply have no idea what author want to say. I cant give you any particular example now. Here are my ideas and what i have problem with:


  • There will be (n) questions (most likely 50-90 so she can play for a long time) Idea:
  • I want that when she click on answer, all offered answers get disabled, correct answer marked green, and wrong answers marked red. If she gives a correct answer, it should be marked green, all answers disabled and wrong answers marked to red. If she click on wrong answer, all answers should be disabled, wrong answers marked red and correct answer marked green. Problem Currently, i can't mark and disable all of them, just those answers currently clicked.


  • once she choose the answer, a few thing should happen: a) update number of correctAnswers b) update number of wrongAnswers c) update number of remainedQuestions Problem I cant update those figures


  • when answer is chosen and she click on Next Page, and get next Set of Questions, in case that she click Previous button again, i want to keep her previous answers and answers should be marked as they was when she left that page. Problem Not sure if that is possible without vuex? If its not possible i will simply had to remove . the previous button.

Thank you all for help

vladimir left a reply on Laravel Valet TDL Per Project- Is It Possible? • 1 year ago

@willvincent I am heavy docker user as well for other projects. But as i said, its not me who decides what and how things will developed and deployed. Thanks for the advise tho :)

17th March, 2017

vladimir left a reply on Laravel Valet TDL Per Project- Is It Possible? • 1 year ago

@Snapey i apologize for my harsh comment. I misunderstand your intention and missed to see what is behind your comment. Tho, you are right that how it should not be developed, and i could not agree more. But as i said, its not always on developer to decide the course. Thank you. @willvincent thank you for a time and long explanation of your thoughts on this. Just to say, we do work with Vagrant, but As you know, Valet will spend much less resources and i want to see how it would be. For me personally its a just line of learning by trying to make something crossed my mind, and listening to other respectable people opinions.

vladimir left a reply on Laravel Valet TDL Per Project- Is It Possible? • 1 year ago

Yeah site is not developed on Laravel, and heavily depends on env files. That is why i would like to know if its possible to have valet to serve .dev and .com or any other tld at the same time. I dont see why is entirely of the scope of what valet aims to accomplish. @willvincent as i get it Valet is a simple one step get ready dev enviroment on mac. It works with several poplar framework and it can be customized to serve any tld. But as i understand its only one tld per time. Which i dont see why would be wrong having it to serve multiple tld at time? What in that of scope? I dont see it

vladimir left a reply on Laravel Valet TDL Per Project- Is It Possible? • 1 year ago

alright, the company i am working for has everything depending on the domain name and its local.xxx.com stage.xxx.com etc... Other projects i am working on could go with .dev He did not ask the reason, he actually did, with mentioning that my sites should be developed agnostic of the domain name. How they should or not should be is not always on developer to decide you would agree? I am not answering questions like that. If he would asked as @Chris1904 did i would gladly provide the answer as i did now, cause i understand why he is asking me, without giving me advise that my site should be developed like this or that. I am not asking how my sites should be developed as you probably noticed. I am asking pretty clear and need help. So one more time, i have no influence on how site is developed, i am coding together with 50 other developers on project and i would like to get rid of vagrant and to use valet.

16th March, 2017

vladimir left a reply on Laravel Valet TDL Per Project- Is It Possible? • 1 year ago

Thanks for the comment but it's useless. Why bother to comment?

vladimir left a reply on Laravel Valet TDL Per Project- Is It Possible? • 1 year ago

it seems that its globally configured when i am looking at that json { "domain": "dev", "paths": [ "/Users/vladimir/Projects" ] } if there was: { "domain": { "name" : "dev", "paths": [ "/Users/vladimir/Projects" ] }


Then i think would be worth of trying. I dont see in first case who i could assign new domain/path. I tried adding one more record but it brokes existing and valet is not working.

vladimir started a new conversation Laravel Valet TDL Per Project- Is It Possible? • 1 year ago

Is it possible to use Valet TDL per project? Saying that i mean if i have ~/Sites/Blog and ~/Sites/Todo and i want to have blog.dev and todo.app

Is that possible?

12th March, 2017

vladimir left a reply on Laravel Dusk Opening Opening Browser Window • 1 year ago

@jeffz2016 set you APP_URL to the same url you are using in browser for your local development.

11th March, 2017

vladimir left a reply on Laravel Dusk Opening Opening Browser Window • 1 year ago

Same problem here @jeffz2016 , have you solved it?

3rd March, 2017

vladimir left a reply on Inspiration • 1 year ago

Like it :)

vladimir started a new conversation Chart From Laracasts.com/series/charting-and-you/ • 1 year ago

Above is broken, since a lot of changes from the date it was published. Does not matter, i've got it working with vue 2 and laravel 5.4 Anyway, there is a problem that i cant solve for now. In the series, component is created, and that is great, but there is a line component, with only one line into graph. How to pass two lines into graph? Or more? Here is the part of code:

<div class="column">
          <div class="chart-wrapper">
                  <revenue-graph url="/fetchLast7Days" :range="30" label=""></revenue-graph>

And vue part:

var Graph = Vue.extend({
        template: `
            <canvas width="400" height="400" ref="canvas"></canvas>
            {{ legend }}
        props: {
            url: '',
            label: '',
            background: {
                default: "rgba(220,220,220,0.1)"
        data() {
            return {
                chart: '',
                legend: '',
        mounted() {
        methods: {
            load() {
                    response => this.render(response.data)
            fetchData() {
                return axios.get(this.url);
                this.chart = new Chart(this.$refs.canvas, {
                    type: 'line',
                    data: {
                        labels: data.labels,
                        datasets: [
                                label: this.label, // move to a property to make dynamic.
                                backgroundColor: this.background, //"rgba(220,220,220,0.2)",
                                strokeColor: "rgba(220,220,220,1)",
                                pointColor: "rgba(220,220,220,1)",
                                pointStrokeColor: "#fff",
                                pointHighlightFill: "#fff",
                                pointHighlightStroke: "rgba(220,220,220,1)",
                                data: data.data
                this.legend = this.chart.generateLegend();
            reload() {
    var RevenueGraph = Graph.extend({
        template: `
                            <label>How Many Days?</label>
                            <select v-model="range" @change="reload">
                                <option v-for="n in 365">{{ n }}</option>
                        <canvas ref="canvas"></canvas>
                        <div v-html="legend"></div>
        props: {
            range: {default: 30}

        methods: {
            fetchData() {
                return axios.get(
                    this.url, {range: this.range}

vladimir left a reply on Project Going Live, Needs Refactoring Big Time! • 1 year ago

Plenty of us looking there daily for new Larajobs.

1st March, 2017

vladimir left a reply on Call A Method From Created. • 1 year ago

use arrow syntax and no need to make let self = this; Event.$on('load-dashboard', (id) =>{


23rd November, 2016

vladimir left a reply on Contact Us Form (sending Email) Laravel 5 • 1 year ago

Where is your code? How your env file looks like? I just tried tutorial code and it works correctly once you set up everything as said

vladimir left a reply on Apache Serves Old Cached Files • 1 year ago

Same thing is happening to me right now, suddenly, no new changes are visible. I did view: [email protected]:~/Code/VladimirNikolic$ php artisan cache:clear Cache cleared successfully. [email protected]:~/Code/VladimirNikolic$ php artisan view:clear Compiled views cleared! [email protected]:~/Code/VladimirNikolic$ php artisan clear-compiled The compiled class file has been removed.

Restarted computer, restarted Homestead, emptying cache from Browser, opened page in incognito window, opened page in new browser never visited page and still, old page is there.

16th February, 2016

vladimir left a reply on Updating Homestead • 2 years ago

homestead update ==> default: Checking for updates to 'laravel/homestead' default: Latest installed version: 0.2.7 default: Version constraints: default: Provider: virtualbox ==> default: Updating 'laravel/homestead' with provider 'virtualbox' from version ==> default: '0.2.7' to '0.4.1'... ==> default: Loading metadata for box 'https://atlas.hashicorp.com/laravel/homestead' ==> default: Adding box 'laravel/homestead' (v0.4.1) for provider: virtualbox default: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.4.1/providers/virtualbox.box ==> default: Box download is resuming from prior download progress An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

HTTP server doesn't seem to support byte ranges. Cannot resume.

13th February, 2016

vladimir left a reply on Middleware Parameters • 2 years ago

unfortunately none of links above is not working for me

16th December, 2015

vladimir started a new conversation Coding To Interface • 2 years ago

Probably all of us have seen a brilliant series about design patterns. Personally i loved and watched it so many times that i even dont know. There is one example Jeffrey gave us and its about billing gateway. Completely understood whats and why, but there is one thing i never got to understand. How to implement it outside of laravel? In video Jeffrey said that is death simple just App::bind('new gateway', blabla) (dont remember egzactly now) So, how to do it outside of laravel? How to instruct interface which model will be used?

27th November, 2014

vladimir started a new conversation Once Per Year Discount On Laracast • 3 years ago

I have seen the link. Clicked, but it says i am already a member. Does it mean that we who payed full price can not apply for discount for next subscription period or upgrade current subscription by discounted price?

11th September, 2014

vladimir left a reply on FORGE- Composer Update Memory Allocation • 3 years ago

Talked to Taylor and he suggest to resize to 1GB of ram which i did. No problems since then, site is up and running.

6th September, 2014

vladimir left a reply on Codception Functional Tests And Redirects • 3 years ago

i am having the same problem, and i set in my functional suite: Laravel4: filters:true did not help, any other idea/suggestion?

15th August, 2014

vladimir left a reply on FORGE- Composer Update Memory Allocation • 3 years ago

Thanks Mike, it is working now!!!

Edit Your Profile

Want to change your profile photo? We pull from gravatar.com.