Jump to content

Help with PHP errors


piccadely

Recommended Posts

Hi,

 

I recently bought a script. It looked until I found some errors. It looks hell now and I feel my money is wasted as I cannot get the support. Can you please help to fix it. Following are the errors that I get. If somebody is intrested in helping then PM me to get user names and passwords to login and check the errors by themselves.

 

====================================================

====================================================

Error:

====

====

Fatal error: Smarty error: [in siteadmin/mailstatus.tpl line 155]: [plugin] could not load plugin file 'insert.pemail.php' (core.load_plugins.php, line 118) in /home/premiume/public_html/demo/photocontest/smarty/libs/Smarty.class.php on line 1095

====================================================

====================================================

Error:

====

====

 

Warning: move_uploaded_file(/home/premiume/public_html/demo/photocontest/images/contest/17_397021_contest_picture.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/premiume/public_html/demo/photocontest/classes/jclasses/class.contest.php on line 405

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpxiWGqt' to '/home/premiume/public_html/demo/photocontest/images/contest/17_397021_contest_picture.jpg' in /home/premiume/public_html/demo/photocontest/classes/jclasses/class.contest.php on line 405

Warning: imagecreatefromjpeg(/home/premiume/public_html/demo/photocontest/images/contest/17_397021_contest_picture.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /home/premiume/public_html/demo/photocontest/include/function.php on line 5

Warning: getimagesize(/home/premiume/public_html/demo/photocontest/images/contest/17_397021_contest_picture.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/premiume/public_html/demo/photocontest/include/function.php on line 6

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/premiume/public_html/demo/photocontest/include/function.php on line 9

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/premiume/public_html/demo/photocontest/include/function.php on line 10

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/premiume/public_html/demo/photocontest/include/function.php on line 11

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/premiume/public_html/demo/photocontest/include/function.php on line 12

Warning: imagestring(): supplied argument is not a valid Image resource in /home/premiume/public_html/demo/photocontest/include/function.php on line 13

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/premiume/public_html/demo/photocontest/include/function.php on line 14

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/premiume/public_html/demo/photocontest/include/function.php on line 15

Warning: getimagesize(/home/premiume/public_html/demo/photocontest/images/contest/17_397021_contest_picture.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/premiume/public_html/demo/photocontest/include/function.php on line 300

Warning: imagecreatefromgif(/home/premiume/public_html/demo/photocontest/images/contest/17_397021_contest_picture.jpg) [function.imagecreatefromgif]: failed to open stream: No such file or directory in /home/premiume/public_html/demo/photocontest/include/function.php on line 346

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/premiume/public_html/demo/photocontest/include/function.php on line 347

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/premiume/public_html/demo/photocontest/include/function.php on line 348

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/premiume/public_html/demo/photocontest/include/function.php on line 349

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/premiume/public_html/demo/photocontest/include/function.php on line 350

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/premiume/public_html/demo/photocontest/include/function.php on line 351

==================================================

==================================================

 

Thank You Very Much For Looking  ;D

 

Link to comment
Share on other sites

from the looks of it I can see a possible 3 errors

 

1) you don't have access to the folders you are linking to

2) Files aren't where they are supppose to be

3) Your sever does not process the images properly thus you can't not use any of the gd on a resource that is not an image

 

 

For the plugin make sure its there and chmod is set right

 

for the GD make sure your images are going to the right spots the script thinks they are

 

Edit:

Looking through that second box more closely I see that your issue is in moving the uploaded file and its causing a waterfall effect (the uploaded file is needed for the rest of those steps thus they all fail because the move failed) look into that and you should figure it out quickly

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.