Codoforum related discussions
User registrations [FIXED] - mail configuration [FIXED] - unilogin [FIXED]

Hello!

I've been reading the forum for a while, fixing some issue i had thanks to the docs and forum replys!
I sorted pretty much everything by now, a part from this little bugging thing:

I installed CODOFORUM on my webspace, done the smtp configuration (with my domain email):

but everytime i try to register a new user with a working email he doesen't recive anything.

Moreover i can't seem to upgrade his status using the backend as i get the following error:

If i edit his status from mysql itself it works, but again, using the backend to change his position from let's say "user" to "admin" will give me the same error:

I tried to bypass it by using the plugin Unilogin, i created the facebook app, made it pubblic, got the ID and secrect , edited the config.php but it still doesen't seem to work as i keep getting this:

Missing provider application credentials.

I tried to reinstall hybridauth (2.2.2) manually, changing the "base_url" to the complete path, but it didn't fix it smile

Thank you very much!

Hello! I've been reading the forum for a while, fixing some issue i had thanks to the docs and forum replys! I sorted pretty much everything by now, a part from this little bugging thing: I installed CODOFORUM on my webspace, done the smtp configuration (with my domain email): http://i.imgur.com/ZvF95mY.jpg but everytime i try to register a new user with a working email he doesen't recive anything. Moreover i can't seem to upgrade his status using the backend as i get the following error: http://i.imgur.com/MGYQvoz.jpg If i edit his status from mysql itself it works, but again, using the backend to change his position from let's say "user" to "admin" will give me the same error: http://i.imgur.com/MGYQvoz.jpg I tried to bypass it by using the plugin Unilogin, i created the facebook app, made it pubblic, got the ID and secrect , edited the config.php but it still doesen't seem to work as i keep getting this: ```` Missing provider application credentials. ```` I tried to reinstall hybridauth (2.2.2) manually, changing the "base_url" to the complete path, but it didn't fix it :( Thank you very much!
edited Nov 14 '14 at 4:04 pm

New version is out, i try to upgrade, test and get back to you!

New version is out, i try to upgrade, test and get back to you!

Hello,

I upgraded to the new version (clean reinstall)

At first i couldn't conclude the install, as i kept getting the "invalid hash error", wich i bypassed editing the file install/step2.php and install/step3.php

Deleting the following lines:
step2.php

if (!isset($_SESSION['LICENSE_ACCEPTED'])) {
    exit('license not accepted');
}

step3.php

else {
    if (!isset($_SESSION['LICENSE_ACCEPTED'])) {
        exit('license not accepted');
    }
}

I still can't work out the errors i had in the original post, plus i can't seem to use the "new post" function and the "recent posts" on the users profile doesen't load anything.

When using unilogin, if i click on any banner (facebook, twitter or google) nothing happens so im not sure if the original problem i had (missing provider application credentials) is still there or not.

Thanks for the awsome work, i'll wait for a reply and meanwhile i try to figure out the "new post" problem!

Hello, I upgraded to the new version (clean reinstall) At first i couldn't conclude the install, as i kept getting the "invalid hash error", wich i bypassed editing the file install/step2.php and install/step3.php Deleting the following lines: step2.php ```` if (!isset($_SESSION['LICENSE_ACCEPTED'])) { exit('license not accepted'); } ```` step3.php ```` else { if (!isset($_SESSION['LICENSE_ACCEPTED'])) { exit('license not accepted'); } } ```` I still can't work out the errors i had in the original post, plus i can't seem to use the "new post" function and the "recent posts" on the users profile doesen't load anything. When using unilogin, if i click on any banner (facebook, twitter or google) nothing happens so im not sure if the original problem i had (missing provider application credentials) is still there or not. Thanks for the awsome work, i'll wait for a reply and meanwhile i try to figure out the "new post" problem!

Hello,

So i fixed the problem with the new users registration, it was on my side as my host briefly shutdown the smtp services.

I also fixed the problem with the users positions, i guess it was related to the newly registered users not reciving the mail (smtp problem) therefore not being able to activate their accounts.

I still get the "invalid user key" error when installing the new version, and my php version is currently php5.4

As with the problem with "new topic" and "post" (wich sometimes didn't do anything when clicked) i solved it by moving the cms in a different directory insted of root.
This also fixed the problem with "recent posts" (wich didn't show anything and kept loading) on the users profiles pages.

I still have to test Unilogin, i'll get back here when im done.

Thanks!

Hello, So i fixed the problem with the new users registration, it was on my side as my host briefly shutdown the smtp services. I also fixed the problem with the users positions, i guess it was related to the newly registered users not reciving the mail (smtp problem) therefore not being able to activate their accounts. I still get the "invalid user key" error when installing the new version, and my php version is currently php5.4 As with the problem with "new topic" and "post" (wich sometimes didn't do anything when clicked) i solved it by moving the cms in a different directory insted of root. This also fixed the problem with "recent posts" (wich didn't show anything and kept loading) on the users profiles pages. I still have to test Unilogin, i'll get back here when im done. Thanks!

I still have to test Unilogin, i'll get back here when im done.

We have discovered a bug in unilogin due to the recent change.
We will be releasing V2.5.1 in few hours which solves many bugs .

>I still have to test Unilogin, i'll get back here when im done. We have discovered a bug in unilogin due to the recent change. We will be releasing V2.5.1 in few hours which solves many bugs .

Thanks @avinash , everything seems to work right in this moment.
I moved modoforum from the subdirectory to root and i do not encounter the problem with "new post" and "post" anymore, wich is weird because i didn't edit any files.

The only issue i get is the one i solved editing the files step2.php and step3.php on the /install directory (see 4th post in this topic)

I provided you with the access on the server for further investigations, meanwhile i wait for the patched version to try out unilogin!

Thanks!

Thanks @avinash , everything seems to work right in this moment. I moved modoforum from the subdirectory to root and i do not encounter the problem with "new post" and "post" anymore, wich is weird because i didn't edit any files. The only issue i get is the one i solved editing the files step2.php and step3.php on the /install directory (see 4th post in this topic) I provided you with the access on the server for further investigations, meanwhile i wait for the patched version to try out unilogin! Thanks!

Hi @Gerry ,

On the file .htaccess the #3 line:

RewriteEngine on

Defines the urls abbreviation for example:

This:

http://example.com/codoforum/index.php?title=home_page

Becomes this:

http://example.com/codoforum/home_page

If by disabling you don't get any errors it's probably because your server (or host) does not have mod_rewirte active on Apache.

As for the "new post" "post" function i wouldn't call it a fix, but by moving modoforum from to root to a subdirectory and back to root i "fixed" it.
Im not running into this error anymore, nor with the admin user, nor with the normal/moderators users.

Same thing goes for the "recent posts".

The version 2.5.1 is out, try to upgrade (with a clean install), don't import the database you're using and test it out.

Let us know how it's going!
Thank you!

Hi @Gerry , On the file .htaccess the #3 line: ```` RewriteEngine on ```` Defines the urls abbreviation for example: This: ```` http://example.com/codoforum/index.php?title=home_page ```` Becomes this: ```` http://example.com/codoforum/home_page ```` If by disabling you don't get any errors it's probably because your server (or host) does not have mod_rewirte active on Apache. As for the "new post" "post" function i wouldn't call it a fix, but by moving modoforum from to root to a subdirectory and back to root i "fixed" it. Im not running into this error anymore, nor with the admin user, nor with the normal/moderators users. Same thing goes for the "recent posts". The version 2.5.1 is out, try to upgrade (with a clean install), don't import the database you're using and test it out. Let us know how it's going! Thank you!

In codoforum 2.5.1 there are few changes to the .htaccess file, there is also a htaccess.txt
Take a look if you have the right ones!

You can test them using this script
Post the results here!

Im not a developer of codoforum so don't take everything i say as 100% correct, but if i can help i'll try! smile

In codoforum 2.5.1 there are few changes to the .htaccess file, there is also a htaccess.txt Take a look if you have the right ones! You can test them using [this script](http://htaccess.madewithlove.be/) Post the results here! Im not a developer of codoforum so don't take everything i say as 100% correct, but if i can help i'll try! :)

I still have to test 2.5.1 in my new server so i don't know yet, on the current server tho even if 2.4.0 both of the htaccess works fine.

We'll wait Avinash for the "buttons bug"!

I still have to test 2.5.1 in my new server so i don't know yet, on the current server tho even if 2.4.0 both of the htaccess works fine. We'll wait Avinash for the "buttons bug"!

Hello,

I update to 2.5.1, unilogin still doesen't work for me, i keep getting:

Missing provider application credentials.

I did as explained on the docs:
Created an app on facebook - Got it accepted and pubblished - Got id and secret -
Edited config.php (on hybrid) with the id and secret of the app

I even tried to edit the config.php file leaving only facebook in the array providers.
Still doesen't work! smile

Hello, I update to 2.5.1, unilogin still doesen't work for me, i keep getting: ```` Missing provider application credentials. ```` I did as explained on the docs: Created an app on facebook - Got it accepted and pubblished - Got id and secret - Edited config.php (on hybrid) with the id and secret of the app I even tried to edit the config.php file leaving only facebook in the array providers. Still doesen't work! :(

Thats strange.

Can you confirm that you are editing the right file ?
May be there is another codoforum folder in your server.

Thats strange. Can you confirm that you are editing the right file ? May be there is another codoforum folder in your server.

Hey @adesh , thanks for the reply!

Yes im sure about it, i do not have another codoforum directory and i manually edit the files in local to then upload them via ftp.

Am i missing something? Maybe in the process of creating the app on facebook?
The app is authorized for:
email
public_profile
user_friends
login_permission

Thanks for your time!

Hey @adesh , thanks for the reply! Yes im sure about it, i do not have another codoforum directory and i manually edit the files in local to then upload them via ftp. Am i missing something? Maybe in the process of creating the app on facebook? The app is authorized for: email public_profile user_friends login_permission Thanks for your time!

Hello,

I got it fixed!
Here's what i did:

Instead of editing the config.php file manually i browsed directly to example.com/sys/Ext/hybridauth/install.php
I disabled all the networks i didn't want and kept only facebook
I had to modify the base url with the full path of hybrid firstly, i then edited manually the file using

.RURI "uni_login/authorize"

as in the default one.

It now works perfectly fine!

Thanks for your replys and the time you dedicated to me!

Hello, I got it fixed! Here's what i did: Instead of editing the config.php file manually i browsed directly to example.com/sys/Ext/hybridauth/install.php I disabled all the networks i didn't want and kept only facebook I had to modify the base url with the full path of hybrid firstly, i then edited manually the file using ```` .RURI "uni_login/authorize" ```` as in the default one. It now works perfectly fine! Thanks for your replys and the time you dedicated to me!

@v1r5 I'm having the same problem as you do.

the default base url is "..../sys/Ext/hybridauth/" what did you change to ?

@v1r5 I'm having the same problem as you do. the default base url is "..../sys/Ext/hybridauth/" what did you change to ?

Hello @Seanlionel

This is my config.php file:

return 
    array(
        "base_url" => RURI . "uni_login/authorize", 

        "providers" => array ( 
            // openid providers
            "OpenID" => array (
                "enabled" => false
            ),

            "AOL"  => array ( 
                "enabled" => false 
            ),

            "Yahoo" => array ( 
                "enabled" => false,
                "keys"    => array ( "id" => "", "secret" => "" )
            ),

            "Google" => array ( 
                "enabled" => false,
                "keys"    => array ( "id" => "", "secret" => "" )
            ),

            "Facebook" => array ( 
                "enabled" => true,
                "keys"    => array ( "id" => "99id99", "secret" => "99secret99" )
            ),

            "Twitter" => array ( 
                "enabled" => false,
                "keys"    => array ( "key" => "", "secret" => "" ) 
            ),

            // windows live
            "Live" => array ( 
                "enabled" => false,
                "keys"    => array ( "id" => "", "secret" => "" ) 
            ),

            "MySpace" => array ( 
                "enabled" => false,
                "keys"    => array ( "key" => "", "secret" => "" ) 
            ),

            "LinkedIn" => array ( 
                "enabled" => false,
                "keys"    => array ( "key" => "", "secret" => "" ) 
            ),

            "Foursquare" => array (
                "enabled" => false,
                "keys"    => array ( "id" => "", "secret" => "" ) 
            ),
        ),

        // if you want to enable logging, set 'debug_mode' to true  then provide a writable file by the web server on "debug_file"
        "debug_mode" => false,

        "debug_file" => ""
    );

As for the APP, if you don't have codoforum installed in root you need to change the site URL in facebook app to the codoforum path (example.com/codoforum/)

If you're still having problem configuring it manually, restore the original files of hybrid and navigate to:
www.yourdomain.com/sys/Ext/hybrid/install.php
It will run the web configurator for Hybrid, with a form for every provider.

If you still can't solve it, contact via mail at bacchiega.alberto@gmail.com

Hello @Seanlionel This is my config.php file: ```` return array( "base_url" => RURI . "uni_login/authorize", "providers" => array ( // openid providers "OpenID" => array ( "enabled" => false ), "AOL" => array ( "enabled" => false ), "Yahoo" => array ( "enabled" => false, "keys" => array ( "id" => "", "secret" => "" ) ), "Google" => array ( "enabled" => false, "keys" => array ( "id" => "", "secret" => "" ) ), "Facebook" => array ( "enabled" => true, "keys" => array ( "id" => "99id99", "secret" => "99secret99" ) ), "Twitter" => array ( "enabled" => false, "keys" => array ( "key" => "", "secret" => "" ) ), // windows live "Live" => array ( "enabled" => false, "keys" => array ( "id" => "", "secret" => "" ) ), "MySpace" => array ( "enabled" => false, "keys" => array ( "key" => "", "secret" => "" ) ), "LinkedIn" => array ( "enabled" => false, "keys" => array ( "key" => "", "secret" => "" ) ), "Foursquare" => array ( "enabled" => false, "keys" => array ( "id" => "", "secret" => "" ) ), ), // if you want to enable logging, set 'debug_mode' to true then provide a writable file by the web server on "debug_file" "debug_mode" => false, "debug_file" => "" ); ```` As for the APP, if you don't have codoforum installed in root you need to change the site URL in facebook app to the codoforum path (example.com/codoforum/) If you're still having problem configuring it manually, restore the original files of hybrid and navigate to: www.yourdomain.com/sys/Ext/hybrid/install.php It will run the web configurator for Hybrid, with a form for every provider. If you still can't solve it, contact via mail at bacchiega.alberto@gmail.com
edited Nov 15 '14 at 1:13 am

@v1r5 Thanks buddy for the help via email. smile you're a star
5466b96b2c673.png

@v1r5 Thanks buddy for the help via email. :) you're a star ![5466b96b2c673.png](serve/attachment&path=5466b96b2c673.png)
972
16
4
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft