Wallpaper Script Forum » Themes and Templates

error in Normal 5:4 resolutions: 1280 x 1024

(9 posts)

Tags:

  1. hey,
    guys i bought this script but i got error in Normal 5:4 resolutions: 1280 x 1024, when i click on a image and click to see Normal 5:4 1280 x 1024 then i see an error

    [Warning: getimagesize(/home/dvk2h7ug/public_html/wallpapershub.net/walls/britneyspears1_bymortallity_13-normal5.4.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/dvk2h7ug/public_html/wallpapershub.net/view.inc.php on line 70

    Warning: Cannot modify header information - headers already sent by (output started at /home/dvk2h7ug/public_html/wallpapershub.net/view.inc.php:70) in /home/dvk2h7ug/public_html/wallpapershub.net/includes/php_functions.php on line 64]

    what should i do help me

    Posted 3 years ago #
  2. i have the same problem but i dont have any answer

    Posted 3 years ago #
  3. vaggos
    Member

    There is no support anymore. We must demand to give us the full code somehow, the parts that are encrypted so we can modify the code ourselves or a programmer.

    Posted 3 years ago #
  4. saidul
    You using some other script...

    Posted 3 years ago #
  5. HDResimler
    Member

    Me too, i have the same problem. I dont have any answer?? Please help us.

    Posted 3 years ago #
  6. i never have this problem i got wallpaper script 3.5.0051

    and my site are hosted in namecheap.com

    Posted 3 years ago #
  7. This error occurs if the aspect ratio of an image is not in the list of known ratios. The image file name then gets the suffix "other". In view.inc.php the image name is build on the base of known rations ($ratio_typeNew = WS::getRatioType($ratioNew);) This is a bug. "getimagesize" get the wrong filename.

    The filename should be build based on the real file. To fix it add the following lines before "$arr_fileData = getimagesize($fullsizePath);"

    if (!file_exists($fullsizePath)) {
    $myRatio = $WS->getRatioTypeByShortName($wallpaper['short_name']);
    $fullsizePath = WALLPAPERS_PATH.$file_prefix.URL_TOKEN_SEPARATOR.$myRatio.".jpg";
    }

    Now $fullsizePath points to the correct filename.

    Posted 3 years ago #
  8. Thank you Piggy, that helps :)

    Posted 3 years ago #
  9. Also i fixed adding a subsrtring replace like this:
    $filesizeName = $file_prefix.URL_TOKEN_SEPARATOR.ereg_replace("normal5.4","other",$ratio_type).".jpg"; //Error corregido

    It fix the problem :D

    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.