Members: 10,140
Threads: 38,830
Posts: 159,367
Online: 26

Newest Member: Xoote



Go Back   Mambers.com > Archive > Hosted Forums > Mamboportal.com

Reply
 
Thread Tools Display Modes
Old 08.10.2004, 04:45   #1
mjone00
Baby Mamber
 
Join Date: Sep 2004
Location: Maricopa, Arizona
Posts: 19
mjone00 is on a distinguished road
Default "; defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' )

I am very new at Mambo and I am not a developer.

I like the peek lime theme but I wanted it to be in shades of blue. I got the okay to change the colors from the theme author so I changed the graphic files in Photoshop and saved them to the theme files using the original file names. It worked out fine and looks great but this line is showing at the top of the home page:

"; defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>

Can anyone tell me how to get rid of it? You can see for yourself at http://www.cityofchisholm.com/city/index.php

PLEASE help me out on this, I really like the look and don't want to change the theme to get rid of the code.

Mona
mjone00 is offline   Reply With Quote
Sponsored Links
Old 08.10.2004, 06:24   #2
drubarth
Guest
 
Posts: n/a
Default Re: "; defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' )

When I've had this problem in the past it was due to the quotes I was using. Try going back to the original template and copying and pasting the code again.

dr
  Reply With Quote
Old 08.10.2004, 07:34   #3
Raydian
Mamber
 
Join Date: Apr 2004
Posts: 121
Raydian is an unknown quantity at this point
Default Re: "; defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' )

"; defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>

You may be missing the first <?php in this line.

should look like this:

<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>

Hope this helps?
Raydian is offline   Reply With Quote
Old 08.10.2004, 19:38   #4
mjone00
Baby Mamber
 
Join Date: Sep 2004
Location: Maricopa, Arizona
Posts: 19
mjone00 is on a distinguished road
Default Re: "; defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' )

Thanks for the info about copy/paste the code as it made me look at it again. I had done that once (copied it from the original file and pasted). I decided to compare the original (I must have changed that too somehow) to the peek orange index.php and it was different:

peek lime:
<?php echo "<?xml version=\"1.0\"?".">"; ?>"; ?>
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
?>

peek orange:
<?php echo "<?xml version=\"1.0\"?>"; ?>
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
?>

So anyway, I copied and pasted the lines from peek orange into peek orange(blue) and all is okay.

Thanks to both of you for your help! I appreciate it VERY much!

Mona
mjone00 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Direct access to this location is not allowed! terrap Mambo 4.5 Allgemein 1 12.11.2004 11:07
TCPA oder die Büchse der Pandora gisu Smalltalk 11 30.09.2004 13:52
XML Direct Access to this location is not allowed. ADPO Template Discussions 1 18.08.2004 15:03
Why: Direct access to this location is not allowed!? trapi Mambo 4.5 General Talk 5 09.08.2004 19:08
fckeditor error message: Direct access to this location is not allowed! trapi Mambo 4.5 'How Do I' Questions 1 29.06.2004 20:27


All times are GMT +2. The time now is 20:50.

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.