Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Bug with newsdesk


Recommended Posts



I installed the newsdesk contribution. The problem is that after I create a news I get this message : Fatal error: Call to undefined function: tep_get_uploaded_file() in /home/francky/public_html/catalog/admin/newsdesk.php on line 918.


So I haven't been able to create a news so far. Can someone help me ?

Edited by mluce
Link to comment
Share on other sites

  • 3 weeks later...

If I comment out this part of newsdesk.php I do not get this error anymore and I can create a news :


$newsdesk_image = tep_get_uploaded_file('newsdesk_image');
$newsdesk_image = tep_get_uploaded_file('newsdesk_image_two');
$newsdesk_image = tep_get_uploaded_file('newsdesk_image_three');
$image_directory = tep_get_local_path(DIR_FS_CATALOG_IMAGES);


However I have to comment out all the code refering to pictures and I cannot attach pictures to my news. Is there any way I can simply modify the code in order to make it work ?


Thank you very much for your help!

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.

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