daveh / php-mvc

A simple PHP model-view-controller framework, built step-by-step as part of the "Write PHP like a pro: build an MVC framework from scratch" course on Udemy.
https://davehollingworth.com/go/phpmvc/
MIT License
777 stars 310 forks source link

Your udemy MVC Login course #77

Open fastmarketo opened 3 years ago

fastmarketo commented 3 years ago

I am subscribed to your udemy MVC Login course and did exactly the way you told me in the video. image

I am getting error: image

This file seems to be missing: \composer/autoload_static.php see here: image

daveh commented 3 years ago

It could be a cache issue - try deleting the entire vendor folder and running composer install again

fastmarketo commented 3 years ago

Sir, the autoload_static.php file that it claims to be missing is not even there in your github repository. Please see: image

Or I am a beginner and a fool who doesn't know something or missing some foundation knowledge?

ChrisToxz commented 3 years ago

autoload_static is generated by composer. Did you run composer update ?

fastmarketo commented 3 years ago

It worked. image image

fastmarketo commented 3 years ago

Hi There, on XAMPP virtual server is configured like this → image

My Pseudo/Vhost mvclogin.com is pointing correctly to the public folder:

<VirtualHost *:80>
DocumentRoot "G:/codegorithm/PHP/daveh/mvclogin/public/"
ServerName mvclogin.com
<Directory "G:/codegorithm/PHP/daveh/mvclogin/public/">
Allow from all
Require all granted
Options Indexes
</Directory>
</VirtualHost>

Still URL not Found → image

mvclogin

This also could be a cache issue? or .htaccess issue?

daveh commented 3 years ago

@fastmarketo Please can you ask for support for the course inside the Q&A section on the course itself in Udemy? That way other students can benefit from and contribute to the discussion. Thanks!

fastmarketo commented 3 years ago

Sure, Thanks. their question and answer section is slightly boring.

fastmarketo commented 3 years ago

Sir, before you close this ticket. I have a request.

You are such a knowledgeable person can you create a course in the future to create an e-commerce store independent of any framework, but only in: PHP, MYSQL, AJAX, and PDO.

Additionally, in case you can create an emphasis on how hooks are created as in WordPress. Lastly, maybe an additional project/course or one element of the same requested course where you can create a small e-commerce plugin for WordPress(like woocommerce).

I will be the first one among many who will buy the course.

daveh commented 3 years ago

I'm always on the lookout for new course ideas, so I'll add that to my list! Thanks!