FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Fud API Error
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Fud API Error [message #159850 is a reply to message #159820] Sun, 28 June 2009 20:15 Go to previous messageGo to previous message
sid.gbf is currently offline  sid.gbf   Brazil
Messages: 13
Registered: June 2009
Karma:
Junior Member
Sorry for later... got really frustrated (sorry the typos) cause it isn't working.
Anyway, restarted trying with a better documented code:
public function postInsert($event) {
 error_reporting(E_ALL);
 var_dump('INCLUDING GLOBALS');
 require_once sfConfig::get('app_fudforum_lib_path').'/scripts/GLOBALS.php';
 var_dump('INCLUDING API');
 require_once sfConfig::get('app_fudforum_lib_path').'/scripts/fudapi.inc.php';
 var_dump('CREATING USER');
 var_dump($this->getUsername());
 var_dump($this->getPassword());
 fud_add_user(array('login' => $this->getUsername(), 'passwd' => $this->getPassword(), 'email' => 'atualizar', 'name' => $this->getUsername()), array());    
 var_dump('DONE!!!');
}


reinstalling now...

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: nntp charset problems
Next Topic: After login, front page links don't work
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 23:24:24 GMT 2024

Total time taken to generate the page: 0.04736 seconds