stretchgre Posted October 7, 2011 Posted October 7, 2011 Hello i have a template and my includes/configure.php file will not change. i type in true instead of false and i keep getting an error that says I cannot save it on the server. when i change it on my computer and upload it, it will not change. The other configure files have changed when I saved them. please help
spitlikethis Posted October 7, 2011 Posted October 7, 2011 I have the same problem. I've not fully investigated it yet as I already have a shared SSL that works fine, but here are the links I was going to look at. LMK if any of them help! http://www.oscommerce.com/forums/topic/233458-how-to-install-ssl-on-osc-a-simple-1-2-3-instruction/page__hl__chmod+setting__fromsearch__1 http://www.oscommerce.com/community/contributions,3289 ------------- http://dev.mysql.com/doc/refman/5.1/en/secure-using-ssl.html ----------- http://webscripts.softpedia.com/script/Modules/osCommerce-Addons/1and1-SSL-Fix-6961.html
stretchgre Posted October 7, 2011 Author Posted October 7, 2011 Still cannot get this false to save to true on my godaddy server <?php define('HTTP_SERVER', 'http://candyvases.com'); define('HTTPS_SERVER', 'http://candyvases.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
♥14steve14 Posted October 7, 2011 Posted October 7, 2011 I take it you have tried to change the file permissions first to something that will allow you to write to the file. REMEMBER BACKUP, BACKUP AND BACKUP
stretchgre Posted October 7, 2011 Author Posted October 7, 2011 No I have not. Any idea on how to start that process?
germ Posted October 7, 2011 Posted October 7, 2011 To change permissions you need to use cPanel or FTP. Sometimes FTP doesn't work. 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 >
MrPhil Posted October 8, 2011 Posted October 8, 2011 The configure.php files are normally kept "read-only" on the server, to keep hackers from somehow manipulating the osC code to overwrite them. It doesn't matter to osC if you, the owner, can write to these files -- it is only concerned that osC not be able to write (via PHP) to them. It sounds like they are, in fact, "read-only" to you the owner, which is OK, except that you have to remember to change the permissions to "read-write", at least by the owner, before you can edit the file on the server or upload to the server (overwrite the file). If the files are on a Linux server and currently 444, chmod them (change permissions) to 644 and you will be able to edit on the server or upload and overwrite it. Don't forget to restore the permissions to 444 when done, or you'll get an annoying warning on each page. If it's a Windows server, you need to remove the "read-only" attribute, edit or upload, and restore the "read-only" attribute. Most servers do not permit FTP to change permissions, so you will need to do this from your hosting control panel.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.