dannys

Experience

18,790

0 Best Reply Awards

  • Member Since 1 Year Ago
  • 185 Lessons Completed
  • 3 Favorites

13th August, 2018

dannys left a reply on Permission Denied On Storage/logs/laravel.log • 5 days ago

For all Centos 7 users there is no need to disable Selinux, just follow this short guide and it will get the job done https://www.linkedin.com/pulse/selinux-laravel-framework-rodrigo-alvares/ Lastly, make sure your hosts, ips and virtual hosts are all correct for remote accessing. I am not sure if fedora, or debian has selinux or not, but just make apache/www-data the owner of eveyrfolder, check your firewall and eveything should be good to go.

dannys left a reply on Laravel Framework File Permission - Security • 5 days ago

https://www.linkedin.com/pulse/selinux-laravel-framework-rodrigo-alvares/ This did the trick for me on centos 7 on a laravel project that i set up and access via virtual box.

dannys left a reply on Laravel Framework File Permission - Security • 5 days ago

Check this out, it got it working for me, https://www.linkedin.com/pulse/selinux-laravel-framework-rodrigo-alvares/ on centos7 Do not forget to run restorecon -Rv /var/www/html/

24th May, 2018

dannys left a reply on Uncaught TypeError: Cannot Read Property 'post' Of Undefined • 2 months ago

@prashant.godhwani You are using export default script, therefore your this keyword doesn't have access to the Vue framework, but rather to a custom object that i assume is imported by Vue, but [email protected] has stated a similar constraint, where the this keyword is not pointing at Vue. so what you should do is import VueResource from "vue-resource"; Or just create a Vue instance.

23rd May, 2018

dannys left a reply on Vue Component Not Showing • 2 months ago

For me, ctrl f5 was enough.

10th December, 2017

dannys left a reply on PHPStorm - Which Theme Do You Use? • 8 months ago

Zeus theme looks realy good, specially when working with Laravel, however i changed some custom reds that were a little dark.

dannys left a reply on Having Doubts With The Laracasts Series Steps • 8 months ago

@SebMatte Awesome clarification mate! Then that means most websites are like the project ideas from the website i linked? They have the same structural needs and basic frames? It is just the theme and client type that changes?

9th December, 2017

dannys left a reply on Having Doubts With The Laracasts Series Steps • 8 months ago

So right now i have made my mind and will proceed in this way.

I am just about to do my first Javascript project, but for the main thing, Php and Laravel, i will do a little course on Udemy to master raw Php, since Laracasts mainly focuses on Laravel and OOP.

After this i will build my first raw Php project, and i have found this website for project ideas http://services.lovelycoding.org/computer-science-project-ideas-final-year/ that also tells you what functionalities the Web App needs to contain.

But after i do this, then i will build the forum with TDD with Jeffrey.

@SebMatte What can we do with that website?

My only question right now is, wich projects should be built with Frameworks?

8th December, 2017

dannys left a reply on Having Doubts With The Laracasts Series Steps • 8 months ago

@travoltron I have already built a blog with Jeffrey with 5.4 from scratch, i am also starting to get comfortable and confident with the Php language. I am currently learning JS from a realy good course on Udemy, then i will move back here for vue.js.

What i seek to do is the Laracasts Forum project. And also a Php raw project, no framework. And then of course, pick up some real life application, and a restful API and just do it on my own! That is what i currently am researching for, i found some stuff, but i need to dig in to it.

Your sugestion is good, i thought about cloning facebook, but it just seems to have a little bit too much content and advanced programming.

3rd December, 2017

dannys left a reply on Having Doubts With The Laracasts Series Steps • 8 months ago

So it is pretty clear that i just lack practical experience, but the main question still stands, Jeffrey Way has tagged each course with steps number, shouldnt he changed that and put some projects in the middle of it? Also i feel like people like me should get a bit of a hint from websites like these on what kind of projects we should start building. And yes @bobbybouwmann that stuff i watched so far is in the back of my head, plus i through each step, Jeffrey just picks up stuff he talked about before and mentions something else, like jobs, events etc. I am just affraid that "being in the back of my head" won't be of any value.

dannys started a new conversation Having Doubts Withe Laracasts Series Steps • 8 months ago

So i am creating this discussion because there is something i would love to get cleared in my head. It is about the Laracasts series steps, i assume that the steps were made so that you follow each one in the asceding order 1, 2, 3 etc. in all of the series, be it laravel or php. I have now completed something like 15 series here in laracasts, i came as complete beginner. As i keep progressing and going to the advanced level tutorials, regardless if i understand it i feel it is a little bit pointless because of my non existant project experience. For example, i am watching the Whip Monstruous Code Into Shape series, there is the consider use cases, god objects that i watched so far, but shoulnd't there be a step on Laracasts that consists on building one or two projects first, and then moving on to these tutorials where you can apply these techiniques in real life? I know we got some projects here in laracasts, but none of them are included before these php steps and most of them are old and archived, except for the Let's Build a Forum with TDD. Are the steps order badly chosen? Am i actualy going along the right path? I almost feel like i started from the wrong website, like i should have gone to a more beginner friendly website, even though i still learned a lot from the beginner php series. This questions have been in my mind since like after i finished the Laravel from scratch series, after that i keep questioning if what i have been doing here in Laracasts is appropriate for me or any guy like me.

15th October, 2017

dannys left a reply on Too Few Argments To Function AuthServiceProvider • 10 months ago

I figured it out, but thanks!

3rd October, 2017

dannys left a reply on Too Few Argments To Function AuthServiceProvider • 10 months ago

Problem fixed if (Auth::user()->can('update'), $post) However the @can still doesnt work.

dannys started a new conversation Too Few Argments To Function AuthServiceProvider • 10 months ago

Type error: Too few arguments to function App\Providers\AuthServiceProvider::App\Providers{closure}(), 1 passed in /home/daniel/Documentos/example/vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php on line 298 and exactly 2 expected if (Auth::user()->can('update')) { return 'You can update this'; } return view('show', compact('post')); Hello guys, i have the error above and i don't understand why, also if i user $user->can('update'), i get undefined variable user, but the laravel documentation says you can do that, and lasttly @can('update'. $post) Update this Post @endcan This is not working properly on blade, the link never shows to any user, opposed to what i write in the controller the post only shows to the user who created with $this->authorize('show-post', $post), so i don't get why it doesn't work. Thanks.

1st September, 2017

dannys left a reply on Gulpfile Auto Test, TDD And Phpspec • 11 months ago

My problem is fixed, changed to linux and fixed the issue.

15th July, 2017

dannys left a reply on Gulpfile Auto Test, TDD And Phpspec • 1 year ago

when i type gulp test in cmd, what i get is Using gulpfile C:\xampp\htdocs\CodeKatas\gulpfile.js Starting 'test'... Finished 'test' after 27ms event.js 160 throw er; // Unhandled 'error' event How can this happen when the location of the .php file is exactly inside the src directory?

dannys left a reply on Gulpfile Auto Test, TDD And Phpspec • 1 year ago

I have basically everything set up, Gulp is running, the project structure is exactly the same as Jeff's so i don't know what else needs to be done.

dannys started a new conversation Gulpfile Auto Test, TDD And Phpspec • 1 year ago

Hello, i am following Jeff step 6 course, Step 1 prime factors, i followed his steps, from php descirbe primefactors to run, but everytime i run i get 1 argument broken instead of passed even after i create the class. Also after i install gulp, with his gulpfile, i run gulp in cmd and nothing changes, i can't get the auto-test messages jeff gets. I also don't understand how he can run phpspec without changing into bin with cd. I am realy stuck here and need help, i use windows btw, thanks.

Edit Your Profile
Update

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