Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't set permission levels


keltic

Recommended Posts

The configuration files do not exist, or permission levels are not set.

 

Please perform the following actions:

 

* cd /home/******/public_html/catalog/includes/

* touch configure.php

* chmod 706 configure.php

 

* cd /home/******/public_html/catalog/admin/includes/

* touch configure.php

* chmod 706 configure.php

 

It also states if 706 doesn't work, try 777.

 

When trying to change the permissions to the above values using Cpanel File Manager, it doesn't change the file permissions to the above value but stays at 644. It would appear that any permission changes to the file are not recognised.

 

Any help would be appreciated.

Link to comment
Share on other sites

Okay - u2-web.com offer 'Fantastico' on all their packages (correct me if I am wrong). Fantastico will do an automated install of osCommerce for you, and you shouldn't have any permission problems with the auto-install.

 

Vger

Link to comment
Share on other sites

You are correct thanks. I forgot all about that :'( , trouble is now it won't do the install because the files already exist :-" , as I uploaded from my PC. I will go in and rename the directory and try again :angry: .

 

 

Thanks for your help.

 

:D :D :D

Link to comment
Share on other sites

  • 3 weeks later...

I'm getting the same error, "The configuration files do not exist, or permission levels are not set." I'm hosting it on my own Linux server, so I have root permisions. I have tried changing the permission to both 777 and 706 and get the same error.

 

currently i have the permissions

 

777

-rwxrwxrwx 1 root 'group' 1929 Mar 12 02:45 configure.php

 

 

/////////// Server Info //////////

 

Server version 4.1.10a-standard

Protocol version 10

Connection Localhost via UNIX socket

UNIX socket /tmp/mysql.sock

Uptime: 25 min 24 sec

 

php 4.3.1

Apache 1.3.33

Link to comment
Share on other sites

hello everyone!

 

Same as mcannon here. Installation going smoothly 'til error message "config files do not exist, or permission levels are not set."

 

Hosting on Linux server with path htdocs/catalog

 

I have changed permissions using SSH and FTP to both 777 and 706 and get the same error message still.

I have deleted and uploaded configure.php file twice to make sure it was not currupt or anything.

 

Uploading files from a mac if this helps?

 

Anyone...any ideas.........at all........god its late and my eyes are gonna fall out!

Link to comment
Share on other sites

Hurrah!

 

Sorted it! still not sure how though. I was setting file permissions in MAC OS10.3 with no joy. So swapped OS back to 9.2 and set permissions again in the FTP of Golive of all things, fired up to online config and it sailed thru!

 

I'm thinking personally I just needed to give the server time to update permissions or something. Now I just need to solve a problem with the admin.php.......

 

Warning: main(includes/languages/english.php): failed to open stream: No such file or directory in /home/fhlinux200/t/tamoko-design.co.uk/user/htdocs/catalog/admin/includes/application_top.php on line 130

 

Fatal error: main(): Failed opening required 'includes/languages/english.php' (include_path='.:/usr/share/pear') in /home/fhlinux200/t/tamoko-design.co.uk/user/htdocs/catalog/admin/includes/application_top.php on line 130

 

 

 

bye for now!

Link to comment
Share on other sites

I'm getting the same error, "The configuration files do not exist, or permission levels are not set." I'm hosting it on my own Linux server, so I have root permisions. I have tried changing the permission to both 777 and 706 and get the same error.

 

currently i have the permissions

 

777

-rwxrwxrwx    1 root    'group'    1929 Mar 12 02:45 configure.php

/////////// Server Info //////////

 

Server version          4.1.10a-standard

Protocol version        10

Connection              Localhost via UNIX socket

UNIX socket            /tmp/mysql.sock

Uptime:                25 min 24 sec

 

php 4.3.1

Apache 1.3.33

I have my own Linux and Apache servers to learn MySql/PHP and web development. So I am new but learning. Thought Oscommerce would be a good tool to learn and play with.

 

I have the same setup as mcannon. I have tried to set the permissions on the files/directories and still get the same error no matter what the permissions are set to. Any help is appreciated.

Thanks,

Dean

Link to comment
Share on other sites

Okay - u2-web.com offer 'Fantastico' on all their packages (correct me if I am wrong).? Fantastico will do an automated install of osCommerce for you, and you shouldn't have any permission problems with the auto-install.

 

Vger

 

 

just thought this was worth mentioning as for the no permission problems. you will need to chmod the graphs directory if you plan on using the banner manager. directory located in the admin/images/

there is also one located in the admin/include/

but the one that worked for me was the one in the admin/images

you get an error saying that graphs directory is not writable, but it doesnt say there are two graphs directories.

 

just thought this was noteworthy, as i have seen this error occur previously. and i use fantastico to install oscommerce.

 

as for your script already existing in i would assume root, you can do a few things, you can create a secondary directory, and move that first installation to that directory using an ftp program of your file manager from cpanel, then just install the oscommerce from fantastico to root. the other alternative would be to just remove what you installed, since its apparently not working, but you would want your store that you are running to be in your root and not in some other directory if you plan on it being indexed by the bots. else you can set the new install to a secondary directory, then in your cpanel redirect http://yourdomain.com to http://yourdomain.com/store_directory, this will write to the .htaccess file a redirect that will be indexed.

 

at any rate, just thought i would mention this for you to consider.

 

later and good luck

dosdawgs

Link to comment
Share on other sites

I think the problems with permissions on the own-managed servers is that you have them set to root-group, when they need to be set to user-group. As long as root owns the permissions on that folder you won't be able to run the install.

 

Vger

Link to comment
Share on other sites

I think the problems with permissions on the own-managed servers is that you have them set to root-group, when they need to be set to user-group.  As long as root owns the permissions on that folder you won't be able to run the install.

 

Vger

 

777 should allow anybody to do anything to those files.....and I would have thought root would allow it to setup most easily, Do you have a suggestion to which user should i change it to? Maybe Apache or create a user for oscommerce?

 

I created a user specifically for oscommerce to access mysql. Now i have created a specific user for oscommerce... Still the same problem...

 

-rwxrwxrwx 1 oscommerce adsmanage 1929 Mar 12 02:45 configure.php

 

I added the user to oscommerce to my group, roots, group, and any other group that looked important.

 

I still get the same error on step 7.

Link to comment
Share on other sites

Vger, You were right! I had to change the user...

 

chown -R apache catalog

 

i just did the whole folder out of frustration, may not have been the best idea, but if Apache owns the folder it goes though like a charm.

 

you could probably get away with chown apache configure.php and it'd still work...

 

It's working, i'm afraid to touch it :D , maybe somebody else can try changing just the 2 files and see if it works and let us know.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...