uworlds Posted February 13, 2009 Posted February 13, 2009 Hello, I was hoping someone could tell me how to access the products and customer information within an osCommerce store? Where is the password found? I assume it is not just the password for the Web hosting space as that is not working? Is the password encoded in a PHP module somewhere within the osC store? Many thanks, Ted
airbrushmaster Posted February 13, 2009 Posted February 13, 2009 just go to admin and login you would of set a password when you installed your shop
uworlds Posted February 13, 2009 Author Posted February 13, 2009 Thanks very much for your reply, how's things in the UK. Do you know how to re-set the password? I can't remember it, it was set up years ago and the site was offline for a while and how under a new Web host. Many thanks, Ted
uworlds Posted February 13, 2009 Author Posted February 13, 2009 Thanks again for your help. What if the password in configure.php is not working when I try to log in to the /admin area of the site? Sorry to trouble you... Cheers!!
airbrushmaster Posted February 13, 2009 Posted February 13, 2009 you need to login via ftp use something like flash fxp and use your ftp details to login to the site
burt Posted February 13, 2009 Posted February 13, 2009 The password to the Admin section is not in the configure files :rolleyes: Whan you go to your Admin area, does a popup box appear asking for username and password? If so, you need to log into your hosting control panel and set a new password for the password protected directory. Or, is there an Admin login page asking for username and password? If so, you have an adminstrators table in your database. Log into phpmyadmin and empty it. Now try again (on the login page) and it should ask you to create a new user.
airbrushmaster Posted February 13, 2009 Posted February 13, 2009 user name and password is in configure.php on my shop
tbsg Posted February 13, 2009 Posted February 13, 2009 i'm having a similar issue. i just moved a store from 1 server to another. the front-end is working fine but not the admin area. i had to upload a new htpasswd file with the orignal login credentials. it's accepting the credentials but when i get logged in, all i get is a blank white page. this is what shows up in the error logs: [Fri Feb 13 12:46:05 2009] [error] [client 69.196.171.245] script '/var/www/vhosts/visioncanadaltd.com/httpdocs/admin/login.php' not found or unable to stat [Fri Feb 13 12:46:56 2009] [error] [client 69.196.171.245] PHP Warning: include(includes/languages/english/) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/visioncanadaltd.com/httpdocs/admin/includes/application_top.php on line 145 [Fri Feb 13 12:46:56 2009] [error] [client 69.196.171.245] PHP Warning: include(includes/languages/english/) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /var/www/vhosts/visioncanadaltd.com/httpdocs/admin/includes/application_top.php on line 145 [Fri Feb 13 12:46:56 2009] [error] [client 69.196.171.245] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/share/pear') in /var/www/vhosts/visioncanadaltd.com/httpdocs/admin/includes/application_top.php on line 145 [Fri Feb 13 12:46:56 2009] [error] [client 69.196.171.245] PHP Fatal error: Cannot re-assign $this in /var/www/vhosts/visioncanadaltd.com/httpdocs/admin/includes/classes/upload.php on line 31 the first line is looking for admin/login.php. that file wasn't on the old server - not sure why it's looking for it now. is that the problem? any other suggestions?
uworlds Posted February 14, 2009 Author Posted February 14, 2009 Hi Burt, Thank you, do I go into cpanel under the password protected directories to a page which contains text like this: /home/[DomainName]/public_html/osc/catalog/admin Directory requires a password to access via the web (you must check this to activate password protection). and create the users here? I am way out of my depth on all this. I've tried every combination of username and password stored in configure.php and passwords for the FTP space and can't seem to locate in phpMyAdmin. Thanks to everyone for your help! Cheers, Ted
uworlds Posted February 14, 2009 Author Posted February 14, 2009 Hi Burt, I was able to successfully create a username and password for directory /home/[DomainName]/public_html/osc/catalog/admin which lets me access the admin database (orders, customers), which is awesome. There is a second osc store on the same hosting space, do you know how I would go about assigning a username and password to the home2 directory i.e. /home2/[DomainName]/public_html/osc/catalog/admin as I can't seem to get access to the home2 directory i.e. can not navigate to it. Thanks for all your help. Cheers, Ted
burt Posted February 14, 2009 Posted February 14, 2009 user name and password is in configure.php on my shop Let's hope that no-one finds your configure file
burt Posted February 14, 2009 Posted February 14, 2009 There is a second osc store on the same hosting space, do you know how I would go about assigning a username and password to the home2 directory i.e. /home2/[DomainName]/public_html/osc/catalog/admin as I can't seem to get access to the home2 directory i.e. can not navigate to it. Doesn't sound right to have a /home/ and a /home2/ Speak with your host about it.
airbrushmaster Posted February 14, 2009 Posted February 14, 2009 Let's hope that no-one finds your configure file its in other shops i have installed for people to
uworlds Posted February 14, 2009 Author Posted February 14, 2009 Hi Burt, Thanks, I have e-mailed the Web host. Yeh, there's two osc installations within the same hosting space and it seems like one is under home and the other home2. Mind you that seems to be like a "logical" directory assignment as there are no actual physical directories of that name. Confusing. Will let you know outcome. It's weird because it was all working perfectly before the hosting went offline for a while. Cheers, Ted
burt Posted February 15, 2009 Posted February 15, 2009 its in other shops i have installed for people to Let's hope that no-one finds their configure files. Let's hope that one day you realise that you are placing these peoples shop ar a risk of being hacked more easily.
burt Posted February 15, 2009 Posted February 15, 2009 Hi Burt,Thanks, I have e-mailed the Web host. Yeh, there's two osc installations within the same hosting space and it seems like one is under home and the other home2. Mind you that seems to be like a "logical" directory assignment as there are no actual physical directories of that name. Confusing. Will let you know outcome. It's weird because it was all working perfectly before the hosting went offline for a while. Cheers, Ted It will be interesting to know what your host says about it.
uworlds Posted February 15, 2009 Author Posted February 15, 2009 Is there a way to take the password out of those config files so that can't happen even if the config file is found?
burt Posted February 15, 2009 Posted February 15, 2009 The admin username and password is not in the configure files, so rest easy. The database username and password is, but it needs to be.
uworlds Posted February 15, 2009 Author Posted February 15, 2009 Ahhh thanks Burt for that clarification, great to know! I really appreciate all your friendly and tremendously helpful and fast assistance. Ciao, Ted
Recommended Posts
Archived
This topic is now archived and is closed to further replies.