Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Top Tab of the navigation bar


Guest

Recommended Posts

Posted

Hi all,

 

When I clicked on my Top tap of my navigation bar, it connect me directly to my default home page of my hosting company: "You have reached the default home page of a HagenHosting.com customer"

Is anything I can do to correct this?Please help.

Posted

Hi all,

 

When I clicked on my Top tap of my navigation bar, it connect me directly to my default home page of my hosting company: "You have reached the default home page of a HagenHosting.com customer"

Is anything I can do to correct this?Please help.

Is your store installed in the root of the site or in a subfolder (like /catalog)?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Is your store installed in the root of the site or in a subfolder (like /catalog)?

:unsure:

 

My os commerce is installed on my subfolder(I think!)www2.dealyesdeal.com. Let me explain to you what's going on.

 

I already have a website called www.dealyesdeal.com, my hosting company installed my os commerce shopping cart on www2.dealyesdeal.com. I think it's a subfolder. So everything looks ok except the Top Tab on the navigation bar. When I clicked on it , it direct me to the default page of my hosting company. I have tried to look for the file were I can make some changes but with no success.

Posted

My os commerce is installed on my subfolder(I think!)www2.dealyesdeal.com. Let me explain to you what's going on.

 

I already have a website called www.dealyesdeal.com, my hosting company installed my os commerce shopping cart on www2.dealyesdeal.com. I think it's a subfolder. So everything looks ok except the Top Tab on the navigation bar. When I clicked on it , it direct me to the default page of my hosting company. I have tried to look for the file were I can make some changes but with no success.

In /includes/application_top.php change this:

 

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

to

 

  $breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(FILENAME_DEFAULT));

 

Back it up before you monkey with it - You break it , you bought it...

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

In /includes/application_top.php change this:

 

  $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

to

 

  $breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(FILENAME_DEFAULT));

 

Back it up before you monkey with it - You break it , you bought it...

 

Thank you so much. It was done perfectly.

Posted

Hi All,

 

I would like to ad fedex module, can you please tel me how to do it! Please walk me through the steps. Thank you in advance.

Posted

I get the following error:

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/pag/public_html/includes/functions/database.php on line 19

Unable to connect to database server!

 

 

The original is

 

// include the breadcrumb class and start the breadcrumb trail

require(DIR_WS_CLASSES . 'breadcrumb.php');

$breadcrumb = new breadcrumb;

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

How do I get it to go to the index ie catalog/index.php/

Posted

This is the path: File Manager/includes/application_top.php

 

change this:

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

 

to

$breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(FILENAME_DEFAULT));

 

 

You need to take off the HTTP_SERVER and replace it with tep_href_link(FILENAME_DEFAULT));

 

 

That's it.Make sure you back up your file before you make any changes.

 

 

 

 

 

 

I get the following error:

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/pag/public_html/includes/functions/database.php on line 19

Unable to connect to database server!

 

 

The original is

 

// include the breadcrumb class and start the breadcrumb trail

require(DIR_WS_CLASSES . 'breadcrumb.php');

$breadcrumb = new breadcrumb;

 

$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);

$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

How do I get it to go to the index ie catalog/index.php/

Posted

Made the changes

 

// include the breadcrumb class and start the breadcrumb trail

require(DIR_WS_CLASSES . 'breadcrumb.php');

$breadcrumb = new breadcrumb;

 

 

$breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(FILENAME_DEFAULT));

$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

 

But get error

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/pag/public_html/includes/functions/database.php on line 19

Unable to connect to database server!

 

when clicking on 'Top'

 

 

Any Ideas?

Posted

hi,

check your server!

 

Made the changes

 

// include the breadcrumb class and start the breadcrumb trail

require(DIR_WS_CLASSES . 'breadcrumb.php');

$breadcrumb = new breadcrumb;

 

 

$breadcrumb->add(HEADER_TITLE_TOP, tep_href_link(FILENAME_DEFAULT));

$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));

 

 

But get error

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/pag/public_html/includes/functions/database.php on line 19

Unable to connect to database server!

 

when clicking on 'Top'

 

 

Any Ideas?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...