Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FATAL ERROR PLEASE HELP


Guest

Recommended Posts

I get this

 

I've copied the application_top.php into word and have gone to the line number i think i'm able to fix it if i've got a bit of guidance this is what i can see in my code

 

// define general functions used application-wide

require(DIR_WS_FUNCTIONS . 'general.php');

require(DIR_WS_FUNCTIONS . 'html_output.php');

 

// set the top level domains

$http_domain = tep_get_top_level_domain(HTTP_SERVER);

$https_domain = tep_get_top_level_domain(HTTPS_SERVER);

$current_domain = (($request_type == 'NONSSL') ? $http_domain : $https_domain);

 

Fatal error: Call to undefined function: tep_get_top_level_domain() in /home/vibes/public_html/catalog/includes/application_top.php on line 104

 

domain to catalog is http://www.christianvibes.co.uk/catalog/default.php

 

i wouldn't bother you by PM but i haven't got a clue what to do and i've noticed you answer a few posts around this place

 

Can any body tell me what i change to get my shop back working again there must be an answer

Link to comment
Share on other sites

These are fairly new settings. The error you get simply states:

 

The function tep_get_top_level_domain() does not exist

 

which suggests you are running a newer application_top.php on an older snapshot...

 

I installed the latest CVS today and it did not present me with this problem

 

HTH

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

Can you tell me when / why / what happened.

I don't think you downloaded a snapshot and it gave this error.

Did you do anything to your shop, installed modules?

 

I need some info to give advice.

 

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

well i decided to add a currency ? to be precise i then went onto the board and it came up with an error message regarding the general.php i can't remember what it said sorry..

 

I then decided to delete the currency hoping that everything would go back to normal but it didn't... I then found this error message on my screen.. i just don't have a clue what to do and i was doing really well with the shop.

 

I can remeber updating the currencies as they were a little out of date the values of the currencies changed.... as afar as i am aware that's alls that i have done.

 

please help there must be a fix ? :oops: :cry:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...