PHP before html ignored?

I refresh my pro licence in case of licence permission. But “PHP before HTML” on each page are now ignored ?

Sitely 7.0

PHP on a web page must appear on a page with a .php extension. If the page is html, the php isn’t likely to be executed.

It’s an existing project that was working on version 6. PHP extensions is automatically sets by sitely.

i was hoping that Mr. @duncan would take a look :wink:

Does that mean @kanjo you had a Developers Pack?

Yes i have the dev pack !
I tried an old version of my .sitely file in case I corrupted the SQLite DB, and that still won’t send my include.

<?php
include 'ln/language_init.php';
?>

I just re-installed Sitely 6 and loaded the same restored file (I had to restore it again because Sitely 7 updated it… and it works! So Sitely 7 doesn’t publish the PHP code).
Here’s a screenshot with Sitely 6 and the uploaded site.

I deleted the files on the server and re-uploaded it with Sitely 7, the same file without any modification just for trying it out.

Sitely6

Sitely7

It seem you have done everything correct from what you have mentioned and shown. Knowing it is possibly a Sitely 7 issue it would be best to contact @duncan directly on feedback@sitely.app, explaining the situation…

i’m not worry, i know he will read this thread :wink:

This is fixed in 7.0.1.

1 Like