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

Home » FUDforum Development » Plugins and Code Hacks » Simplesamlphp plugin for fudforum
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Simplesamlphp plugin for fudforum [message #186464] Mon, 11 August 2014 20:30 Go to previous message
demaglio is currently offline  demaglio   Italy
Messages: 7
Registered: August 2014
Karma:
Junior Member
Hi,
I write a plugin for login in fudforum by simplesamlphp.

In my code I have:

....
$user_id=external_get_user_by_auth($emailsimple,$password);
$ses_id = external_fud_login($user_id);

as I read in a link. (Sorry if I don't write the link, but I cannot post the link)

and can't work.
In apache log I have the error:
[Mon Aug 11 02:14:36 2014] [error] [client IP] PHP Fatal error: Cannot redeclare db_close() (previously declared in /var/www/html/fudforum/index.php:29) in /var/www/FUDforum/include/theme/default/db.inc on line 18, referer: (address of my fudforum install)

How can I fix this problem? I install as fudforum:

FUDforum_3.0.5

Regards

Antonio

[Updated on: Tue, 19 August 2014 18:26]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug & fix - undefined variable DBHOST in Undefined variable
Next Topic: Paypal Donate Plugin
Goto Forum:
  

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

Current Time: Thu Dec 26 13:49:42 GMT 2024

Total time taken to generate the page: 0.08641 seconds