Skip to content

After bind domain routes not working #2

Open
@hkkachhia

Description

@hkkachhia

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?

Activity

mmendoza2018

mmendoza2018 commented on Jan 25, 2024

@mmendoza2018

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      After bind domain routes not working · Issue #2 · crjoseabraham/php-mvc