Hi guys I'm trying to integrate simple machines forum into my custom made membership website.
I'm using the SMF API which is available here at http://download.simplemachines.org/?tools.
The thing is that its working on my localhost testing server - however on my online server where the system is hosted - its not working.
I have set it up so that when the user log into my own custom CMS membership site, he/she is logged in automatically to his/her corresponding account on the forum. However it works on my localhost but online its not working at all.. I log into my site and then browse to the forum to find out I havent been logged in there :( - I think its not creating the cookies or registering the session.. where should I look here. Please do help.
EDIT ================
I think I've traced the problem - for some reason the forum is maintaining a different session than the session started on my website. This is strange as the forum is only in a subfolder on the same site. WHat should I check for here?
The site is working locally but not online means most likely that there is some settings difference between the two, certain things might be disabled on the server:
short tags
? Are they also enabled on the online server?session_start()
on top of your script?session_save_path
which gets/sets the current session save pathphpinfo()