At "admin/store/settings/payment/edit/methods" page, I always get an error message of "You have specified a non-existent directory" for my input at the "Card number encryption key filepath" box.
Can someone help solve this issue? Thanks
|
Ubercart |
|
|
|
||
|
Wed, 07/16/2008 - 10:52
At "admin/store/settings/payment/edit/methods" page, I always get an error message of "You have specified a non-existent directory" for my input at the "Card number encryption key filepath" box. Can someone help solve this issue? Thanks
Re: Need help on Credit Card Setting:
Refer to the CC documentation for a little more info:
need help with credit card encryption
I have reviewed the CC documentation several times. I created a keys folder outside of the documentroot public_html folder. However, i keep getting a "You have specified a non-existent directory." I dont understand where i am going wrong. i have entered the following relative paths ../../keys i guess i dont know what to put in the ".." what am i missing?
Re: need help with credit card encryption
Hmm... might be you're not missing anything. Perhaps it's a permissions issue? I think we decided a chmod of 644 on the directory was good enough... but maybe it was 666.
Same problem, permissions correct
Is there a chance there is another problem? I'm having the same problem, and the directory permissions are 755. I don't get the error when I set the directory to "files" or any other path in a public directory, but after creating a directory outside the public directory with the same user as the public directory, I get an error.
Re: Need help on Credit Card Setting:
It took me a few times reading it to understand too. hope this helped.
Re: Need help on Credit Card Setting:
This is one of the errors I recently encountered (amongst others) - I don't suppose your site is using basic auth? Mine was and it was this that caused a whole bunch of /keys/ issues. If you are using it, try without and see if that helps. I'm going to leave basic auth on and remove it when I need to do any CC work.
Same issue here, and none of these suggestions got it fixed.
Hoping that bumping this question will get me some insight. I'm having the same issue, and I've taken all of the suggestions above. Followed the steps in the documentation, changed security levels, all that. Still, it tells me the directory doesn't exist, when in fact it does. I have to be doing something wrong, but I can't for the life of me figure out what. Everything else to do with Ubercart is functional (and extremely easy to use and administer). Is there any extra help that can be provided?
Re: Same issue here, and none of these suggestions got it fixed.
What are your chmod settings for that directory? You can always set the permissions to 777 while it creates the key file and then demote the permissions after the fact... I think PHP needs the execute permission on these files so it can check if the files exist.
Re: Re: Same issue here, and none of these suggestions got it fi
Also check your host settings. Some shared hosting providers set the open_basedir directive for PHP, which prevents a web application from accessing folders outside your web root. See http://us3.php.net/manual/en/ini.sect.safe-mode.php .
Re: Re: Re: Same issue here, and none of these suggestions got i
Ahh, yeah... I should post up some docs on what to do in that situation. You can use an obscure directory in your document root and protect the .key file with .htaccess. Worst case scenario, there's not much someone can do even if they get your key... but this really should keep it safe.
Re: Re: Re: Re: Same issue here, and none of these suggestions g
Done, done, and fixed. It worked, and it worked even better once I eliminated the small amount of user stupidity involved. Thank you!
Hello Ryan, I have a
Hello Ryan, I have a question on your post here, about protecting the .key file with .htaccess. I am in the situation where my shared hosting will not let me create a folder above my root directory(I hope I explained that right), I can create /home /www /keys, but not /home /keys. I tried two options for the placement of the key files. One being /www /keys, which was saved successfully in my CC settings(but I believe would not be encrypted). The second on suggestion by my hosting company was to create a subdomain secure.mysite.com and uploading a second ssl certificate to it and creating .keys in it. Is either of these acceptable? Or should I pursue the .htaccess route?(Which I would need help with) I changed my settings back to the /www /keys, and saved that in my credit card settings, and I am still getting the red X in my store admin saying I need to setup my encryption settings. Thanks in advance for anyone's opinion,
how to give the file path
Hello, my drupal installaton structure is like /home/wsw/www <-- drupal is installed in www. i have created a keys folder with all permissions like /home/wsw/keys wsw is the subdomain and document root is home/wsw/www but while i am setting the file path its giving error i have given the path like ../keys can any one please guide me on this. Thanks in advance
Re: Need help on Credit Card Setting:
Having fought long and hard to try and get the keys dir to work out of the httpdocs dir I eventualy gave up and created the key in an obscure dir and amended the .htaccess as follows. I hope people think this is secure enough and if so people find it useful. # Protect files and directories from prying eyes.
Cannot enter directory
My issue seems to be a bit different. I have root access to the directory on a dedicated server, however I cannot enter the encryption information. It tells me: Card number encryption key filepath: Does this mean it does not detect a directory that is prepared and enabled? Or does it mean I have incorrectly installed and/or enabled the ubercart credit card payment module? A piece of info: My client had had someone do a hackup job of trying to get SSL certs to work on the server before, and had left the credit card module enabled and the credit card payment option enabled for probably at least a year. Could this be impacting the settings? |
|