HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[ISSUE] Facebook logins/logouts

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#70853 (In Topic #14964)
Avatar

Community saint

Using the Facebook addon package from V6, everything appears to go as expected until you actually login. The popup disappears but the initial login screen is presented once again, this time without the Facebook icon. Going back the main landing page, ocPortal indicates that you are already logged in and your username from Facebook is present in the personal stats. So, everything appears to work AOK except for being re-presented with the login screen after you have already logged in via Facebook. Additionally, logouts still appear to be non functional.

Can anyone else confirm? OCP V7.1

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#70869
Avatar

Community saint

Now I see why I am so cautious. This is one of the add-ons I plan to install prior to launch which should occur shortly.

Bob
Back to the top
 
Posted
Rating:
#70967
Avatar

Community saint

While trying to recreate a problem reported by friendly, the error was generated after entering the username to reset password:
Critical error - bailing out
 
This is an error that has been elevated to critical error status because it occured during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occured before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
 
PHP ERROR [1] Class 'ocp_tempcode' not found in /home/fom/public_html/sources_custom/facebook_connect.php on line 13 (version: 7.1, PHP version: 5.2.13, URL: /data/username_exists.php?username=test&keep_session=1504684
22)

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#70983
Avatar

Probably all fixed in v7 of the addon, just reinstall on top of what you had before. Definitely last issue has a fix for it.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#70995
Avatar

Community saint

Righto, I'll wait for it to be posted. I've un-installed the v6 version for the time being.

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#70997
Avatar

It is posted isn't it?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#70999
Avatar

Community saint

Nothing I can see Chris, just the v6 version and no category for 3rd party integration in the v7 collection of addons.

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#71001
Avatar

Whoops. Permissions fixed.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#71003
Avatar

Community saint

There now...minus the Facebook addon ;)

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#71005
Avatar

Odd. Attached the addon here, will investigate why it didn't auto-upload later on.

Attachment


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#71007
Avatar

Community saint

Thanks Chris.

*chuckle*, now I seem to have a problem. Installation went fine, however, upon login with my Facebook account (SoccerDad), it logged me in with my admin account instead (FreeOurMoney). The only thing I can think of is it's because the passwords are the same? Figured I'd better change that but now I no longer have the ability to change my password, option is not present when logged in as either FreeOurMoney or admin. Is there a permission  setting somewhere that I need to change or can I just empty the password field in the database? A table in the database I can clear to effectively reset? Tried resetting via login screen but encountered:
This username is tied into an external architecture, and the password cannot be changed.
Didn't anticipate this or would have used test account as I cannot delete this one as all my posting has been done under this account.

On the upside: other than above, all other issues look solved, login, logout and reset screen.

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#71011
Avatar

Yes, this is a new feature, although I thought the reset password feature worked.

I don't think this is a big problem (your account is tied to Facebook, but that's kind of a feature).

But ocPortal.com - ocPortal Tutorial: Disaster recovery shows how to manually reset passwords.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#71012
Avatar

Community saint

Thanks Chris. The only way I could get things back again, and get logged back in again, was to remove "facebook" from m_password_compat_scheme and then remove the addon altogether. Even that took 5 attempts to get a successful login including flushing cookies and ocp cache.

I'm going to try again for sure. My concern is that there should have been no connection at all between the Facebook account I logged in with (mine: SoccerDad/Todd Rittinger) and the FreeOurMoney account. When I was working with the v6 version, it picked up the correct information and created a Todd Rittinger account as expected.

I've now changed my password on the FreeOurMoney site and will re-install the addon and go from there.

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#71015
Avatar

Community saint

Oh I done broke it now :'(  :thumbs:  !

I've reinstalled the addon but had absolutely no luck getting it to do anything this time. Unfortunately, now no account can log in and I can't uninstall the addon. Interesting to note: if I check the box, scroll to the bottom and select proceed, everything looks like it's uninstalling fine, however, upon redirect to addon screen, it's still showing as installed. If I use the little red x, upon clicking proceed, I get the following:
Cannot add sources_custom/blocks/main_facebook_friends.php to the archive twice. Archives need to be completely rebuilt to replace a file.

Expand: stack trace stack trace


"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#71017
Avatar

I'll take a look through all this tomorrow.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#71020
Avatar

Community saint

Thanks kindly!

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#71067
Avatar

This should allow the passwords to be reset, and fix what I think is the cause of the tar error you saw.
Attachment
sources/addons.php
» Download: addons.php (28 Kb, 216 downloads so far)

Attachment
pages/modules/lostpassword.php
» Download: lostpassword.php (8 Kb, 197 downloads so far)

I have also added the missing addon (actually a few addons) and that won't happen again as I found why they didn't auto-install.

I don't know about your issue about now not anyone being able to log in however, I would need more details. If it is still an issue, you can leave the site broken during UK office hours and ask me to take a look directly.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#71082
Avatar

Community saint

Hey Chris! Hokee, added the patched files as above and that allowed me to seemingly remove the addon, thanks. The list said uninstalled, however, the Facebook icon was still present on the login screen and no accounts could login except the admin account. Heading back to the addon screen, the FB addon is now present so I selected for install. Everything went smooth, however, still no login for any account other than admin. Interestingly enough, the stats showed me logged in. Went back to the addon page and uninstalled again and voila! all I had to do was refresh the screen I was sitting on (forum home) and I was logged in and good to go. Next test, reinstall addon. Again, all smooth, refreshed the page and I was presented with the login box and yet shown as logged in. Removed addon again, refreshed and logged in. Odd.

To save you some time, I think I'll follow Fletch's lead and create a little video walking through the steps.


"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#71091
Avatar

Community saint

I was planning to install the Facebook add-on but I think I'll wait a bit.

I definitely want it for launch of the site but I got an email today saying that I will soon be receiving a "good-sized box" of new material from the artist's effects so I will wait to go through that first. Mike usually downplays everything so the fact that he stirred the pot a bit has me salivating.

Bob
Back to the top
 
Posted
Rating:
#73008
Avatar

Community saint

Is anyone using the Facebook add-on successfully. I will be launching in the next week or two and would like to allow users to use their Facebook account to log in but I don't want a bunch of headaches at launch.

Any info would be greatly appreciated.

Bob
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Expand