osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

ERROR_FILE_NOT_WRITEABLE for my Home and Information Pages

This is a discussion on ERROR_FILE_NOT_WRITEABLE for my Home and Information Pages within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Hi. I've installed OscMax v.2, setup the template etc but I've run into a problem I can't seem to resolve. ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-03-2005, 05:18 AM
New Member
 
Join Date: Oct 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
PurdiceLTD
Default ERROR_FILE_NOT_WRITEABLE for my Home and Information Pages

Hi. I've installed OscMax v.2, setup the template etc but I've run into a problem I can't seem to resolve. I have look all over the v.2 forum but to no avail so wondered if anyone could help. Once this is nailed I can go and setup the shop!

When I go to the Admin/Catalogue and click on either Define Main Page, Privacy Page, Conditions Page or Shipping page I get an error in a red bar at the top of the screen which sates ERROR_FILE_NOT_WRITEABLE.

I am unable to make any changes and thus can not change the homepage text or the other key text in those areas.

The site is www.purdicehome.co.uk fyi.

Thanks,
Ash
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-03-2005, 08:10 AM
New Member
 
Join Date: Oct 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
PurdiceLTD
Default

Hi. Just noticed when I click on the save button in the editor when trying to change the text in the home or other pages the following error comes up. This was from the home page:-

Warning: fopen(/hsphere/local/home/purdiceh/purdicehome.co.uk/includes/languages/english/mainpage.php): failed to open stream: Permission denied in /hsphere/local/home/purdiceh/purdicehome.co.uk/admin/define_mainpage.php on line 54

Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/purdiceh/purdicehome.co.uk/admin/define_mainpage.php on line 56

Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/purdiceh/purdicehome.co.uk/admin/define_mainpage.php on line 57

Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/purdiceh/purdicehome.co.uk/admin/define_mainpage.php:54) in /hsphere/local/home/purdiceh/purdicehome.co.uk/admin/includes/functions/general.php on line 85

Was worried it was all to do with chmod but the category description seems to write ok so not sure why the homepage is playing up.

Thanks,
Ash
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-03-2005, 03:07 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,792
Thanks: 5
Thanked 104 Times in 90 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

Check you CHMOD permissions on includes/languages/english/mainpage.php should be 744 or 644.
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-04-2005, 01:00 AM
New Member
 
Join Date: Oct 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
PurdiceLTD
Default

Thanks for the advice but still got the same error.

I changed the chmods on all of the below (first line first, then first and second, then first and second and third) and the error at the bottom still keeps rearing its ugly head.

* /purdicehome.co.uk/includes/languages/english/mainpage.php from 644 to 744
* /purdicehome.co.uk/admin/define_mainpage.php from 644 to 744
* /purdicehome.co.uk/admin/includes/functions/general.php from from 644 to 744
note they we all set at 644 when I first checked so I've not changed them to 644 then to 744, just changed FROM 644 to 744

Still says - ERROR_FILE_NOT_WRITEABLE above the editor and when I enter text and click on the save button a new white screen opens with the following:-

Warning: fopen(/hsphere/local/home/purdiceh/purdicehome.co.uk/includes/languages/english/mainpage.php): failed to open stream: Permission denied in /hsphere/local/home/purdiceh/purdicehome.co.uk/admin/define_mainpage.php on line 54

Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/purdiceh/purdicehome.co.uk/admin/define_mainpage.php on line 56

Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/purdiceh/purdicehome.co.uk/admin/define_mainpage.php on line 57

Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/purdiceh/purdicehome.co.uk/admin/define_mainpage.php:54) in /hsphere/local/home/purdiceh/purdicehome.co.uk/admin/includes/functions/general.php on line 85

If anyone can offer any advice would be much appreciated.

Many thanks,
Ashley
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-06-2005, 09:26 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,792
Thanks: 5
Thanked 104 Times in 90 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

Check any files you edited - Delete files - reupload - VERIFIY all files exists.
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 11-08-2005, 11:26 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 298
Thanks: 23
Thanked 35 Times in 34 Posts
Rep Power: 6
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default

I am having the same exact issue. Please let me know whay you find out

Thanks

Blayne
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 11-08-2005, 02:32 PM
New Member
 
Join Date: Oct 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
PurdiceLTD
Default

Not yet had a chance to check all of the files as jpf suggested.

Did wonder if our host bans alterations to files for some reason as changing the CHMOD as suggested didn't help... but this is probably totally inaccurate!

I did in the end find a more manual way to solve the problem. If you edit the certain files you can change the content directly without using the editor. FYI I altered /includes/languages/english/mainpage.php, privacy_content.php, shipping_content.php and conditions_content.php to circumvent the problem and put the text I wanted up on the site.

I'm not computer illiterate but I've never done anything like this before - it's easy enough for me to make these changes but I suppose some may be totally stumped.

Hope that helps you anyway. If not, shout and I'll try to be of as much use as I can!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 11-08-2005, 03:12 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,985
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Your problem is the permissions.

The files need CHMOD 777, Not CHMOD 744...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 11-09-2005, 09:23 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 298
Thanks: 23
Thanked 35 Times in 34 Posts
Rep Power: 6
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default

Dear Michael:

Thank you for your response. The mainpage file in includes/lanquage/english was at 777 and it did not work so I changed to 644 per this thread. Do all the files involved have to be 777 like conditons.php,shipping.php etc?

Thanks

Blayne
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 11-09-2005, 09:36 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 298
Thanks: 23
Thanked 35 Times in 34 Posts
Rep Power: 6
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default

Never mind I changed the shipping_content.php as well as mainpage to 777 and it works beautifully. Thanks much again!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
ERROR_FILE_NOT_WRITEABLE dean0088 osCMax v2 Installation issues 1 07-28-2006 08:27 AM
ERROR_FILE_NOT_WRITEABLE mojojimjo osCommerce 2.2 Installation Help 3 07-02-2006 12:49 PM
Setting up information pages - shipping & returns...etc wyldeone osCMax v1.7 Discussion 1 03-19-2005 05:41 AM
How to change page titles for information pages? mark754 osCMax v1.7 Discussion 2 09-16-2004 02:28 PM
Extra pages in information box neil osCommerce 2.2 Installation Help 1 01-24-2003 06:49 AM


All times are GMT -8. The time now is 11:44 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax