Gurinder121

Gurinder121

Member Since 6 Months Ago

Experience Points
1,610
Total
Experience

3,390 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
11
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
1,610 XP
Jul
31
2 months ago
Activity icon

Replied to Help With PHP Code

How do I access the code in Github for this lesson?

https://laracasts.com/series/php-for-beginners/episodes/13

Jul
29
2 months ago
Activity icon

Replied to Help With PHP Code

How do I access the Github library?

Jul
28
3 months ago
Activity icon

Started a new Conversation Help With PHP Code

Hi guys,

I'm new to programming. If I need to put down more info, please let me know a command

Warning: Invalid argument supplied for foreach() in /Users/gurinderkhabra/Desktop/php-learning/index.view.php on line 10

Here is the command

Document
<ul>
	<?php foreach ($tasks as $task) : ?>   <! -- this is line 10 -->
		<li>
			<?php if ($task->completed) : ?>
				<strike><?= $task->description; ?></strike>
			<?php endif; ?>
		</li>
	<?php endforeach; ?>
	</ul>

</body>
</html>
Jul
27
3 months ago
Activity icon

Commented on Intro To PDO

Not available anymore

Activity icon

Replied to Sequel Pro Keeps Crashing

Thank you!

Activity icon

Started a new Conversation Sequel Pro Keeps Crashing

Hi everyone,

I'm new to learning PHP - I downloaded Sequel Pro.

After I login with the username and password.

I click on which database I want, the entire program crashes.

It says "Sequel Pro just encountered an unexpected error......"

Any ideas on how to fix this issue?

Jul
23
3 months ago
Activity icon

Started a new Conversation Trying To Log Into Sequel Pro

I'm brand new tp programming.

I'm watching the titled: Intro to PDO. URL: https://laracasts.com/series/php-for-beginners/episodes/13?autoplay=true

I downloaded MySQLworkbench - I'm able to login fine there.

When I try to connect to Sequel Pro - This is the error I get:

Connection Failed

Unable to connect to host 127.0.0.1, or the request timed out.

Be sure that the address is correct and that you have the necessary privileges, or try increasing the connection timeout (currently 10 seconds).

MySQL said: Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(/usr/local/lib/plugin/caching_sha2_password.so, 2): image not found

What should I do?

Jul
04
3 months ago
Activity icon

Started a new Conversation Switching From CodeIgniter To Laravel

I currently have a website that uses CI. I'm thing about switch my entire website to laravel.

What are your thoughts?

Activity icon

Started a new Conversation Need Help Connecting To Database

I'm unable to successful connect to the database using PDO

I'm new to programming.

I'm currently watching https://laracasts.com/series/php-for-beginners/episodes/13?autoplay=true

Where we connect to our database by using PDO

My Database is calling MySQLWorkbench. The only MySQL Connection I have is called localhost. Here are the details. Connection name: local Information related to this connection:

Host: localhost Port: 3306 User: root SSL: enabled with TLS_AES_256_GCM_SHA384 Password: password Database: mytodos

It says "Successfully made the MySQL connection"

Now, we I write my code into Sublime Text. I write the following.

Activity icon

Started a new Conversation Attempting To Connect To Database

I'm putting this code into Sublime Text

index.php

Jun
27
4 months ago
Activity icon

Replied to Uninstalling MySQL Completely

You're welcome!

Activity icon

Started a new Conversation Uninstalling MySQL Completely

I'm new to this. I forgot my Mysql root password. Does anyone know an easy way to completely uninstall MySQL from my mac?

Jun
26
4 months ago
Activity icon

Started a new Conversation MySQL Login Issues

I'm trying to login to mySQL

I don't remember the password so I keep getting ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

I use https://dev.mysql.com/doc/refman/8.0/en/resetting-permissions.html section - B.4.3.2.2 Resetting the Root Password: Unix and Unix-Like Systems (I'm using a mac)

Gurinders-MacBook-Air:php-learning gurinderkhabra$ kill cat /mysql-data-directory/host_name.pid cat: /mysql-data-directory/host_name.pid: No such file or directory kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]

Gurinders-MacBook-Air:php-learning gurinderkhabra$ ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass'; -bash: ALTER: command not found

Activity icon

Replied to Unable To Connect Log Into MySQL

Thanks for the quick reply!

It's asking me for a password. I don't remember the password.

I use this resource to reset the password: https://stackoverflow.com/questions/10070401/mysql-root-password-forgotten

I type mysqld --skip-grant-tables

I get a continuous response from the terminal saying

sql/8.0.19/bin/mysqld (mysqld 8.0.19) starting as process 57741 2020-06-26T18:41:55.160109Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /usr/local/var/mysql/ is case insensitive 2020-06-26T18:41:55.195653Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./ibdata1 error: 35 2020-06-26T18:41:56.199584Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./ibdata1 error: 35 2020-06-26T18:41:57.203166Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./ibdata1 error: 35 2020-06-26T18:41:58.208397Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./ibdata1 error: 35 2

Activity icon

Started a new Conversation Unable To Connect Log Into MySQL

I am new to mySQL. Looks like I have to reset my password. Not sure what's going on.

Me: brew services restart mysql

The terminal: MacBook-Air:php-learning gurinderkhabra$ brew services restart mysql Stopping mysql... (might take a while) ==> Successfully stopped mysql (label: homebrew.mxcl.mysql) ==> Successfully started mysql (label: homebrew.mxcl.mysql)

me: mysql -uroot

Terminal:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)