Fork me on GitHub
Current releases are 2.1.5 (31 Oct 2014) and 2.0.18.13 (5 Aug 2014)

Ready for 2.1? Find out if your plugins are compatible. 2.0 will no longer be updated after Dec 2014.

BONK on FACEBOOK LOGIN

edited February 2012 in Vanilla 2.0 Help

hi i have a question, my site is www.txtmyt.com if im using facebook to login, i got a bonk but after that the user is logged in. please help :|

Tagged:

Best Answers

  • sahotataransahotataran Developer, Bay Area - CA ✭✭✭
    Answer ✓

    turn on the debugger please and post the whole error you get or post image to that error

    Theme Charcha for great desktop and mobile experience! - drop me a message :)

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator
    Answer ✓

    Somewhat baffled that my original post seems to have gone walkabout.

    I don't think there's anything wrong with it...

    I'll try again. (Could someone let me know if they take it down?)

    First thing is to get past the 'Bonk' message.

    You need to access the Vanilla/conf folder on your webserver, and

    if you are using vanilla >= 2.0.18 Put

    $Configuration['Garden']['Debug'] = TRUE; `
    

    and if its < 2.0.18 put

    `$Configuration['Garden']['Errors']['MasterView'] = 'deverror.master.php';`
    

    in your config.php file.

    This will give you a detailed error message, rather than the 'Bonk' one. Once you have that, either it will help you see what to do, or else you can post another question, asking specifically about the error.

    tbh even though I'm on 2.0.18 I found the 2nd option worked for me.

Answers

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator
    edited February 2012
  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator
    edited February 2012

    Sorry for the multiple posts!

  • hi here's the error:

    Smarty error: the $compile_dir '/home/txtmyt/public_html/cache/Smarty/compile' does not exist, or is not a directory. The error occurred on or near: /home/txtmyt/public_html/library/vendors/Smarty-2.6.25/libs/Smarty.class.php 1109: * @param integer $error_type 1110: */ 1111: function trigger_error($error_msg, $error_type = E_USER_WARNING) 1112: { 1113: trigger_error("Smarty error: $error_msg", $error_type); 1114: } 1115: 1116: 1117: /** Backtrace: [/home/txtmyt/public_html/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1113] PHP::Gdn_ErrorHandler(); [/home/txtmyt/public_html/library/vendors/Smarty-2.6.25/libs/internals/core.write_compiled_resource.php:20] Smarty->trigger_error(); [/home/txtmyt/public_html/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1451] PHP::smarty_core_write_compiled_resource(); [/home/txtmyt/public_html/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1274] Smarty->_compile_resource(); [/home/txtmyt/public_html/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1126] Smarty->fetch(); [/home/txtmyt/public_html/library/core/class.smarty.php:81] Smarty->display(); [/home/txtmyt/public_html/library/core/class.controller.php:1566] Gdn_Smarty->Render(); [/home/txtmyt/public_html/library/core/class.controller.php:1141] Gdn_Controller->RenderMaster(); [/home/txtmyt/public_html/library/core/class.pluggable.php:193] Gdn_Controller->xRender(); [/home/txtmyt/public_html/applications/dashboard/controllers/class.entrycontroller.php:538] Gdn_Pluggable->__call(); [/home/txtmyt/public_html/applications/dashboard/controllers/class.entrycontroller.php:538] EntryController->Render(); [/home/txtmyt/public_html/library/core/class.dispatcher.php:322] EntryController->Connect(); [/home/txtmyt/public_html/index.php:124] Gdn_Dispatcher->Dispatch(); Variables in local scope: [error_msg] 'the $compile_dir \'/home/txtmyt/public_html/cache/Smarty/compile\' does not exist, or is not a directory.' [error_type] 256

  • edited February 2012

    ok here's what i've done so far, i've recreated: /home/txtmyt/public_html/cache/Smarty/compile\

    and have dir writable for 775

    another problem occurred, when im going to login using facebook, it takes time to load ..... please help..

  • sahotataransahotataran Developer, Bay Area - CA ✭✭✭

    so sign in with facebook twitter or what ever u have it works right?

    about taking time i am not sure!

    Theme Charcha for great desktop and mobile experience! - drop me a message :)

  • so sign in with facebook twitter or what ever u have it works right? --> yep i got it working thanks to the debugging mode i ddnt know it's possible to see the errors. lessons learned :) now my only problem is having the forums work faster

Sign In or Register to comment.