Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • iamdbat Friend
    #134730

    Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘/home/sparepar/public_html/home/images/resized/images/stories/siteimages/featured/tools_75_100.png’ for writing: No such file or directory in /home/sparepar/public_html/home/modules/mod_janews/helper.php on line 127

    Why do I get this message when I try to publish JAFrontnews on the frontpage?

    Sherlock Friend
    #276805

    Hi
    please edit /home/sparepar/public_html/home/modules/mod_janews/helper.php
    Search those lines:

    $ext = strtolower(substr(strrchr($image, '.'), 1)); // get the file extension
    $rzname = strtolower(substr($image, 0, strpos($image,'.')))."_{$tn_width}_{$tn_height}.{$ext}"; // get the file extension

    Change to

    $ext = (substr(strrchr($image, '.'), 1)); // get the file extension
    $rzname = (substr($image, 0, strpos($image,'.')))."_{$tn_width}_{$tn_height}.{$ext}"; // get the file extension

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

This topic contains 2 replies, has 2 voices, and was last updated by  Sherlock 16 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum