|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Posts: n/a
|
I hope someone can help me with this. I'll try and make this short as possible.
I installed the oscommerce shopping cart twice and still get this error message as follows: Warning: Installation directory exists at: /www/l/luceroswhls/htdocs/catalog/install. Please remove this directory for security reasons. Warning: I am able to write to the configuration file: /www/l/luceroswhls/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. I followed the path www/l/luceroswhls/htdocs/catalog/install and deleted the install files. I'm still getting this message. What else should I do? The second one how do I set the right user permissions on this file? and what do i set them to. I am the only user for my store so should I delete the user information that I added when I set up a mysql data base? Would this work? Thanks for your help. |
|
|
#2 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
1. Delete the install folder itself, not just the files in it.
2. Create a file called protect.php with the following contents: Code:
I suggest also uploading this to your admin folder and opening that too. Once you have done this, you can delete the protect.php files.
__________________
Steve |
|
|
|
|
#3 |
|
Posts: n/a
|
Thanks Stevel
I did what you said and the first warning message disappeared thank you, thank you, thank you! but the second warning is still there: Warning: I am able to write to the configuration file: /www/l/luceroswhls/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. How do I set the right user permissions on this file? should I delete the user name? change the password? ![]() |
|
|
#4 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
This has nothing to do with usernames.
After uploading the file, did you open it in the browser? This "runs" the PHP file and changes the protection.
__________________
Steve |
|
|
|
|
#5 |
|
Posts: n/a
|
Hi Stevel,
Okay now if feel really dumb. What do you mean by open in a browser? Thanks for your prompt attention. P.S. I didn't delete the protect.php file as you instructed me to do though. Would it make a differance if I just left the protect.php file in place? I appreciate your expertise. Thanks ![]() jana |
|
|
#6 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
I mean - pretend it's a web page and go there in your browser. For example, http://yoursite.com/catalog/protect.php You'll just see a blank page, but that's all you need.
It does no harm to leave the file on the server, I guess. Be sure to do this for the admin folder too, as its include/configure.php also needs to be protected. (You'll get a warning in your admin panel about that.)
__________________
Steve |
|
|
|
|
#7 |
|
Posts: n/a
|
Hi Stevel,
Woo Hooo it worked!!! Wow you're SUPER in my book. Thank You Thank You!!!! The warning messages are off my website but when I go to my domain name all the files show up how can I get rid of this?Lucero's Wholesale Gifts |
|
|
#8 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
You don't have a default page at the top level. Try this:
Create a text file called .htaccess with the following contents: Code:
Upload this to your htdocs folder. I *THINK* this will work - haven't tried it myself. An alternative is to upload an index.html file to htdocs that has a redirect meta tag to go to catalog/default.php
__________________
Steve |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|