Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error when login in admin area


Guest

Recommended Posts

Everything else seems ok.. but when I log in the admin area I get these two errors

 

Warning: Missing argument 2 for tep_get_zone_name() in /home/starlite/public_html/admin/includes/functions/general.php on line 270

 

Warning: Missing argument 3 for tep_get_zone_name() in /home/starlite/public_html/admin/includes/functions/general.php on line 270

 

 

any ideas?

Link to comment
Share on other sites

I'm guessing that you have changed the location of your store (country) from USA to another country, but have not added the zones (counties/states) for that country. If, for instance, you are located in the UK you will need to go to Contributions and download the zones file for the UK and install the UK counties (zones) via phpMyAdmin, and then select one of them as the zone your store is located in.

 

The quick fix would be just to add the United Kingdom (if in the UK) as a zone of United Kingdom (the country) - which you can do via your osCommerce control panel.

 

Vger

Link to comment
Share on other sites

No I didnt change zone... This happened after I transferred the site to another server. I transferred all the files and the database and this is the only error I get.

Any other ideas of what's wrong?

Link to comment
Share on other sites

I would try installing the database again. Sometimes it can happen when transferring sites that the database does not upload properly the first time you transfer it. If you upload a database via FTP make sure that it is transferred in ASCII mode and that you don't use the Auto-Detect setting for ftp transfer of this type of file.

 

Vger

Link to comment
Share on other sites

alos I just noticed that when on my shop config I change the zone it doesnt show the name(value) of the zone though it says it changed it. IT just leaves it empty

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...