سلام
من سیستم را نصب کردم و یک آگهی هم ساختم ولی وقتی میخوام تصویر به آگهی اضافه کنم با ارور مواجه میشم
تنظیمات رسانه هم بشکل زیر تغییر دادم :
اندازه بیشینه : 100 kb
واترمارک : متنی
البته ImageMagickفعال نیست !!!
من سیستم را نصب کردم و یک آگهی هم ساختم ولی وقتی میخوام تصویر به آگهی اضافه کنم با ارور مواجه میشم
تنظیمات رسانه هم بشکل زیر تغییر دادم :
اندازه بیشینه : 100 kb
واترمارک : متنی
البته ImageMagickفعال نیست !!!
کد:
Warning: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 1089 is not allowed to access /tmp owned by uid 0 in /home/mydomain/public_html/ads/oc-includes/osclass/classes/ImageResizer.php on line 118
Warning: imagejpeg() [function.imagejpeg]: Invalid filename in /home/mydomain/public_html/ads/oc-includes/osclass/classes/ImageResizer.php on line 118
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: Unable to access /tmp/phpPEupz8_normal in /home/mydomain/public_html/ads/oc-includes/osclass/classes/Watermark.php on line 281
Warning: imagecreatefromjpeg(/tmp/phpPEupz8_normal) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /home/mydomain/public_html/ads/oc-includes/osclass/classes/Watermark.php on line 281
Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in /home/mydomain/public_html/ads/oc-includes/osclass/classes/Watermark.php on line 170
Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/mydomain/public_html/ads/oc-includes/osclass/classes/Watermark.php on line 221
Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/mydomain/public_html/ads/oc-includes/osclass/classes/Watermark.php on line 222
Warning: imagettftext() expects parameter 1 to be resource, boolean given in /home/mydomain/public_html/ads/oc-includes/osclass/classes/Watermark.php on line 153
Warning: imagejpeg() expects parameter 1 to be resource, boolean given in /home/mydomain/public_html/ads/oc-includes/osclass/classes/Watermark.php on line 307
Warning: filesize() [function.filesize]: SAFE MODE Restriction in effect. The script whose uid is 1089 is not allowed to access /tmp owned by uid 0 in /home/mydomain/public_html/ads/oc-includes/osclass/ItemActions.php on line 1365
Warning: filesize() [function.filesize]: stat failed for /tmp/phpPEupz8_normal in /home/mydomain/public_html/ads/oc-includes/osclass/ItemActions.php on line 1365
Fatal error: Uncaught exception 'Exception' with message '/tmp/phpPEupz8_normal does not exist!' in /home/mydomain/public_html/ads/oc-includes/osclass/classes/ImageResizer.php:35 Stack trace: #0 /home/mydomain/public_html/ads/oc-includes/osclass/classes/ImageResizer.php(28): ImageResizer->__construct('/tmp/phpPEupz8_...') #1 /home/mydomain/public_html/ads/oc-includes/osclass/ItemActions.php(1371): ImageResizer::fromFile('/tmp/phpPEupz8_...') #2 /home/mydomain/public_html/ads/oc-includes/osclass/ItemActions.php(430): ItemActions->uploadItemResources(Array, '1') #3 /home/mydomain/public_html/ads/oc-includes/osclass/controller/item.php(236): ItemActions->edit() #4 /home/mydomain/public_html/ads/index.php(95): CWebItem->doModel() #5 {main} thrown in /home/mydomain/public_html/ads/oc-includes/osclass/classes/ImageResizer.php on line 35