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

PHP Error "Cannot GET *" #13

Open
Kelderic opened this issue Feb 17, 2016 · 0 comments
Open

PHP Error "Cannot GET *" #13

Kelderic opened this issue Feb 17, 2016 · 0 comments

Comments

@Kelderic
Copy link

I'm running Windows 10, with PHP installed in the path via WAMP, and Node/Grunt installed as well.

I've got php2html installed and added to my gruntfile. When I run it, I get no errors. I get a list of files with a green OK status.

However, the processed files are empty except for a line that says:

Cannot GET [FILENAME]

Example:

Cannot GET /EmployeesOne.html

Is it required that the input files have the extension of .php? I'd like to leave the extensions the same, so .html stays to .html, .wc stays .wc, etc. I think that might be the issue, but I'm not sure. Also might be a PHP problem.

Grunt File:

    php2html: {
        default: {
            options: {
                processLinks: false,
                htmlhint: false
            },
            files: [{
                expand: true,
                cwd: 'app',
                src: '**/*.html',
                dest: '../../jitWeb/',
                ext: '.html'
            }]
        }
    },
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

1 participant