Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 28

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

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

Reply
 
LinkBack Thread Tools Display Modes
Old 08.10.2004, 05:45   #1 (permalink)
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 08.10.2004, 07:24   #2 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Posts: 1
drubarth is on a distinguished road
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
drubarth is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.10.2004, 08:34   #3 (permalink)
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.10.2004, 20:38   #4 (permalink)
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On


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 12:07
TCPA oder die Büchse der Pandora gisu Smalltalk 11 30.09.2004 14:52
XML Direct Access to this location is not allowed. ADPO Template Discussions 1 18.08.2004 16:03
Why: Direct access to this location is not allowed!? trapi Mambo 4.5 General Talk 5 09.08.2004 20:08
fckeditor error message: Direct access to this location is not allowed! trapi Mambo 4.5 'How Do I' Questions 1 29.06.2004 21:27


All times are GMT +2. The time now is 02:11.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.