Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After bind domain routes not working #2

Open
hkkachhia opened this issue May 8, 2023 · 1 comment
Open

After bind domain routes not working #2

hkkachhia opened this issue May 8, 2023 · 1 comment

Comments

@hkkachhia
Copy link

Hello,

I have used your php-mvc project as base of my project, It is working fine in local machine as well as development server. But when I bind the domain with development server and set root directory as my project directory in apache conf file. All menu and links are stop working and I am getting below error.

[php7:notice] [pid 442411] [client 49.36.69.17:50592] PHP Notice: Undefined index: action in /var/www/html/php-mvc/src/app/Router.php on line 98, referer:

I am struggling to resolve this issue from last 2 days but unable to fixed it. But I have find out this issue generated due to .htaccess, I have applied many changes in .htaccess file but it is not working and every time I am getting different error related to route. So can you please help to resolve this issue?

@mmendoza2018
Copy link

I have the same problem, but this is happening locally, it seems to be because I put the project in a subfolder followed by the root 'localhost/folder/project', did you manage to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants