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.

URL in message

edited May 2010 in Vanilla 2.0 - 2.8
When I enter a URL in a message, the browser gives a lot of errormessages

When I try to open the thread, something "funky" happens.

What now?


  • Options
    Add the following to config/config.php
    $Configuration['Garden']['Errors']['MasterView'] = 'deverror.master.php';
    And let us know what errors you get.
  • Options
    Wow, your going to have to provide more details than that. What error messages are you getting? When did you download vanilla 2?

    What does "something "funky" happens" mean?
  • Options
    lucluc ✭✭
    @garymardell: that's the "Bonk" message subtitle IIRC.
  • Options
    @luc Oh right, my bad, i always have the deverror view on.
  • Options
    It doesn't show any errors. All I can tell is that I see the original post double. The reply does not show. When I try to open the thread I get the "funky" Bonk message.

    The line I added to config.php should show the error messages in the Bonk message page, right?
  • Options
    Yes, it replaces the Bonk page with an error view.
  • Options
    Fixed the problem, file was not writable. Adjusted rights and everything works perfect now.

    Was afraid I had to start looking for another forum because I liked Vanilla's layout and plugins.

    Thanks for thinking with me on this one.
  • Options
    edited January 2011
    Undefined offset: 3

    The error occurred on or near: /var/www/

    102: $Count = count($this->_Result);

    103: for($Index = 0; $Index < $Count; $Index++) {

    104: switch($DatasetType) {

    105: case DATASET_TYPE_ARRAY:

    106: $this->_Result[$Index] = (array)$this->_Result[$Index];

    107: break;

    108: case DATASET_TYPE_OBJECT:

    109: $this->_Result[$Index] = (object)$this->_Result[$Index];

    110: break;


    [/var/www/] PHP::Gdn_ErrorHandler();

    [/var/www/] Gdn_DataSet->DatasetType();

    [/var/www/] Gdn_DataSet->Result();

    [/var/www/] Gdn_DataSet->ResultArray();

    [/var/www/] Gdn_Smarty->Render();

    [/var/www/] Gdn_Controller->RenderMaster();

    [/var/www/] Gdn_Controller->xRender();

    [/var/www/] Gdn_Pluggable->__call();

    [/var/www/] DiscussionsController->Render();

    [/var/www/] DiscussionsController->Index();

    [/var/www/] PHP::call_user_func_array();

    [/var/www/] Gdn_Dispatcher->Dispatch();

    Variables in local scope:

    [this] array (
    'Connection' =>
    array (

    [DatasetType] 'array'

    [Count] 10

    [Index] 3

    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.16
    * PHP Version: 5.2.10
    * Operating System: Linux
    * Server Software: Apache/2.2.3 (CentOS)
    * User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20101203 Firefox/3.6.13
    * Request Uri:
    * Controller: Gdn_DataSet
    * Method: DatasetType
Sign In or Register to comment.