Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[ Error trying to reach admin ]


Guest

Recommended Posts

Posted

I'm getting this when trying to reach my admin area:

 

Fatal error: Call to undefined function: tep_href_link() in /data/members/paid/v/i/vintagemaniac.net/htdocs/www/admin/index.php on line 17

 

 

The function is looking like this in index.php:

'href' => tep_href_link(FILENAME_CONFIGURATION, 'selected_box=configuration&gID=1'),

 

My shop is showing correctly though, it's only when trying to reach the admin area I'm getting this error.

 

What do I need to do?

 

Please, please help... It kinda sucks not being able to acess the admin-area... :blink:

Posted

Look in the admin/includes/functions/html_output.php file and make sure there is a function there named tep_href_link. That is an integral part of oscommerce so it should be there.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
Look in the admin/includes/functions/html_output.php file and make sure there is a function there named tep_href_link. That is an integral part of oscommerce so it should be there.

 

Jack

 

 

Yupp, I'm finding this in html_output.php:

 

// The HTML href link wrapper function

function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL') { if ($page == '')

 

I made sure I was selecting the correct copy and uploaded the page to my FTP and voliá: I have an admin area again! :D :D :D

 

I think I've taken the "BACKUP BACKUP BACKUP" a bit to literally - I seem to be getting documents mixed up quite often... ;)

 

BIG THANK YOU!!

Archived

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

×
×
  • Create New...