Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

GoDaddy: Moving /catalog to root directory HELP..


germ

Recommended Posts

Posted

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

Hi,

 

If there's any GoDaddy user out there please help me with this issue. I'm trying to move my store from /catalog to the root directory. Everything runs fine but I get this Warning message: "Warning: I am able to write to the configuration file: includes/configure.php. This is a potential security risk - please set the right user permissions on this file." So, I tried setting the permissions to both configure.php to "Read Only", but I still get the warning message. If anyone know the solution to this would be great!! Thanks.

 

Host: GoDaddy

FTPClient: FileZilla

Posted
Hi,

 

If there's any GoDaddy user out there please help me with this issue. I'm trying to move my store from /catalog to the root directory. Everything runs fine but I get this Warning message: "Warning: I am able to write to the configuration file: includes/configure.php. This is a potential security risk - please set the right user permissions on this file." So, I tried setting the permissions to both configure.php to "Read Only", but I still get the warning message. If anyone know the solution to this would be great!! Thanks.

 

Host: GoDaddy

FTPClient: FileZilla

Nothing to do with your web host.

 

How did you try to change the permissions? You may have to use the web hosts control panel ---> filemanager, although any decent ftp program would work.

Posted
Nothing to do with your web host.

 

How did you try to change the permissions? You may have to use the web hosts control panel ---> filemanager, although any decent ftp program would work.

 

First method, I get the files to my local drive, right-click configure.php (both files), set it to "read-only", then upload to my site via FileZilla.

I also tried to set that to "read-only" from the file manager on my hosting account. Thanks for the respond, what do you think I should do?

Posted

This is easy.

 

BACKUP EVERYTHING FIRST AS IS.

 

In the catalog directory select all the files and folders.

Choose MOVE on your FTP to the folder below your catalog folder.

 

Mine is htdocs/

 

Do relevant changes in BOTH configure.php's

One is in /includes/configure.php

The other is in /admin/includes/configure.php

 

You need to edit the word catalog out of both completely

ie

Paths =

/this/is/my/path/to/htdocs/catalog/

to

/this/is/my/path/to/htdocs/

 

And change URL's

http://www.myserver.com/catalog

to

http://www.myserver.com

 

Lines 7 to 10 just contain catalog/

change to just /

 

Hopefully that should do the trick. ;)

Permission on configure.php needs to be changed to 644 or 444 to complete the process. CHMOD in FTP works best.

 

There is also another fix for this if you cannot CHMOD files in your root directory to 644 or 444 as I couldnt either!

Posted
This is easy.

 

BACKUP EVERYTHING FIRST AS IS.

 

In the catalog directory select all the files and folders.

Choose MOVE on your FTP to the folder below your catalog folder.

 

Mine is htdocs/

 

Do relevant changes in BOTH configure.php's

One is in /includes/configure.php

The other is in /admin/includes/configure.php

 

You need to edit the word catalog out of both completely

ie

Paths =

/this/is/my/path/to/htdocs/catalog/

to

/this/is/my/path/to/htdocs/

 

And change URL's

http://www.myserver.com/catalog

to

http://www.myserver.com

 

Lines 7 to 10 just contain catalog/

change to just /

 

Hopefully that should do the trick. ;)

Permission on configure.php needs to be changed to 644 or 444 to complete the process. CHMOD in FTP works best.

 

There is also another fix for this if you cannot CHMOD files in your root directory to 644 or 444 as I couldnt either!

 

Can you give me the other fix to this, I can't CHMOD or doesn't really know how to CHMOD or if I can even CHMOD. Thanks for the help.

Posted

 

Thanks a bunch!! What should the permissions be? I looked at the page you gave, but it seems like it's only for CHMOD, I can't find out how to CHMOD with my web host or ftp. Should the configure file be "read-only" only or both "read" and "write"?

 

This is with FileZilla(ftp-ing): Select everything from /catalog drag an drop onto the parent directory (one directory above). Copy both configure files locally and right-click send it to Read-Only, upload it. Then that warning message appears when I go to the website. What's the proper way of moving it to the main directory. I'm using GoDaddy/Linux. Thanks.

Posted

I'm using CuteFTP 8 Pro. In order to CHMOD (Change server permissions for a file). I right click a file (once it's uploaded!), goto CHMOD and change the number.

 

There must something similar is FileZilla (although I've never used it!).

 

As long as the file is read only for everyone apart from the owner you should be safest you can be!

 

If you can get it to completely read only, you'll be fine. Once this file is set, it doesnt need changing again. Hence Read Only.

Posted
I'm using CuteFTP 8 Pro. In order to CHMOD (Change server permissions for a file). I right click a file (once it's uploaded!), goto CHMOD and change the number.

 

There must something similar is FileZilla (although I've never used it!).

 

As long as the file is read only for everyone apart from the owner you should be safest you can be!

 

If you can get it to completely read only, you'll be fine. Once this file is set, it doesnt need changing again. Hence Read Only.

 

Thank you so much. I'll give that a try. Do you use GoDaddy as well?

  • 3 months later...
Posted
Thank you so much. I'll give that a try. Do you use GoDaddy as well?

You can do this on godaddy, in the file managger

Archived

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

×
×
  • Create New...