Guest Posted November 25, 2005 Share Posted November 25, 2005 ;) 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???? Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted November 27, 2005 Share Posted November 27, 2005 Can you please post the last 4 lines from your includes/global.inc.php file? Quote Link to comment Share on other sites More sharing options...
Guest Posted November 27, 2005 Share Posted November 27, 2005 Sure here thay are $glob['installed'] = '1'; $glob['rootDir'] = '/home/crystalf/public_html/'; $glob['rootRel'] = '/'; $glob['storeURL'] = 'http://www.crystalfigurines.net'; Quote Link to comment Share on other sites More sharing options...
Guest EverythingWeb Posted November 27, 2005 Share Posted November 27, 2005 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. Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted November 27, 2005 Share Posted November 27, 2005 Yes, there should be no trailing slash on the rootDir Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted November 28, 2005 Share Posted November 28, 2005 William and Estelle are correct. Be sure to check the values you have entered for the SSL section too in admin if you can access it now. They need the same as global.inc.php. Quote Link to comment Share on other sites More sharing options...
Guest Posted November 28, 2005 Share Posted November 28, 2005 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 :) Quote Link to comment Share on other sites More sharing options...
Robsta Posted November 28, 2005 Share Posted November 28, 2005 opendir(/home/crystalf/public_htmllanguage): Ignore me.... just re-read the thread. Sorry. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted November 30, 2005 Share Posted November 30, 2005 You meed to make sure the SSL settings are exactly the same as those in global.inc.php If you can't get into admin to change them use this tool: http://www.cubecart.com/site/forums/index.php?download=179 Quote Link to comment Share on other sites More sharing options...
Guest Posted November 30, 2005 Share Posted November 30, 2005 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted November 30, 2005 Share Posted November 30, 2005 Did as you suggested changed tyhe global.inc to read https for the store url it just produced a 404 error for the main site. Quote Link to comment Share on other sites More sharing options...
Guest Posted November 30, 2005 Share Posted November 30, 2005 ;) 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. Quote Link to comment Share on other sites More sharing options...
Guest Posted November 30, 2005 Share Posted November 30, 2005 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. ;) Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted December 1, 2005 Share Posted December 1, 2005 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? Quote Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2005 Share Posted December 1, 2005 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 Quote Link to comment Share on other sites More sharing options...
Guest EverythingWeb Posted December 1, 2005 Share Posted December 1, 2005 Hello Gary, This is currently being looked into, and yes as you say, it happens in Internet Exploder only. Bloody annoying. Quote Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2005 Share Posted December 1, 2005 :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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.