View Single Post
  #138 (permalink)  
Old 04-23-2008, 10:55 PM
steegness steegness is offline
New Pligger
 
Join Date: Apr 2008
Posts: 2
Quote:
Originally Posted by dogmog View Post
I got the same problem with pligg 9.9.0.

I get the error:
Warning: Missing argument 2 for check_actions(), called in C:\Programme\xampp\htdocs\Pligg9\class.template.ph p(745) : eval()'d code on line 434 and defined in C:\Programme\xampp\htdocs\Pligg9\modules\modules_l ibs.php on line 87

Fatal error: Call to a member function get_template_vars() on a non-object in C:\Programme\xampp\htdocs\Pligg9\modules\image_upl oad\image_upload_main.php on line 128



and i noticed that the Line
$linkres->store();
tags_insert_string($linkres->id, $dblang, $linkres->tags);

in submit_step_3.tpl is no longer there. Maybe thats the problem?!?

it would be great if someone can help me...
I just posted to another thread the solution to the second issue of the 3rd submit page. Short version is that you need to go to /submit.php's do_submit3 function and add it there.

Now, the first problem, that fatal error, vexed me with the file upload module, but I tracked it down, and I presume the issue is similar in the image uploader.

In file_upload_preview_handler (which looks like it was mostly made for the image upload anyhow), any references to $smarty should be $main_smarty.
Reply With Quote