Image Upload Module - undefined calls.
-
New Pligger
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?
-
Pligg Developer
Moved to the correct forum.
Please post in the appropriate forums.
Similar Threads
-
By Evgolas in forum Questions & Comments
Replies: 2
Last Post: 04-11-2012, 01:04 AM
-
By cent in forum Questions & Comments
Replies: 190
Last Post: 01-08-2011, 01:12 PM
-
By rockxie in forum Questions & Comments
Replies: 4
Last Post: 04-23-2009, 09:03 PM
-
By ziadchatila in forum Questions & Comments
Replies: 3
Last Post: 08-05-2008, 01:40 PM
-
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
-
Forum Rules