theegnbuzzard Posted May 12, 2008 Posted May 12, 2008 Hi all, I'm just helping my mate out with a new fresh install and having a bizzare issue, All the install went smoothly but it still has the nag mesage about being able to write to config.php, the chmod has been set at 644, 444 and 400, even at one point at 0. still the message! Also all button images aren't displayed and the admin has no stying whatsoever, all the other shops have gone on a treat... really stuck! Thanks! Buz
BryceJr Posted May 12, 2008 Posted May 12, 2008 Are you hosted on a linux server or windows based server?
theegnbuzzard Posted May 13, 2008 Author Posted May 13, 2008 Hi it's a linux based server, really bugging me Ive gone through it several times now all with the same result, I'm guessing its a hosting issue bvut not sure why it's happening!
BryceJr Posted May 13, 2008 Posted May 13, 2008 Hi it's a linux based server, really bugging me Ive gone through it several times now all with the same result, I'm guessing its a hosting issue bvut not sure why it's happening! The best way to set permissions on a file is through the web host cpanel. If you've gone through the cpanel multiple times and the warning still there, try this: 1. download config file from the server to your local computer 2. delete the config file on the server 3. upload the config file from your computer to the server 4. use your cpanel and set the proper permission, try 444 Also all button images aren't displayed and the admin has no stying whatsoever Make sure your FTP settings are set to upload images in BINARY and php files or any readable files are set to ASCII. Also, check the correct permissions on all folders and files.
theegnbuzzard Posted May 13, 2008 Author Posted May 13, 2008 Thanks, I'll give that a go, I must say I always upload with it set to auto (Binary/ASCII) on any other install I've done with no problems whatsoever, is this bc the host is linux? Or that its a webhost configuration that is different from host to host? Thanks again! I'll have to wait until after the main job to try!
theegnbuzzard Posted May 13, 2008 Author Posted May 13, 2008 Right kind of got somewhere with this, spoke with the hosting company and they replied with this This is caused by a .htaccess file that is incorrect, and you will need to remove or fix this file your website will work. More detailed information on the errors caused can be found in the logfiles folder on the root of your hosting. Please note: .htaccess can only be used for controlling mod_rewrite or when used for password protection with .htpaswd. More information on using mod_rewrite can be found here: <link to hosting support kb> now if I comment out the last 4 lines in the .htaccess found in the root of catalog/admin and catalog/includes it all works fine, however I assume tis then poses a security risk? htaccess file reads as such # $Id: .htaccess 1775 2008-01-09 19:26:55Z hpdl $ # # This is used with Apache WebServers # The following blocks direct HTTP requests in this directory recursively # # For this to work, you must include the parameter 'Limit' to the AllowOverride configuration # # Example: # #<Directory "/usr/local/apache/htdocs"> # AllowOverride Limit # # 'All' with also work. (This configuration is in your apache/conf/httpd.conf file) # # This does not affect PHP include/require functions # # Example: http://server/catalog/admin/includes/application_top.php will not work # <Files *.php> # Order Deny,Allow # Deny from all # </Files> Any advice would be appreciated, not used linux hosts before and therefore not used .htaccess files!
theegnbuzzard Posted May 13, 2008 Author Posted May 13, 2008 sorry it should read above catalog/admin/includes and catalog/includes not catalog/admin
Recommended Posts
Archived
This topic is now archived and is closed to further replies.