CODE SHOWS UP WHEN MENU BTN ARE PUSHED

  • amethea
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 3 months ago - 12 years 3 months ago #13026 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
Attachments:
Last edit: 12 years 3 months ago by amethea.

Please Log in to join the conversation.

More
12 years 3 months ago #13038 by ivan.milic
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:
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
  • New Member
More
12 years 3 months ago #13053 by amethea
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.

More
12 years 3 months ago #13082 by ivan.milic
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.170 seconds
Powered by Kunena Forum