Home Forums Support Widget Support EasyBlog Control Panel / PHP File Error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Jordan
    Participant
    Post count: 2
    #40426 |

    I really need your help. I have searched and searched for a good blog widget that is compatible with my web hosting, and this is as close as I have gotten. (I have had notepad++ installed way before this) I have done everything as instructed in your video, read all of your support topics and cannot solve this problem.

    I am receiving this error when I type the link to the control panel (CSVEAT is the custom csvname on line 10):
    PHP Warning: file_put_contents(CSVEAT.csv) [function.file-put-contents]: failed to open stream: Permission denied in D:\Inetpub\eyesacrosstexas\assets\eyesacrosstexas.php on line 61
    PHP Warning: file_put_contents(CSVEAT.csv) [function.file-put-contents]: failed to open stream: Permission denied in D:\Inetpub\eyesacrosstexas\assets\eyesacrosstexas.php on line 63
    PHP Warning: file_put_contents(CSVEAT.csv) [function.file-put-contents]: failed to open stream: Permission denied in D:\Inetpub\eyesacrosstexas\assets\eyesacrosstexas.php on line 65
    PHP Warning: file_put_contents(CSVEAT.csv) [function.file-put-contents]: failed to open stream: Permission denied in D:\Inetpub\eyesacrosstexas\assets\eyesacrosstexas.php on line 67

    Keep in mind this is line 27-29 (and yes I changed the file name as well):
    //Set the name of your control panel page. Leave it as it is now and your Control Panel URL will be http://eyesacrosstexas.com/assets/eyesacrosstexas.php
    //If you want to change easyblog.php filename (recommended) you need to write the new name (without PHP extension) here.
    $pagename=”eyesacrosstexas”;

    Here are what is in my PHP file when I type in what is on line 27:
    $debug=false;
    ?>
    <?php
    /*CREATE CSV IF NOT EXIST*/
    $file = “$csvname.csv”;
    if(!is_file($file)){
    $contents = ‘ID;TITLE;KEYWORDS;DESCRIPTION;IMAGE;CATEGORY;PUBLIC’;
    file_put_contents($file, $contents . PHP_EOL);
    $contents = ‘1512419427;This is a dummy title;360 images, adobe muse;Lorem Ipsum is simply dummy text of the printing and typesetting industry.;https://responsive-muse.com/demos/widget-easy-blog/assets/uploads/1512433833-360-image.jpg;General;1‘;
    file_put_contents($file, $contents . PHP_EOL, FILE_APPEND);
    $contents = ‘1512419208;This is a dummy title;assets, muse;Lorem Ipsum is simply dummy text of the printing and typesetting industry.;https://responsive-muse.com/demos/widget-easy-blog/assets/uploads/1511715665-diary-968603_640.jpg;General;1‘;
    file_put_contents($file, $contents . PHP_EOL, FILE_APPEND);
    $contents = ‘1512418790;This is a dummy title;dropbox, muse;Lorem Ipsum is simply dummy text of the printing and typesetting industry.;https://responsive-muse.com/demos/widget-easy-blog/assets/uploads/1511714560-cute-kitten.jpg;General;1‘;
    file_put_contents($file, $contents . PHP_EOL, FILE_APPEND);
    }

    Here is the link to where the blog should be: http://www.eyesacrosstexas.com/blog.html
    And Here is the link to my website: http://www.eyesacrosstexas.com/index.html or you can try http://www.eyesacrosstexas.com (either work)

    responsive-muse
    Keymaster
    Post count: 234
    #40526 |

    Hi Jordan,

    After checking your errors and URLs everything seems to point to restrictions in your hosting.

    You could try to use our default easyblog.php file to discard that your modifications are the problem, but there are 99% chances that the problem is in the hosting provider.

    The main problem seems to be that you have not writting permission in the CSVEAT.csv file.

    You should be able to change that file permissions using your hosting control panel.

    I hope it helps!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.