Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2008
    Posts
    96
    Plugin Contributions
    0

    Default Unable to edit define main page

    Hi All,
    I havn't edited my website for a while but i've tried to change some of the text on my main page but when I tried submit the changes and it gives me these error messages, I don't understand what it means can someone help? My website is www.signifypromotions.co.uk

    Warning: fopen(D:/inetpub/vhosts/signifypromotions.co.uk/httpdocs/includes/languages/english/html_includes/define_main_page.php) [function.fopen]: failed to open stream: Permission denied in D:\inetpub\vhosts\signifypromotions.co.uk\httpdocs\admin\define_pages_editor.php on line 75

    Warning: fwrite(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\signifypromotions.co.uk\httpdocs\admin\define_pages_editor.php on line 77

    Warning: fclose(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\signifypromotions.co.uk\httpdocs\admin\define_pages_editor.php on line 78

    Warning: Cannot modify header information - headers already sent by (output started at D:\inetpub\vhosts\signifypromotions.co.uk\httpdocs\admin\define_pages_editor.php :75) in D:\inetpub\vhosts\signifypromotions.co.uk\httpdocs\admin\includes\functions\gene ral.php on line 21

    I appreciate any help.

    Thanks

  2. #2
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    580
    Plugin Contributions
    0

    Default Re: Unable to edit define main page

    Are you making your changes via an editor and then upload with the your ftp program?

  3. #3
    Join Date
    Sep 2008
    Posts
    96
    Plugin Contributions
    0

    Default Re: Unable to edit define main page

    Thanks for your reply stitchnkitty.

    No I am just editing the normal way I used to which is in the admin control panel and going to define pages, that's the way i always used to do it.

    Thanks
    Taz

  4. #4
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Unable to edit define main page

    This tutorial may help:

    https://www.zen-cart.com/tutorials/index.php?article=87

    (output started at D:\inetpub\vhosts\signifypromotions.co.uk\httpdocs\admin\define_pages_editor.php :75)
    Last edited by frank18; 29 Jan 2011 at 12:30 PM.

  5. #5
    Join Date
    Sep 2008
    Posts
    96
    Plugin Contributions
    0

    Default Re: Unable to edit define main page

    Thank you for the link supplied. I had a look at the solutions. The first solution I don't think applies to me, as there was no spaces at the front of the PHP, hower there was an extra line at the end when I placed my curser and delated the line and saved, the line appeared again so I am guessing it's supposed to be there?

    With the second solution i can see consistency's.

    The error page reads this:

    Warning: fopen(D:/inetpub/vhosts/signifypromotions.co.uk/httpdocs/includes/languages/english/html_includes/define_main_page.php) [function.fopen]: failed to open stream: Permission denied in D:\inetpub\vhosts\signifypromotions.co.uk\httpdocs\admin\define_pages_editor.php on line 75

    Warning: fwrite(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\signifypromotions.co.uk\httpdocs\admin\define_pages_editor.php on line 77

    Warning: fclose(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\signifypromotions.co.uk\httpdocs\admin\define_pages_editor.php on line 78

    Warning: Cannot modify header information - headers already sent by (output started at D:\inetpub\vhosts\signifypromotions.co.uk\httpdocs\admin\define_pages_editor.php :75) in D:\inetpub\vhosts\signifypromotions.co.uk\httpdocs\admin\includes\functions\gene ral.php on line 21

    And when I look at the define_pages_editor.php I can see these same text in the lines

    Line 75 $new_file = fopen($file, 'w'); (which is shwon in the first error)

    Line 77 fwrite($new_file, $file_contents, strlen($file_contents));(shown in the next error)

    Line 78 fclose($new_file); (which shows in the third error)

    The problem is i don't know what to look for and I couldn't tell what it should read and what it shouldn't. Is there anything I can do.

    Thanks
    Taz

  6. #6
    Join Date
    Sep 2008
    Posts
    96
    Plugin Contributions
    0

    Default Re: Unable to edit define main page

    Anybody able to help?

  7. #7
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Unable to edit define main page

    Go to your webhosting, and make your includes/languages folder (and the files inside it) writable. This will fix it.

  8. #8
    Join Date
    Sep 2008
    Posts
    96
    Plugin Contributions
    0

    Default Re: Unable to edit define main page

    Hi,
    My web host company fixed the issue for me. Thanks!

    Taz

 

 

Similar Threads

  1. Cannot edit main page from Tools/Define page editor
    By bearlymakinit in forum Customization from the Admin
    Replies: 2
    Last Post: 9 Apr 2015, 02:15 AM
  2. v151 created a define page, can edit it, but page contents don't appear
    By tlyczko in forum Customization from the Admin
    Replies: 2
    Last Post: 11 Feb 2013, 11:06 PM
  3. Can't Edit Define Main Page in Define Page Editor
    By robynannw in forum General Questions
    Replies: 2
    Last Post: 8 May 2010, 05:15 PM
  4. Unable to edit pages in "Define Pages Editor"
    By angminnie in forum Customization from the Admin
    Replies: 5
    Last Post: 16 Mar 2010, 06:04 PM
  5. Main Page Define - Product Listing above Main Text?
    By SaMortensen in forum Basic Configuration
    Replies: 22
    Last Post: 31 Jul 2009, 05:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR