- Posts: 2
- Thank you received: 0
CODE SHOWS UP WHEN MENU BTN ARE PUSHED
-
amethea
Inactive member - Topic Author
- New Member
Less
More
13 years 1 month ago - 13 years 1 month ago #13026
by amethea
CODE SHOWS UP WHEN MENU BTN ARE PUSHED was created by amethea
i downloaded this template this is my second install of this template as i thought maybe i did a mistake on the first one so i kept all defaults and when i installed the second, and still when i click any menu it brings me to server side code when it definitely should not be displaying that.
any ideas as to how to fix or is it a template issue?
attached is what i see when i click on menus'
HELP IS NEEDED PLEASE.
SITE ADDRESS HERE
thanks
any ideas as to how to fix or is it a template issue?
attached is what i see when i click on menus'
HELP IS NEEDED PLEASE.
SITE ADDRESS HERE
thanks
Last edit: 13 years 1 month ago by amethea.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 1 month ago #13038
by ivan.milic
Replied by ivan.milic on topic Re: CODE SHOWS UP WHEN MENU BTN ARE PUSHED
Hi check if this file is on its place:
templates/hot_cosmetics/inc/col_left.php
also check CHMOD
if that is ok then open index.php of template and find this:
remove / from beginning of paths like this:
templates/hot_cosmetics/inc/col_left.php
also check CHMOD
if that is ok then open index.php of template and find this:
Code:
<?php
if($columnLayout=="mlr") {
require(dirname(__FILE__).DS.'/inc/col_main.php');
require(dirname(__FILE__).DS.'/inc/col_left.php');
require(dirname(__FILE__).DS.'/inc/col_right.php');
} else if($columnLayout=="lrm") {
require(dirname(__FILE__).DS.'/inc/col_left.php');
require(dirname(__FILE__).DS.'/inc/col_right.php');
require(dirname(__FILE__).DS.'/inc/col_main.php');
} else {
require(dirname(__FILE__).DS.'/inc/col_left.php');
require(dirname(__FILE__).DS.'/inc/col_main.php');
require(dirname(__FILE__).DS.'/inc/col_right.php');
}
?>
remove / from beginning of paths like this:
Code:
<?php
if($columnLayout=="mlr") {
require(dirname(__FILE__).DS.'inc/col_main.php');
require(dirname(__FILE__).DS.'inc/col_left.php');
require(dirname(__FILE__).DS.'inc/col_right.php');
} else if($columnLayout=="lrm") {
require(dirname(__FILE__).DS.'inc/col_left.php');
require(dirname(__FILE__).DS.'inc/col_right.php');
require(dirname(__FILE__).DS.'inc/col_main.php');
} else {
require(dirname(__FILE__).DS.'inc/col_left.php');
require(dirname(__FILE__).DS.'inc/col_main.php');
require(dirname(__FILE__).DS.'inc/col_right.php');
}
?>
Please Log in to join the conversation.
-
amethea
Inactive member - Topic Author
- New Member
Less
More
- Posts: 2
- Thank you received: 0
13 years 1 month ago #13053
by amethea
Replied by amethea on topic Re: CODE SHOWS UP WHEN MENU BTN ARE PUSHED
OH! i looked through my files and when i installed it i guess something happened as i diid not have the INC folder so i installed it in the right location and now everything works fine..THANKS SO MUCH! any clue as to why it did not install on first try?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 4 weeks ago #13082
by ivan.milic
Replied by ivan.milic on topic Re: CODE SHOWS UP WHEN MENU BTN ARE PUSHED
ftp copying can lose files, best practice is to copy all files in one archive then unpack them on hosting directory, but this is only apply-able when hosting file manager supports unpacking.
Please Log in to join the conversation.
Time to create page: 0.167 seconds