I am working on upgrading a cPanel plugin from x3 to paper lantern. I have been able to get the plugin to run on an existing cpanel dev server within my company, but I just set up my own cpanel dev server and the plugin won't load in paper lantern. (The plugin works fine in x3 on both servers.)
Things I can see so far:
When I click my plugin's button in paper lantern, I get a 404 error, and the url ends in 'index.html'. If I rename my 'index.html.tt' file to 'index.html', the file is found and loads, but naturally the tt code is not processed.
I'm curious if the file extension is misconfigured for me on the new server, because I note that a lot more files are named 'name.auto.tt' instead of 'name.html.tt' on the new server. I'm not sure if that is a setting in paper lantern though.
Even if I replace my 'index.html.tt' file with a basic html file (so the content is just an h1 tag, say), I continue to get a 404 error.
Things I can see so far:
When I click my plugin's button in paper lantern, I get a 404 error, and the url ends in 'index.html'. If I rename my 'index.html.tt' file to 'index.html', the file is found and loads, but naturally the tt code is not processed.
I'm curious if the file extension is misconfigured for me on the new server, because I note that a lot more files are named 'name.auto.tt' instead of 'name.html.tt' on the new server. I'm not sure if that is a setting in paper lantern though.
Even if I replace my 'index.html.tt' file with a basic html file (so the content is just an h1 tag, say), I continue to get a 404 error.