"Don't hack!" after upgrade from RC2 to RC4

Discussion corner for Developers of Serendipity.
Post Reply
mattsches
Regular
Posts: 440
Joined: Sat Nov 05, 2005 9:35 pm
Location: Wiesbaden, Germany
Contact:

"Don't hack!" after upgrade from RC2 to RC4

Post by mattsches »

Hi all,

I've just upgraded from RC2 to RC4 after pulling the latest changes from GitHub. I've switched templates a couple of times while trying to reproduce a bug reported by Ian (see here).

Now, as it turns out, I've got some problems in both frontend and backend. The page displays only partially, stopping after a few lines saying "Don't hack!". I debugged it, and the reason seems to be that in

Code: Select all

include/lang.inc.php
the global is not set (anymore?)

Code: Select all

if (IN_serendipity !== true) {
    die ("Don't hack!");
}
Any ideas why this would happen? As far as I can see, nothing has changed in this file or other related files since RC2. Clearing the cache also didn't help ... :?
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: "Don't hack!" after upgrade from RC2 to RC4

Post by Timbalu »

Were you logged-out or something?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Post Reply