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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Return to the default flat view Create a new topic Submit Reply
Simplesamlphp plugin for fudforum [message #186464] Mon, 11 August 2014 16:30 Go to previous message
demaglio is currently offline  demaglio   Italy
Messages: 7
Registered: August 2014
Karma:
Junior Member
add to buddy list
ignore all messages by this user
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 14: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: Tue Oct 17 03:52:03 EDT 2017

Total time taken to generate the page: 0.00595 seconds