Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "Cosmetics" Joomla/VirtueMart template.

Topic-icon CODE SHOWS UP WHEN MENU BTN ARE PUSHED

More
5 years 11 months ago - 5 years 11 months ago #13026 by amethea
amethea created the topic: CODE SHOWS UP WHEN MENU BTN ARE PUSHED
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: 5 years 11 months ago by amethea.

Please Log in to join the conversation.

More
5 years 11 months ago #13038 by ivan.milic
ivan.milic replied the 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:
<?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:

<?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.

More
5 years 11 months ago #13053 by amethea
amethea replied the 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.

More
5 years 11 months ago #13082 by ivan.milic
ivan.milic replied the 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.140 seconds

Links, Partners and Social Media