Guest Posted January 7, 2004 Share Posted January 7, 2004 Tried adding text to these pages but when I uploaded they where blank. When I tried uploading the orginal file this was also blank to. Any ideas? how do I do this. How would I also add a new page? Link to comment Share on other sites More sharing options...
♥Vger Posted January 7, 2004 Share Posted January 7, 2004 I suspect this is something to do with file permissions, and that if you had edited the pages in question online the file permissions would have remained at rw-r-r (chmod 644). Check out the file permissions for these pages and see what they're set to, it may be that they're now set to 755 rw-rw-rw. Post again when you've checked this out. With regard to adding pages the most difficult part of this is not going to be the pages themselves, but updating any links to other pages. As only you know the breadcrumb trail for these extra pages it may be something that you're going to have to work out for yourself. Sorry! Vger Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 permissions are 644. I cant understand why its blank I have added the orginal file from oscommerce. The only solution I can think of might be to remove the conditions, privacy and returns page and somehow add a new page with it all on. Any suggestions the site is http://www.cornishcrispa.co.uk Link to comment Share on other sites More sharing options...
♥Vger Posted January 7, 2004 Share Posted January 7, 2004 Are you by any chance on a Windows server? If so, the chances are that you won't have permission to chmod files using ftp. You can chmod them all you like in ftp, and it will look as though you've done it (no error) will be reported - but nothing will have happened. You may also find that your file size, when viewed via ftp, is recorded as '0' bytes. Vger Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 exactly what files did you changed and what files did you upload? Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 I think i am on an apache server. I changed conditions.php and uploaded, I have tried uploading the orginal file with no luck the page is still blank. Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 Did you changed catalog/conditions.php or catalog/includes/languages/english/conditions.php ? The_Bear Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 catalog/includes/languages/english/conditions.php Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 If i could just get the page back so it isnt blank I feel I could add text to it How do I get the page back? I have uploaded the orginal file but it has made no difference. I can edit this file through the file manager but cant see it. ANy ideas why? Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 ask your hosting provider to turn on the PHP error. sometimes they have it off which results in a blank page. Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 oh and also here is how to add a new page: http://wiki.oscommerce.com/helpModsAddBoxLinks Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 if i do something wrong i usually get error messages at the top of the page Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 My main concern is being able to view the conditions of use page. As mentioned I can edit the file just not see it when viewing it. Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 n/m Link to comment Share on other sites More sharing options...
♥Vger Posted January 7, 2004 Share Posted January 7, 2004 You say you 'think' you're on an Apache server? Establish an ftp connection, look at the files you've altered and check the file sizes. I'm betting that if they're showing zero bytes that you're on a Windows server, and the server has screwed things up. You can also look through your ftp files, and if you're on an apache server you should find some files names apache in there. Alternatively, check with your hosting company, ask them which type of server you're on - also find out which version of php they're running. Also, many of these files have the same name but exist in different directories, please check to make sure that you have placed the altered files in the right directory - this may also be the problem. Vger Link to comment Share on other sites More sharing options...
Guest Posted January 7, 2004 Share Posted January 7, 2004 manged to sort out the problem didnt realise there where two different conditions to be uploaded. thanks for all your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.