Page 2 of 2

Re: [MOD/FIX] Global Headers (Left Column) on all pages BETA

PostPosted: Thu May 25, 2006 8:15 am
Author: obiku
I use your code, and have no problem

PostPosted: Thu May 25, 2006 8:20 am
Author: ayasha
"Jason Sanborn";p="7288" wrote:Tom, do you have any more information on this? Has anyone else tried this code? It has been running on http://forums.simplicitypoint.com/ since I posted this thread, and I haven't seen any problems yet.


what exactly does this code do Jason? i went to the Simplicity Point foru, and i see nothing different there than i see on other forums. sorry for not understanding. <img>

PostPosted: Thu May 25, 2006 8:32 am
Author: Jason Sanborn
That's ok. :)

PostPosted: Thu May 25, 2006 3:10 pm
Author: ayasha
oh ok, :lol: now i understand it <img>

Re: [MOD/FIX] Global Headers (Left Column) on all pages BETA

PostPosted: Fri Jan 19, 2007 4:04 pm
Author: obiku
Jason, maybe you know a fix. This Global Header normaly works great, but ressently I found out, it will give a
Code: Select all
 Fatal error]if the Install/contrib or Prill_install directory haven't been removed.
At the beginning of the page_header.php code there is this part of code[code]if(!defined('HAS_DIED')){     force_required();}  [/code]In common.php is this code[code]if(!defined("IN_LOGIN")){     if (file_exists('install'))     {         message_die(GENERAL_MESSAGE, 'Please_remove_install');     }       if (file_exists('contrib'))     {         message_die(GENERAL_MESSAGE, 'Please ensure the contrib/ directory is deleted');     }}  
If I understand the code right, the message_die will now include the page_header.php before HAS_DIED is defined. And because the HAS_DIED isn't defined, the force_required then is called by the page_header.php

Maybe you know how to fix this.