Paper Lantern not recognizing .tt file in custom cPanel plugin

dfritsch

Registered
Oct 28, 2014
3
0
1
cPanel Access Level
Root Administrator
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.
 

dfritsch

Registered
Oct 28, 2014
3
0
1
cPanel Access Level
Root Administrator
I should also note that this is currently running WHM 11.44.1 (build 19) [DEV], while the working server is running in EDGE mode, so should be running the latest version. I'm currently upgrading versions to see if this fixes the issue for me.