Jump to content

SSL Again


Guest

Recommended Posts

;) to ssl and cubecart

We have set up the cert on the server with a dedicated ip.

If you go here and click to register all works fine

http://www.crystalfigurines.net

But if you try to log in, or log out after registering it is giving this error.

Warning: opendir(/home/crystalf/public_htmllanguage): failed to open dir: No such file or directory in /home/crystalf/public_html/includes/boxes/language.inc.php on line 41

It just doesnt make sense, all works fine with registration but it doesnt like logging in or out.

Any ideas anyone????

Link to comment
Share on other sites

Sure here thay are

$glob['installed'] = '1';

$glob['rootDir'] = '/home/crystalf/public_html/';

$glob['rootRel'] = '/';

$glob['storeURL'] = 'http://www.crystalfigurines.net';

Link to comment
Share on other sites

Guest EverythingWeb

Gary,

Can I suggest changing the line:

$glob['rootDir'] = '/home/crystalf/public_html/';

TO:

$glob['rootDir'] = '/home/crystalf/public_html';

(no forward slash), and then let us know what SSL settings you have set in your administration panel.

I have a test store setup, with a ssl on it, as a dedicated cert, and it all works perfectly. If you cant get it working with the above, drop me a PM, and I'll take a look.

Link to comment
Share on other sites

Ok Here's whats in the global inc now

$glob['installed'] = '1';

$glob['rootDir'] = '/home/crystalf/public_html';

$glob['rootRel'] = '/';

$glob['storeURL'] = 'http://www.crystalfigurines.net';

Heres whats in admin settings

Root SECURE Public HTML Folder to store: /

Absolute SECURE URL to store: https://www.crystalfigurines.net

Server SECURE Root Directory: /home/crystalf/public_html

And look

https://www.crystalfigurines.net/index.php?act=login

:)

Link to comment
Share on other sites

They are the same brooky, the registration is secure and fine as it should be, but for some reason at login the script is stripping out a slash.

Warning: opendir(/home/crystalf/public_htmllanguage): failed to open dir: No such file or directory in /home/crystalf/public_html/includes/boxes/language.inc.php on line 41

Gary

Link to comment
Share on other sites

;) Worked this out

Server SECURE Root Directory:

e.g. /path/to/your/secure/webstore

I was told not to include the trailing slash, it was in fact needed when i put it in all works correctly as it should.

Link to comment
Share on other sites

Correction that didnt work either here's what did.

in includes/boxes/language.inc.php

I changed this

$path = $GLOBALS['rootDir']."language";

to this

$path = $GLOBALS['rootDir']."/language";

however that just presents another issue. I go to register it takes me to a secure page, I fill out the form, submit and get this warning

You are about to be redirected to a connection that is not secure. The information you are submitting to the current site may be retransmitted to a non secure site do you wish to continue??

Whats the point in that???? Thats worse than no cert at all.

Getting really fed up with this now the client is going nutts. ;)

Link to comment
Share on other sites

I've tested it on shared and dedicated SSL environments with no problems. You arrpear to be running linux/unix so I'm stuggling to see whay there is such a problem.

Can you submit FTP access to your store via our tech support helpdesk and we'll have a more detailed look.

Have you added any 3rd party modifications at all or is it all standard?

EverythingWeb says it may have something to do with a certain browser. What browser do you use?

Link to comment
Share on other sites

Brooky, I worked with William last night, there is a really easy fix for this.

The issue with logging in is fixed as I outlined above.

The issue now is that Internet explorer is giving this warning :

" You are about to be redirected to a connection that is not secure. The information you are submitting to the current site may be retransmitted to a non secure site do you wish to continue??"

When submitting the registration form.

This would be easily solved if after registration the user is taken to the "My account" page which of course is secure, rather than back to the index.php

If you switch from a secure page to a non secure page normally this warning wouldn't appear, it is showing because the page switch is taking place as form data is being sent.

I use firefox as well, but when workin on clients sites I always use Internet Explorer, as unfortunately that is what most visitors still use.

I think the above idea of William's is a good one anyway, as it let's the visitor know they have registered.

Thanks

Gary

Link to comment
Share on other sites

:lol: Nice typo internet exploder

A nice quick way around this is to remove the register option from search box and just have log in. Why would they want to register unless they were buying anyway.

Sign up at purchase works because it forwrds to the cart which is secure.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...