Please upgrade here. These earlier versions are no longer being updated and have security issues.

Error while Login/Registration with FacebookConnect

edited January 2011 in Vanilla 2.0 - 2.8
Hy!

i get an error while i tried to login/registration via facebookconnect.
first i got an bonk-error, after i changed the setting in the config.php i got this error:

Fatal Error in Smarty.trigger_error(); Smarty error: unable to write to $compile_dir '/www/htdocs/w00c07b5/forum/cache/Smarty/compile'. Be sure $compile_dir is writable by the web server user. The error occurred on or near: /www/htdocs/w00c07b5/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php 1109: * @param integer $error_type1110: */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: [/www/htdocs/w00c07b5/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1113] PHP::Gdn_ErrorHandler();[/www/htdocs/w00c07b5/forum/library/vendors/Smarty-2.6.25/libs/internals/core.write_compiled_resource.php:23] Smarty->trigger_error();[/www/htdocs/w00c07b5/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1451] PHP::smarty_core_write_compiled_resource();[/www/htdocs/w00c07b5/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1274] Smarty->_compile_resource();[/www/htdocs/w00c07b5/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1126] Smarty->fetch();[/www/htdocs/w00c07b5/forum/library/core/class.smarty.php:81] Smarty->display();[/www/htdocs/w00c07b5/forum/library/core/class.controller.php:1433] Gdn_Smarty->Render();[/www/htdocs/w00c07b5/forum/library/core/class.controller.php:1015] Gdn_Controller->RenderMaster();[/www/htdocs/w00c07b5/forum/library/core/class.pluggable.php:188] Gdn_Controller->xRender();[/www/htdocs/w00c07b5/forum/library/core/class.pluggable.php:188] Gdn_Pluggable->__call();[/www/htdocs/w00c07b5/forum/applications/dashboard/controllers/class.entrycontroller.php:430] EntryController->Render();[/www/htdocs/w00c07b5/forum/library/core/class.dispatcher.php:299] EntryController->Connect();[/www/htdocs/w00c07b5/forum/index.php:38] Gdn_Dispatcher->Dispatch(); Variables in local scope: [error_msg] 'unable to write to $compile_dir \'/www/htdocs/w00c07b5/forum/cache/Smarty/compile\'. Be sure $compile_dir is writable by the web server user.'[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.17.6 PHP Version: 5.2.12-nmm2 Operating System: Linux Server Software: Apache User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C) Request Uri: /entry/connect/facebook?Target=%2F&display=popup&code=2.U0nMGaH19_iinqkBMLZZYQ__.3600.1296237600-100001972009406%7C73SsAgJ_DZZGSkgigLMV5UP-uXU Controller: Smarty Method: trigger_error

any help?? :(

Comments

  • i solved the problem myself

    the subdirs/files from cache-dir where not writeable ^^
  • peregrineperegrine MVP
    edited May 2012

    this is your tip - the trick is to read the error message.

    the $compile_dir '/home1/globalt2/public_html/bestschools/forum/cache/Smarty/compile' does not exist, or is not a directory.

    compile' does not exist, or is not a directory

    create it and give it 777 permissions.

    home1/globalt2/public_html/bestschools/forum/cache/Smarty/compile
    

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

Sign In or Register to comment.