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.

All Discussion Pages Are Blank

rokinscomrokinscom New
edited August 2014 in Vanilla 2.0 - 2.8

Upon clicking any discussion link the website returns a blank white page. I am totally new to this so I have no idea how to go about fixing this, if there is any tips you guys could give me that'd be great.

I could have just skipped something and mucked it all up, please give me a hand. :stuck_out_tongue_closed_eyes:

Comments

  • we need to know everything you did and how and what version you installed and how you installed it. The more info the better

    Add this to your config.php file to see what the error is

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

  • peregrineperegrine MVP
    edited August 2014

    if you upgraded to 2.1 or 2.1.1

    see the instructions and troubleshooting here

    http://vanillaforums.org/discussion/26685/vanilla-2-1-stable-released

    if you use vanilla 2.1 or higher add this to your /conf/config.php file.

    $Configuration['Debug'] = TRUE;

    if it wasn't a result of an upgrade see this:

    http://vanillaforums.org/discussion/comment/199091/#Comment_199091

    if you upgraded to 2.1 without disabling your plugins, that could be the problem.

    also make sure your .htaccess is correct

    https://github.com/vanilla/vanilla/blob/master/.htaccess#L8

    read line 7 in the above link and change line 8 accordingly.

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

  • rokinscomrokinscom New
    edited August 2014

    @vrijvlinder said:
    we need to know everything you did and how and what version you installed and how you installed it. The more info the better

    Add this to your config.php file to see what the error is

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

    What I did:
    I (as far as I know) installed VanillaForums with a default install.

    How I did it:
    I downloaded the .zip file from this website version 2.1.1

    Config Addition:
    Added but didn't affect anything as far as I can see.

    Sorry for long response time, school is starting back up. ;/

  • rokinscomrokinscom New
    edited August 2014

    @peregrine said:
    if you upgraded to 2.1 or 2.1.1

    see the instructions and troubleshooting here

    http://vanillaforums.org/discussion/26685/vanilla-2-1-stable-released

    if you use vanilla 2.1 or higher add this to your /conf/config.php file.

    $Configuration['Debug'] = TRUE;

    if it wasn't a result of an upgrade see this:

    http://vanillaforums.org/discussion/comment/199091/#Comment_199091

    if you upgraded to 2.1 without disabling your plugins, that could be the problem.

    also make sure your .htaccess is correct

    https://github.com/vanilla/vanilla/blob/master/.htaccess#L8

    read line 7 in the above link and change line 8 accordingly.

    "Fatal error: Call to undefined function mb_detect_encoding() in /home/antraxm1/public_html/forums/library/vendors/simplehtmldom/simple_html_dom.php on line 988"

    Was the error that was returned as I edited the config file.

    Line 988

            $charset = mb_detect_encoding($this->root->plaintext . "ascii", $encoding_list = array( "UTF-8", "CP1252" ) );
    

    Once again
    I am sorry for long response time, school is starting back up.

  • Did a little research, Updating PHP right now.

  • @rokinscom said:
    Did a little research, Updating PHP right now.

    Disregard that, host prohibits users from changing theirselfs

  • peregrineperegrine MVP
    edited August 2014

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

  • peregrineperegrine MVP
    edited August 2014

    Best solution - ask host to re-compile php with --enable-mbstring

    if host refuses and you have no other work around....

    Although core changes are not recommended, You might comment out line 988 if you are using UTF-8 thats what it sets it to - if it can't figure it out.

    not sure if there are other multibyte functions in vanilla though, so it's possible its just the tip of the iceberg.

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

  • mbstring is so common though, when your host is missing it, it's a good indicator you should switch. It will probably only be a matter of time until you stumble upon something different that's missing.

  • i FEKD UP

  • edited December 2014

    For other server newbies: Recompile PHP with EasyApache in cPanel WHM on Centos 6 via their interface not shell.

    QUOTE
    If you have cPanel hosting you can use Easy Apache to do this through shell. These are the steps.

    Type the Easy Apache PathType the path for Easy Apache
    root@vps#### [~]# /scripts/easyapache
    1.) Do not say yes to the "cPanel update available".
    2.) Continue through the screens with defaults till you get to the "Exhaustive options list".
    3.) Page down till you see the Mbstring extension listed and select it.
    4.) Continue through the Steps and Save the Apache PHP build.
    Apache and PHP will now rebuild to include the mbstring extension.
    Wait for the process to finish ~10 to 30 minutes.
    Once the process is finished you should see the Mbstring extension in the phpinfo now.

    UNQUOTE - From:
    http://stackoverflow.com/questions/10278561/how-to-install-php-mbstring-on-centos-6-2

Sign In or Register to comment.