1 j_d Jan 26, 2006 21:14
3 j_d Jan 26, 2006 23:56
AFAIK I'm running b2evolution version 0.9.1, the last stable release as this is intended for a production environment. The cvs is our own internal cvs rather than b2evolutions own cvs.
The header *is* the following, but this is just a copy of the "custom" skin in that release...
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
4 stk Jan 27, 2006 01:27
jæd,
Look again, b/c IF you are running v0.9.1, then EVO_MAIN_INIT will never be defined and you'll get the "Please don't access this page directly" message.
This is the reverse of the problem I thought you were having, but it would end up causing the same problem, if it is indeed the issue.
b2evo versions <1 use "!defined('DB_USER')"
b2evo versions >1 use "!defined('EVO_MAIN_INIT')"
Hope this helps.
5 j_d Jan 27, 2006 11:19
Ah... I see what I did... I was taking a look at the the 1.6 Alpha and must of mixed up the templates... Doh...! Everything is working ok now...
jæd,
Sounds like you're running v1.7 CVS? If this is the case, your problem might be with the PHP code at the top of the file, as it's changed from earlier versions.
The check at the top of the file has changed from this...
To this (for v1.6 or higher) ...
Hope this helps.