Results 1 to 2 of 2
  1. #1
    New Pligger withak's Avatar
    Joined
    Jan 2009
    Posts
    2

    Image Upload Module - undefined calls.

    So I've installed the lUM and I'm getting an error on the pages where $smarty->get_template_vars is called.

    If I attempt to print_r the $smarty object there is nothing in it.

    Fatal error: Call to a member function get_template_vars() on a non-object in /var/www/vhosts/domainname.com/httpdocs/modules/image_upload/image_upload_main.php on line 126

    I also get an error on the /submit.php and link_summary.tpl files. If I insert as requested:
    // START: Image Upload Module
    check_actions('image_upload_process');
    // END: Image Upload Module


    I get an error:
    Warning: Missing argument 2 for check_actions(), called in /var/www/vhosts/domainname.com/httpdocs/class.template.php(745) : eval()'d code on line 442 and defined in /var/www/vhosts/domainname.com/httpdocs/modules/modules_libs.php on line 87

    The error will go away if I add $vars as the second arg as I have seen other calls doing. But I cannot retrieve the name of the image in the link summary.

    Any Ideas?

  2. #2
    Pligg Developer chuckroast's Avatar
    Joined
    Jun 2006
    Posts
    5,478
    Moved to the correct forum.
    Please post in the appropriate forums.

Similar Threads

  1. Add Image to Comments - using Image Upload Module
    By Evgolas in forum Questions & Comments
    Replies: 2
    Last Post: 04-11-2012, 01:04 AM
  2. [MOD] Image Upload Module (v1.0) -- Now Available
    By cent in forum Questions & Comments
    Replies: 190
    Last Post: 01-08-2011, 01:12 PM
  3. About the image upload module
    By rockxie in forum Questions & Comments
    Replies: 4
    Last Post: 04-23-2009, 09:03 PM
  4. Image Upload 0.4 Module
    By ziadchatila in forum Questions & Comments
    Replies: 3
    Last Post: 08-05-2008, 01:40 PM
  5. Miising loading image in image upload/thickbox module
    By Peter in forum Questions & Comments
    Replies: 5
    Last Post: 12-05-2007, 11:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting