/    Sign up×
Community /Pin to ProfileBookmark

Php error messages!

Hey guys, i’m having a problem with my site, suddenly my images won’t work! I have found the following error messages in admin side BUT don’t know how to fix them! Could you please help?

I get a handful of error messages when trying to upload:

move_uploaded_file(/home/interscr/public_html/product_images/t/davy_jones__43503.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied 23rd Mar 2009 @ 5:01 PM
move_uploaded_file(/home/interscr/public_html/product_images/t/davy_jones__43503.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/interscr/public_html/admin/includes/classes/class.product.php at 1738

File Line Function

[code=php] ISC_LOG->HandlePHPErrors
/home/interscr/public_html/admin/includes/classes/class.product.php 1738 move_uploaded_file
/home/interscr/public_html/admin/includes/classes/class.product.php 695 ISC_ADMIN_PRODUCT->_StoreFileAndReturnId
/home/interscr/public_html/admin/includes/classes/class.product.php 3699 ISC_ADMIN_PRODUCT->_GetImageData
/home/interscr/public_html/admin/includes/classes/class.product.php 220 ISC_ADMIN_PRODUCT->EditProductStep2
/home/interscr/public_html/admin/includes/classes/class.auth.php 508 ISC_ADMIN_PRODUCT->HandleToDo
/home/interscr/public_html/admin/includes/classes/class.engine.php 69 ISC_ADMIN_AUTH->HandleSTSToDo
/home/interscr/public_html/admin/index.php 95 ISC_ADMIN_ENGINE->HandlePage

The next message is:

move_uploaded_file() [function.move-uploaded-file]: Unable to move ‘/tmp/phpZOwcFB’ to ‘/home/interscr/public_html/product_images/t/davy_jones__43503.jpg’ in /home/interscr/public_html/admin/includes/classes/class.product.php at 1738
File Line Function
[code=php] ISC_LOG->HandlePHPErrors
/home/interscr/public_html/admin/includes/classes/class.product.php 1738 move_uploaded_file
/home/interscr/public_html/admin/includes/classes/class.product.php 695 ISC_ADMIN_PRODUCT->_StoreFileAndReturnId
/home/interscr/public_html/admin/includes/classes/class.product.php 3699 ISC_ADMIN_PRODUCT->_GetImageData
/home/interscr/public_html/admin/includes/classes/class.product.php 220 ISC_ADMIN_PRODUCT->EditProductStep2
/home/interscr/public_html/admin/includes/classes/class.auth.php 508 ISC_ADMIN_PRODUCT->HandleToDo
/home/interscr/public_html/admin/includes/classes/class.engine.php 69 ISC_ADMIN_AUTH->HandleSTSToDo
/home/interscr/public_html/admin/index.php 95 ISC_ADMIN_ENGINE->HandlePage

The next is:

move_uploaded_file(/home/interscr/public_html/product_images/c/davy_jones__04566.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/interscr/public_html/admin/includes/classes/class.product.php at 1738
File Line Function
[code=php] ISC_LOG->HandlePHPErrors
/home/interscr/public_html/admin/includes/classes/class.product.php 1738 move_uploaded_file
/home/interscr/public_html/admin/includes/classes/class.product.php 695 ISC_ADMIN_PRODUCT->_StoreFileAndReturnId
/home/interscr/public_html/admin/includes/classes/class.product.php 1900 ISC_ADMIN_PRODUCT->_GetImageData
/home/interscr/public_html/admin/includes/classes/class.product.php 3745 ISC_ADMIN_PRODUCT->_CommitProduct
/home/interscr/public_html/admin/includes/classes/class.product.php 220 ISC_ADMIN_PRODUCT->EditProductStep2
/home/interscr/public_html/admin/includes/classes/class.auth.php 508 ISC_ADMIN_PRODUCT->HandleToDo
/home/interscr/public_html/admin/includes/classes/class.engine.php 69 ISC_ADMIN_AUTH->HandleSTSToDo
/home/interscr/public_html/admin/index.php 95 ISC_ADMIN_ENGINE->HandlePage

And another:

move_uploaded_file() [function.move-uploaded-file]: Unable to move ‘/tmp/phpZOwcFB’ to ‘/home/interscr/public_html/product_images/c/davy_jones__04566.jpg’ 23rd Mar 2009 @ 5:01 PM
move_uploaded_file() [function.move-uploaded-file]: Unable to move ‘/tmp/phpZOwcFB’ to ‘/home/interscr/public_html/product_images/c/davy_jones__04566.jpg’ in /home/interscr/public_html/admin/includes/classes/class.product.php at 1738
File Line Function
[code=php] ISC_LOG->HandlePHPErrors
/home/interscr/public_html/admin/includes/classes/class.product.php 1738 move_uploaded_file
/home/interscr/public_html/admin/includes/classes/class.product.php 695 ISC_ADMIN_PRODUCT->_StoreFileAndReturnId
/home/interscr/public_html/admin/includes/classes/class.product.php 1900 ISC_ADMIN_PRODUCT->_GetImageData
/home/interscr/public_html/admin/includes/classes/class.product.php 3745 ISC_ADMIN_PRODUCT->_CommitProduct
/home/interscr/public_html/admin/includes/classes/class.product.php 220 ISC_ADMIN_PRODUCT->EditProductStep2
/home/interscr/public_html/admin/includes/classes/class.auth.php 508 ISC_ADMIN_PRODUCT->HandleToDo
/home/interscr/public_html/admin/includes/classes/class.engine.php 69 ISC_ADMIN_AUTH->HandleSTSToDo
/home/interscr/public_html/admin/index.php 95 ISC_ADMIN_ENGINE->HandlePage

I have checked the file permissions and they all seem to be fine and i even set it to 777and still no luck!!

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @dagsky spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.27,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...