test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • reachthesky Friend
    #134287

    Error is as follow:

    Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘/homepages/11/d235636955/htdocs/gamerlatino/v2/images/resized/images/stories/pc/warhammer_44_26.jpg’ for writing: No such file or directory in /homepages/11/d235636955/htdocs/gamerlatino/v2/modules/mod_jabulletin/helper.php on line 323

    Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘/homepages/11/d235636955/htdocs/gamerlatino/v2/images/resized/images/stories/pc/untitled-1_44_23.png’ for writing: No such file or directory in /homepages/11/d235636955/htdocs

    thats All I can see.

    PHP5,MYSQL, Folders chmod to 777 same as files and subfolders. Images size set to 44×26
    If I disable “show image” then it works like a charm..
    any ideas?

    John Wesley Brett Moderator
    #274858

    Got a URL you can share with us?

    Thanks.
    John.

    reachthesky Friend
    #274918

    John I do have a live URL but you won’t see the error message. since the show images option is disabled. If is a good idea, I can provide the user or password same for FTP in order to check it. ?

    Sherlock Friend
    #274933

    hi
    please edit helper.php(modulesmod_jabulletin folder)

    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

    reachthesky Friend
    #274966

    Thanks, that fix it. I think I saw this solution somewhere in the forum but when I applied it I left the $rzname twice by mistake.
    I just realized that.

    Sherlock Friend
    #274967

    OK
    I will mark this topic is solved

    boulbiz Friend
    #299435

    Thank you nguoiabcd 😀

    I had the same probleme and it’s resolved !

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

This topic contains 7 replies, has 4 voices, and was last updated by  boulbiz 15 years, 9 months ago.

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