Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Login Issues


games4gamers

Recommended Posts

Posted

So I purchased an SSL certificate through my host, GoDaddy and when I got to the login page it pops up the https:// and the padlock fine, but when I try to login, it just hangs...Any ideas?

 

Here's my configure.php:

 

<?php
 define('HTTP_SERVER', 'http://games4gamersonline.com');
 define('HTTPS_SERVER', 'https://games4gamersonline.com');
 define('ENABLE_SSL', true);
 define('HTTP_COOKIE_DOMAIN', 'games4gamersonline.com');
 define('HTTPS_COOKIE_DOMAIN', 'games4gamersonline.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/catalog/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/content/g/a/m/games4gamers/html/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
 define('DIR_WS_BACKUP','/home/content/g/a/m/games4gamers/html/catalog/admin/backups/');

 define('DB_SERVER', 'p41mysql103.secureserver.net');
 define('DB_SERVER_USERNAME', 'games4gamers');
 define('DB_SERVER_PASSWORD', '*******'); //starred out for security purposes
 define('DB_DATABASE', 'games4gamers');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

 

Thanks for any help.

Posted

These should probably be:

 

  define('HTTP_COOKIE_DOMAIN', '.games4gamersonline.com');
 define('HTTPS_COOKIE_DOMAIN', '.games4gamersonline.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');

I went to your site and created an account.

 

I did get this error when I did:

Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/content/g/a/m/games4gamers/html/catalog/includes/functions/database.php on line 113

Warning: Cannot modify header information - headers already sent by (output started at /home/content/g/a/m/games4gamers/html/catalog/includes/functions/database.php:113) in /home/content/g/a/m/games4gamers/html/catalog/includes/functions/general.php on line 33

But the account was created, and I can login.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
These should probably be:

 

  define('HTTP_COOKIE_DOMAIN', '.games4gamersonline.com');
 define('HTTPS_COOKIE_DOMAIN', '.games4gamersonline.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');

I went to your site and created an account.

 

I did get this error when I did:

Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/content/g/a/m/games4gamers/html/catalog/includes/functions/database.php on line 113

Warning: Cannot modify header information - headers already sent by (output started at /home/content/g/a/m/games4gamers/html/catalog/includes/functions/database.php:113) in /home/content/g/a/m/games4gamers/html/catalog/includes/functions/general.php on line 33

But the account was created, and I can login.

 

Hmm ok, I tried that and now I can't even get the site to load, period.

Posted

It works for me.

:huh:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
It works for me.

:huh:

 

Yeah I just fixed it back the way it was probably before you replied. I'm currently working on the site while posting on here. Unfortunately I don't have any way to have a dev version of it, so all changes are made to the live site.

 

Would the fact that my original domain is http://www.games4gamersonline.com and I have it set up with my host to point that to what is technically http://www.games4gamersonline.com/catalog/index.php have anything to do with it?

Posted

It's probably not helping.

 

To get your create account to be SSL, I had to manually enter the SSL URL into my browser (change the http to https).

 

I could create another account an see if the error persists if you want?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
It's probably not helping.

 

To get your create account to be SSL, I had to manually enter the SSL URL into my browser (change the http to https).

 

I could create another account an see if the error persists if you want?

:unsure:

 

Yeah please do, as I have no idea what the problem is. I don't know much of anything about SSL or PHP, I had never really used either one til I started with OSC, I know HTML, some CSS, that's the limit of my programming knowledge.

Posted

Same results.

 

This is the problem (the other error is because of this one):

 

Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/content/g/a/m/games4gamers/html/catalog/includes/functions/database.php on line 113

But I honestly haven't a clue how to solve that one.

 

I usually don't post in threads unless I'm confident I know what the problem is, and how to solve it.

 

I assumed (you know what that does, when you "assume"), it was a cookie problem in the configure file.

 

I'm obviously not correct.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
Same results.

 

This is the problem (the other error is because of this one):

 

Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/content/g/a/m/games4gamers/html/catalog/includes/functions/database.php on line 113

But I honestly haven't a clue how to solve that one.

 

I usually don't post in threads unless I'm confident I know what the problem is, and how to solve it.

 

I assumed (you know what that does, when you "assume"), it was a cookie problem in the configure file.

 

I'm obviously not correct.

:blush:

 

Well thanks for trying to help anyways, I do appreciate it.

Posted

Using Firefox, I get a blank screen login and create account. Page hangs.

 

Opera and IE report that you have secure/unsecure items.

Click "Sign In" without any information, I got the page with " Error: No match for E-Mail Address and/or Password."

--page did not hang

 

Using Opera to create account I got this error ...

 

Fatal error: Call to undefined function: create_coupon_code() in /home/content/g/a/m/games4gamers/html/catalog/create_account.php on line 251

 

Sorry couldn't be much help.

Posted

Np, thanks for trying...

 

I actually called my host and they told me it all worked fine on their end. Weird eh?

 

I think I'll have to get them to redo it all...

Archived

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

×
×
  • Create New...