friendifie

friendifie

Member Since 1 Month Ago

Experience Points 220
Experience Level 1

4,780 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 0
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.

16 Apr
1 month ago

friendifie left a reply on Shared Web-host Displays My User's Root Directory?

@TRAY2 - Of course I know how to setup a subdomain and app traffic to my https://api.mysite.com/ goes to that directory where I want to put my Lumen project. The problem I’m experiencing is related to my Lumen project. In the URL it’s showing my whole web-host route in the URL bar. If I don’t do it that way then Lumen doesn’t work.

Shrugs ??‍♂️ I’m so confused.

friendifie left a reply on Shared Web-host Displays My User's Root Directory?

@TRAY2 - How do I explain it... I know Lumen hides the /public/ in the URL so I don't have a problem keeping that.

I don't want to integrate my web-host's / with the Lumen API because I'd like to keep that in a sub-directory and when I call my API from my apps I want to reference: https://api.mysite.com/(then the API stuff here).

Are we on the same page? Also, thanks so much for the reply!

friendifie started a new conversation Shared Web-host Displays My User's Root Directory?

Hi there, Apparently my shared web-host wasn't running my Lumen API but I got it working... But, I'm experiencing one more problem and I don't know how to fix it. I think it's rooted into the Lumen project itself?

Is as quoted from my dead post related to a problem getting Lumen to run on my shared web-host:

https://laracasts.com/discuss/channels/lumen/lumen-works-on-shared-web-host-but-isnt-working:

Apparently I got it working now but it's forcing/showing my shared web-hosts path, I don't like that. It's a huge security risk for me. It's like:

https://api.mysite.com/home/myusername/public_html/another_folder/NewBlog/NewBlog

When I go to the root "/" it takes me to "/NewBlog" then once I replace the "NewBlog" it set with my route "status" or "test" it'll display their results on the screen.

Any advice?
Thanks!

Please help me resolved this issue asap. Thanks!

friendifie left a reply on Lumen Works On Shared Web-host But Isn't Working?

Apparently I got it working now but it's forcing/showing my shared web-hosts path, I don't like that. It's a huge security risk for me. It's like:

https://api.mysite.com/home/myusername/public_html/another_folder/NewBlog/NewBlog

When I go to the root "/" it takes me to "/NewBlog" then once I replace the "NewBlog" it set with my route "status" or "test" it'll display their results on the screen.

Any advice? Thanks!

10 Apr
1 month ago

friendifie left a reply on Lumen Works On Shared Web-host But Isn't Working?

@GODCODE - I’m not exactly too sure what I should do with that. Some of the content in your `.htacce file looks like it’ll cause some issues on mine because of “miss-matching”.

On my local machine the public folder can be how it’s suppose to be because when I run my project it’ll hide the he `pu, but when I run it in my web-host it’ll show the the ` that’s why I took the ok the `. and s` and `i out of my of my folder on my web-host.

Then in my / root index.php I fixed the bootstrap link then ran my project on my web-host.

I think it’s because of the `__DIR which seems to be deeply rooted into my Lumen Project `NewBl. ?

friendifie left a reply on Lumen Works On Shared Web-host But Isn't Working?

I kept messing around and I think I got it working but now the only issue is:

Apparently I got it working now but it's forcing/showing my shared web-hosts path, I don't like that. It's a huge security risk for me. It's like:

https://api.mysite.com/home/myusername/public_html/another_folder/NewBlog/NewBlog

When I go to the root "/" it takes me to "/NewBlog" then once I replace the "NewBlog" it set with my route "status" or "test" it'll display their results on the screen.

Any advice? Thanks!

friendifie left a reply on Lumen Works On Shared Web-host But Isn't Working?

This is my current .htaccess file in the NewBlog I made to try and test everything.

` Options -MultiViews -Indexes

RewriteEngine On

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

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

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

# Disable index view
Options -Indexes

# Hide a specific file
<Files .env.example>
  Order allow,deny
  Deny from all
</Files>

`

friendifie left a reply on Lumen Works On Shared Web-host But Isn't Working?

@SNAPEY - Hey, so here's some screenshots to help you see first-hand what's going on.

My local "/" works: https://i.imgur.com/ZnrOcZo.png

Showing you my "status" function which I've uploaded to my web-host using FTP and its live result: https://i.imgur.com/c2W4INx.png

Thanks!

friendifie left a reply on Lumen Works On Shared Web-host But Isn't Working?

@SNAPEY - No, Sir. When I had them like “/status” I’d receive a 404 error document page. When I’d do it like “status” I’d at least receive the document but a Lumen error. I’ll post screenshots now, I got to start my laptop.

Thanks for your reply @Snapey.

09 Apr
1 month ago

friendifie left a reply on Lumen Works On Shared Web-host But Isn't Working?

All over the internet and YouTube says we need to put the content of /public into our root / then we must edit a few files like the autoload, etc. to help guide the operations. Nothing worked then when I went ahead and fixed the paths so that it was correct then my routes didn’t work. I’ve even changed my PHP Version. My host has 7.1 they don’t classify if they’re running like 7.1.2 so I just selected the next version higher I think it’s 7.2 that way I’m not missing no new functions or components. I have PDO, BTstring and everything enables. Nothing works. It sucks the community isn’t very helpful. I need this resolved. I’d hate to have to self-host my own website, that’s a lot of traffic and work.

friendifie left a reply on Lumen Works On Shared Web-host But Isn't Working?

@GODCODE - I’m using x10hosting.com I’m not sure if you’d consider it shared hosting? It’s a free membership. So, I guess maybe shared but it’s only me who uses the account.

friendifie left a reply on Laravel 5.4 Error On Production Server But Error.log Shows Nothing.

Bump I’m experiencing issues too. I’ve tried everything to get Lumen to run on my web-host but it’s being difficult. It’ll run the index root (/) route but every route after that (/status, etc.) it won’t. I get the “Sorry, the page you’re looking for doesn’t exist.” error. I’ve moved my “/public” into my “/“ as suggested when publishing but nothing works.

Please check out my post to help resolve my issue.

https://laracasts.com/discuss/channels/lumen/lumen-works-on-shared-web-host-but-isnt-working

07 Apr
1 month ago

friendifie started a new conversation Lumen Works On Shared Web-host But Isn't Working?

Hi there, I'm new to Laravel and Lumen but I do understand that Lumen is a lot faster and more lightweight. That's exactly what I need for my budget/space and needs. So, I went ahead and uploaded Lumen to my web-host (I'm also running it on my local machine) with the "/public" removed and merged into the "root" (/). So, I assume I did it all correctly cause it's still working on my local machine. But, when I go ahead and run it on the web-host (my domain) cause I need an API (obviously) it doesn't work and I've tried everything. This is what I get: 404 ("Sorry, the page you are looking for could not be found."); you can see this in action at: https://api.friendifie.com/NewBlog/status (also note: the "root" (/) still runs though...).

Thanks in advance!