Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Logon and My Account not working


miller-lite

Recommended Posts

Posted

I'm new here because my web master's wife told him he had to get a "real" job a while back, and now I have to try to figure this out my self, which is becoming a very humbling experience. This forum has been very helpful in helping work through things, and I have learned how to do a lot of the things that still need to be done to my site.

 

My store was previously set up and running with no problems, then my host did the switch to PHP5. Lost my original index page and it was replaced with the default page, create account and logon did not work. Then I upgraded to Online Merchant 2.2 RC2a through Fantastico, still have the same issues with the create account and logon not working.

 

I did determine that the address for http and https servers were screwed up in my configure.php file (the http server identification didn't have http// in front of the site name, and the https server had https//http// in front of the site name.)

 

This is what is now in the file in Catalog/admin/includes/configure.php:

 

<?php

define('HTTP_SERVER', 'http://jvgallery.com');

define('HTTP_CATALOG_SERVER', 'http://jvgallery.com');

define('HTTPS_CATALOG_SERVER', 'https://jvgallery.com');

define('ENABLE_SSL_CATALOG', true);

define('DIR_FS_DOCUMENT_ROOT', '/home/gallery5/public_html/catalog/');

define('DIR_WS_ADMIN', '/catalog/admin/');

define('DIR_FS_ADMIN', '/home/gallery5/public_html/catalog/admin/');

define('DIR_WS_CATALOG', '/catalog/');

define('DIR_FS_CATALOG', '/home/gallery5/public_html/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

This is what is now in the file in catalog/includes/configure.php:

 

<?php

define('HTTP_SERVER', 'http://jvgallery.com');

define('HTTPS_SERVER', 'https://jvgallery.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'http://jvgallery.com');

define('HTTPS_COOKIE_DOMAIN', 'http://jvgallery.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/gallery5/public_html/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

Now when I try to logon or create an account at least I get this error message instead of nothing:

 

404 Not Found

The server can not find the requested page:

jvgallery.com/catalog/login.php (port 443)

Please forward this error screen to jvgallery.com's WebMaster.

________________________________________

Apache/1.3.41 Server at jvgallery.com Port 443

 

What else do I need to correct or need to check?

 

Here's the link to my catalog, http://jvgallery.com/catalog/

Posted

I think your problem is you don't have a dedicated SSL certificate.

 

Link here:

 

https://jvgallery.com

 

Click that link and you go to a page that gets a "cetificate error".

 

It says the certificate belongs to "*.dzinc.com"

 

To work off a shared SSL you need to ask your host what your SSL URL needs to be, then adjust your configure file to match.

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

Thanks germ, I will give them a call right away. I have seen some posts on here about dedicated certificates, would it be better in the long run to just have a dedicated one than a shared one?

 

Thanks for everything,

Verne

Posted

Just talked to my hosting company and am in the process of getting a dedicated SSL certificate, which they say will cure the problem. Will update this to let others know so I can try and help someone else out, like you all have helped me.

 

If it works then katie bar the doors, my sight will get some drastic changes thanks to all the good tips and ideas I have found here while looking through the forums trying to learn OSCommerce and solve this as much as I could before having to ask for help. It was a good learning experience. Every site owner needs the knowledge (or at least some), not just the individual maintaining the site.

 

Thanks,

Verne

Posted

Just got the info from my hosting company for the SSL certificate. I don't really know the impact of the answer for the following question:

 

When an SSL certificate is registered it is either registered using "www.yourdomain.com" or just "yourdomain.com", so let us know which domain or subdomain you decide to use the SSL certificate with for secure pages.

 

I know that when typing in www.jvgallery.com, or just jvgallery.com, in the address bar you get to the same place. I know what every I choose that has to be in both configure.php files.

 

From a technical standpoint which is better register the SSL certificate to, or is it better to a certificate that covers both.

 

I really would do it right, rather than just to get by, which is why I have already ruled out the "shared" certificate route. To many things were "quick and simple" already.

 

Thanks,

Verne

Posted
just jvgallery.com

I'd go with that one.

 

I saw an article a while back that said the "www." is "on it's way out".

 

And, if you go with the one I said, you shouldn't have to change the configure files at all.

 

That's my 2 cents on the subject.

;)

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

Thank you germ. You have been spot on is so many things that I have seen you address that I am going with what you say. That's why "You the man!"

 

Verne

Archived

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

×
×
  • Create New...