Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Secure Admin Login


Guest

Recommended Posts

the contrib works flawlessly, I installed it. I guess the reason you aren't getting any answers is we don't know what you have done with the install as you have not said.

 

If you are getting redirected back that means you have not answered your login information correctly.

did you add you user name and password before you installed to your data base? If you are still having problems you will need to reread the instructions and reinstall

 

 

Why dont u just edit the htaccess file, why even add this contribution?

Link to comment
Share on other sites

Why dont u just edit the htaccess file, why even add this contribution?

 

I am on a windows server so htaccess does not work.

Link to comment
Share on other sites

I installed this contrib on a linux box and was having no luck until I did the following:

 

login.php:

 

change

include("includes/configure.php");

to

require("includes/configure.php");

 

logoff.php:

 

change

require("includes/configure.php");

to

include("includes/configure.php");

 

incSession.php:

 

change

require("includes/configure.php");

to

include("includes/configure.php");

Link to comment
Share on other sites

I installed this contrib on a linux box and was having no luck until I did the following:

 

login.php:

 

change

include("includes/configure.php");

to

require("includes/configure.php");

 

logoff.php:

 

change

require("includes/configure.php");

to

include("includes/configure.php");

 

incSession.php:

 

change

require("includes/configure.php");

to

include("includes/configure.php");

 

Well to no surprise to me i tried your changes on my windows environment and ended up with the same results. Seems to try to log in but get kicked back to loginaction.php. I guess it only works on linux.

 

Thanks for the help. I will have to look for Sherlock Holmes to figure this mystery out.

Link to comment
Share on other sites

Why dont u just edit the htaccess file, why even add this contribution?

 

for those hosted with Godaddy the htaccess file doesn't work and Godaddy does not allow files to be password protected.

 

 

wesellgoods - who are you hosted with? I am determined to help you because I know the contrib works.

 

W Smith - I am with godaddy and it worked for me, I did however forget to upload all the files first time up and had to upload again. Another thing, what are you using for an editor? If you open your php files in a not php editor it can cause script issues. You should download PHP Designer 2006 or an editor for php editing. The other problem is uploading your files if they are not uploaded using the right protocol ASCII or binary. For this I use FileZilla it is free and can set your permissions correctly as it detects automatically.

Link to comment
Share on other sites

Why dont u just edit the htaccess file, why even add this contribution?

 

for those hosted with Godaddy the htaccess file doesn't work and Godaddy does not allow files to be password protected.

wesellgoods - who are you hosted with? I am determined to help you because I know the contrib works.

 

W Smith - I am with godaddy and it worked for me, I did however forget to upload all the files first time up and had to upload again. Another thing, what are you using for an editor? If you open your php files in a not php editor it can cause script issues. You should download PHP Designer 2006 or an editor for php editing. The other problem is uploading your files if they are not uploaded using the right protocol ASCII or binary. For this I use FileZilla it is free and can set your permissions correctly as it detects automatically.

 

I am using my own shared server. It is windows 2003. I use Dreamweaver CS2 as my editor.

Link to comment
Share on other sites

Table structure for table `administrator`

--

 

CREATE TABLE `administrator` (

`ID` int(10) unsigned NOT NULL auto_increment,

`sName` varchar(255) NOT NULL default '',

`sPassword` varchar(255) NOT NULL default '',

`sGUID` varchar(32) default NULL,

`sData` text,

PRIMARY KEY (`ID`)

) TYPE=MyISAM AUTO_INCREMENT=3 ;

 

--

-- Dumping data for table `administrator`

--

 

INSERT INTO `administrator` VALUES (1, 'username1', password('your_password1'), NULL, NULL);

INSERT INTO `administrator` VALUES (2, 'username2', password('your_password2'), NULL, NULL);

-- NOTE: Please make changes in the INSERT INTO lines above before loading into PHPMyAdmin

-- Replace username1 and username2 with your usernames. Leave the single quotes around 'username'.

-- Replace your_password1 and your_password2 with your passwords. Leave the single quotes around 'your_password'.

-- Note the use of MySql's password() function. This is a one-way function so

-- you will not be able to "retrieve" the user's password.

~~~~~~~~~~~~~~~~~

 

help! when i try to add phpMyAdmin creat table adminstrator it says error:

error2.jpg

error.jpg

i couldnt understand:

`sData` text, wut is text means?

 

) TYPE=MyISAM AUTO_INCREMENT=3 ; what is this?

Link to comment
Share on other sites

Table structure for table `administrator`

--

 

CREATE TABLE `administrator` (

`ID` int(10) unsigned NOT NULL auto_increment,

`sName` varchar(255) NOT NULL default '',

`sPassword` varchar(255) NOT NULL default '',

`sGUID` varchar(32) default NULL,

`sData` text,

PRIMARY KEY (`ID`)

) TYPE=MyISAM AUTO_INCREMENT=3 ;

 

--

-- Dumping data for table `administrator`

--

 

INSERT INTO `administrator` VALUES (1, 'username1', password('your_password1'), NULL, NULL);

INSERT INTO `administrator` VALUES (2, 'username2', password('your_password2'), NULL, NULL);

-- NOTE: Please make changes in the INSERT INTO lines above before loading into PHPMyAdmin

-- Replace username1 and username2 with your usernames. Leave the single quotes around 'username'.

-- Replace your_password1 and your_password2 with your passwords. Leave the single quotes around 'your_password'.

-- Note the use of MySql's password() function. This is a one-way function so

-- you will not be able to "retrieve" the user's password.

~~~~~~~~~~~~~~~~~

 

help! when i try to add phpMyAdmin creat table adminstrator it says error:

error2.jpg

error.jpg

i couldnt understand:

`sData` text, wut is text means?

 

) TYPE=MyISAM AUTO_INCREMENT=3 ; what is this?

 

 

shuiyuan if you look at your database and you see the table administrator drop the table (delete it)

 

copy the info below in to sql

 

CREATE TABLE `administrator` (

`ID` int(10) unsigned NOT NULL auto_increment,

`sName` varchar(255) NOT NULL default '',

`sPassword` varchar(255) NOT NULL default '',

`sGUID` varchar(32) default NULL,

`sData` text,

PRIMARY KEY (`ID`)

) TYPE=MyISAM AUTO_INCREMENT=3 ;

 

INSERT INTO `administrator` VALUES (1, 'username1', password('your_password1'), NULL, NULL);

INSERT INTO `administrator` VALUES (2, 'username2', password('your_password2'), NULL, NULL);

 

just change username1/2 and your_password1/2 make sure that the quotes are still there. This should work and not give you any problems

Link to comment
Share on other sites

I am having the same problems as the other user. I get the login page....but after I input my username and password and hit "Login", it comes right back to the same login page.

 

I can see in the browser it is accessing "loginaction.php" but nothing happens (visually). I do not get an error message or anything, just a blank login screen same as before.

 

Any help would be great,

Rod

Link to comment
Share on other sites

  • 3 months later...

Archived

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

×
×
  • Create New...