Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Facebook Connect Issues on Bluehost

I installed the most recent stable version of Vanilla through simplescripts on bluehost... I enabled the Facebook connect plugin and created a new app with the settings all set properly... And it goes Bonk! No error code.

Do I need to downgrade to version 2.014a to get it to work or something? Don't worry about the secret showing. That will be reset.

Comments

  • Options

    You can test for yourself here... Just click the Facebook icon. It will log you in to facebook properly and authorize... Then it will go BONK when it tries to forward you back...

    http://www.yagergames.com/gooberland/

  • Options
    peregrineperegrine MVP
    edited December 2012

    probably not -

    And it goes Bonk! No error code.

    have you considered reading the documentation on Bonk? and then proceeding further based on your error code.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
  • Options

    Where is the documentation on Bonk? Whats strange is the URL on top appears proper...

  • Options
    peregrineperegrine MVP
    edited December 2012

    Where is the documentation on Bonk?

    a good start would be to click on the documentation link at the top of this page.

    How much are you paying for me to read the documentation page and look for the word Bonk?

    otoh - you could use the searchbox on the forum - but since its in the documentation - you would need to decide whether you want to search the forum for bonk or read the documentation on bonk or read the wiki on bonk.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    Ok, here is the error code...

    `Smarty error: the $compile_dir '/home2/designk3/public_html/yagergames/gooberland/cache/Smarty/compile' does not exist, or is not a directory.
    The error occurred on or near: /home2/designk3/public_html/yagergames/gooberland/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:

    [/home2/designk3/public_html/yagergames/gooberland/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1113] PHP::Gdn_ErrorHandler();

    [/home2/designk3/public_html/yagergames/gooberland/library/vendors/Smarty-2.6.25/libs/internals/core.write_compiled_resource.php:20] Smarty->trigger_error();

    [/home2/designk3/public_html/yagergames/gooberland/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1451] PHP::smarty_core_write_compiled_resource();

    [/home2/designk3/public_html/yagergames/gooberland/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1274] Smarty->_compile_resource();

    [/home2/designk3/public_html/yagergames/gooberland/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1126] Smarty->fetch();

    [/home2/designk3/public_html/yagergames/gooberland/library/core/class.smarty.php:81] Smarty->display();

    [/home2/designk3/public_html/yagergames/gooberland/library/core/class.controller.php:1566] Gdn_Smarty->Render();

    [/home2/designk3/public_html/yagergames/gooberland/library/core/class.controller.php:1141] Gdn_Controller->RenderMaster();

    [/home2/designk3/public_html/yagergames/gooberland/library/core/class.pluggable.php:193] Gdn_Controller->xRender();

    [/home2/designk3/public_html/yagergames/gooberland/applications/dashboard/controllers/class.entrycontroller.php:538] Gdn_Pluggable->__call();

    [/home2/designk3/public_html/yagergames/gooberland/applications/dashboard/controllers/class.entrycontroller.php:538] EntryController->Render();

    [/home2/designk3/public_html/yagergames/gooberland/library/core/class.dispatcher.php:322] EntryController->Connect();

    [/home2/designk3/public_html/yagergames/gooberland/index.php:53] Gdn_Dispatcher->Dispatch();

    Variables in local scope:`

  • Options
    peregrineperegrine MVP
    edited December 2012

    your almost there, now use the search box
    and type in

    Smarty does not exist

    and your solution will magically appear.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    I was looking for the search box... I still can't find it!

  • Options
    peregrineperegrine MVP
    edited December 2012

    click on community and look on top right.

    if you are on a mobile device you may need to click on full page view.

    http://vanillaforums.org/search?Search=Smarty+does+not+exist

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited December 2012

    look into the error logs in your website and look for a message like this example from a common bonk error:

    http://vanillaforums.org/discussion/comment/169190/#Comment_169190

    The point of this is to find out the specific problem server side. Or contact your host and ask them to tell you where to find the error log. You may need to create a Smarty folder and compile folder inside it and put them In the cache folder.

    In any case your error may be this:

    Fatal Error in Smarty.trigger_error();
    
    Smarty error: the $compile_dir '/home2/designk3/public_html/yagergames/gooberland/cache/Smarty/compile' does not exist, or is not a directory.
    The error occurred on or near: /home2/designk3/public_html/yagergames/gooberland/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:
    [/home2/designk3/public_html/yagergames/gooberland/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1113] PHP::Gdn_ErrorHandler();
    [/home2/designk3/public_html/yagergames/gooberland/library/vendors/Smarty-2.6.25/libs/internals/core.write_compiled_resource.php:20] Smarty->trigger_error();
    [/home2/designk3/public_html/yagergames/gooberland/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1451] PHP::smarty_core_write_compiled_resource();
    [/home2/designk3/public_html/yagergames/gooberland/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1274] Smarty->_compile_resource();
    [/home2/designk3/public_html/yagergames/gooberland/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1126] Smarty->fetch();
    [/home2/designk3/public_html/yagergames/gooberland/library/core/class.smarty.php:81] Smarty->display();
    [/home2/designk3/public_html/yagergames/gooberland/library/core/class.controller.php:1566] Gdn_Smarty->Render();
    [/home2/designk3/public_html/yagergames/gooberland/library/core/class.controller.php:1141] Gdn_Controller->RenderMaster();
    [/home2/designk3/public_html/yagergames/gooberland/library/core/class.pluggable.php:195] Gdn_Controller->xRender();
    [/home2/designk3/public_html/yagergames/gooberland/applications/dashboard/controllers/class.entrycontroller.php:300] Gdn_Pluggable->__call();
    [/home2/designk3/public_html/yagergames/gooberland/applications/dashboard/controllers/class.entrycontroller.php:300] EntryController->Render();
    [/home2/designk3/public_html/yagergames/gooberland/library/core/class.dispatcher.php:322] EntryController->Connect();
    [/home2/designk3/public_html/yagergames/gooberland/index.php:53] Gdn_Dispatcher->Dispatch();
    Variables in local scope:
    [error_msg] 'the $compile_dir \'/home2/designk3/public_html/yagergames/gooberland/cache/Smarty/compile\' does not exist, or is not a directory.'
    [error_type] 256
    Need Help?
    If you are a user of this website, you can report this message to a website administrator.
    If you are an administrator of this website, you can get help at the Vanilla Community Forums.
    Additional information for support personnel:
    Application: Vanilla
    Application Version: 2.0.18.4
    PHP Version: 5.2.17
    Operating System: Linux
    Server Software: Apache
    User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17
    Request Uri: /gooberland/entry/connect/facebook?Target=%2F&display=popup&error_reason=user_denied&error=access_denied&error_description=The+user+denied+your+request.
    Controller: Smarty
    Method: trigger_error
    
  • Options

    I got it working. Thanks guys! Why isn't the directory cache/Smarty/compile created in the install on bluehost? Someone needs to tell simplescripts to get that fixed... 755 permissions seem to be working.

  • Options
    peregrineperegrine MVP
    edited December 2012

    congrats!

    see http://vanillaforums.org/discussion/comment/171828/#Comment_171828

    Someone needs to tell simplescripts to get that fixed

    would that someone be @reppinfreedom.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    @reppinfreedom it is greatly appreciated by the community here to get your reaction to the help provided. You can do that by hovering over below the comment and choose one of the options based on your experience. :)

  • Options

    Oops, I thought it was fixed... Still working through issues. Well... That got me to another error. The "This authorization code has been used." error...

    Which I fixed with the new version of the Facebook plugin I found here...
    http://vanillaforums.org/discussion/22154/facebook-returned-the-following-error-this-authorization-code-has-been-used

    Now, I am onto my next error... LoL

    `Could not instantiate mail function.
    The error occurred on or near: /home2/designk3/public_html/yagergames/gooberland/library/vendors/phpmailer/class.phpmailer.php

    `

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited December 2012

    Make sure the names of the folders are correct. Notice Smarty is with capital S and the compile and cache are not, that is important or it will not work. I went through this so I know these are mistakes one can make.

    About the mail error, that belongs in a new thread and it has to do with SMTP settings .
    You can access the settings through the dashboard ? possibly change some permissions ?

  • Options

    Ok, solved... You just need to set the name and email in Outgoing Email settings in the dashboard...

    Phew... Now that was some "One-Click-Install"! Fingers crossed nothing else comes up.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    don't forget to like us lol ! and mark us totally awesome and insightful !

Sign In or Register to comment.