Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

newbie here... admin section question


g00fy

Recommended Posts

quick question, what do i do about keeping my admin folder hidden so that no one else can access it?

 

i dont have the option of password protecting my folder through my web host... and i tried renaming the folder but i cant access anything after i rename the folder.....

 

resolution is probably simple... im new to oscommerce... this is my first time trying this cart out... any help would be muchly appreciated...

 

also the linkpoint module... does it work with the new release of ms2.2?

Ambition is a poor excuse for not having enough sense to be lazy.

Link to comment
Share on other sites

I've applied the "contribution" and I get the following error when I browse to the "admin" area.

 

 

Fatal error: Failed opening required 'includes/application_top.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site357/fst/var/www/html/catalog/admin/index.php on line 13

 

 

i'm currently using osCommerce 2.2 Milestone 2 (07/12/2003)

 

Do I have to chnage permissions or something...

 

TIA

Link to comment
Share on other sites

The only thing i can suggest is to email the person who did that contribution and ask him if he is going to upgrade it for 2.2MS2

 

The_Bear

Link to comment
Share on other sites

I've applied the "contribution" and I get the following error when I browse to the "admin" area.

 

 

Fatal error: Failed opening required 'includes/application_top.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site357/fst/var/www/html/catalog/admin/index.php on line 13

 

Seems to me that you haven't changed the permission of the file to (if linux) to o+r.

Link to comment
Share on other sites

Also, there is a small bug at line 352 of admin_members.php

 

      $mInfo_array = tep_array_merge($admin, $admin_group);

Should be changed to this:

      $mInfo_array = array_merge($admin, $admin_group);

Link to comment
Share on other sites

Hey CmdrTaco, thanks for the info. I'll try it right now... You think this is the best way to secure the admin folder or is there a better way ?? Any info would be great...

 

Thanks again

Link to comment
Share on other sites

To secure the admin folder you may wish to use the abilities of the .htaccess file, you may also wish to rename it and place it, the admin directory, outside of your catalog directory. When renaming or changing the location of the admin directory you need to edit the admin/includes/configure.php file to reflect the new name and/or location.

 

Now to the securing the directory. It is common to use .htaccess and .htpasswd files to accomplish this. Seacrh on your favorite engine for the following string: make .htaccess .htpasswd

 

You should come up with a number of hits to assist you in understanding these file. The following link also has a pretty good explanation http://www.bignosebird.com/apache/a10.shtml

 

Just be careful that you only add the security code to the .htaccess file which is in the admin folder.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...