Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Catchable fatal error: Object of class upload could not be converted to string in C:\xampp\htdocs\ebook\includes\functions\general.php on line 1112


vikal

Recommended Posts

hi

 

morning

 

the above error is based on add-on module

 

CAP 1.4.3.zip

 

this is the error produce while clicking to the ICON_PREVIEW on the file account_manage.php

 

and error on this function

 

 

 

function tep_not_null($value) {

if (is_array($value)) {

if (sizeof($value) > 0) {

return true;

} else {

return false;

}

} else {

if (($value != '') && (strtolower($value) != 'null') && (@strlen(@trim($value)) > 0)) {

return true;

} else {

return false;

}

}

}

 

 

would you mind solve this problem

 

 

waiting for your reply

 

 

with best regards

 

vikal

Link to comment
Share on other sites

Hi - I'm getting a similar error with the upload class (that is used in CAP):

 

Catchable fatal error: Object of class upload could not be converted to string in ...includes/functions/database.php on line 95

 

I'm guessing that it is a php5.2 thing, but other than that, I'm clueless. So, if you vikal, I'll jump in too!

 

thank you in advance.

 

Tony

Link to comment
Share on other sites

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...