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.

[Solved] Fatal error: Class 'Gdn' not found*

2»

Comments

  • peregrineperegrine MVP
    edited June 2014

    you said you got this error.

    "You are missing Vanilla's .htaccess file. Sometimes this file isn't copied if you are using ftp to upload your files because this file is hidden. Make sure you've copied the .htaccess file before continuing."

    if vanilla is in htdocs.

    put this in .htaccess

    # Original
    # If you modify this file then change the above line to: # Modified
    <IfModule mod_rewrite.c>
       RewriteEngine On
       # Certain hosts may require the following line.
       # If vanilla is in a subfolder then you need to specify it after the /. 
       # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
    </IfModule>
    

    if vanilla is in htdocs/Vanilla

    put this in .htaccess

    # Original
    # If you modify this file then change the above line to: # Modified
    <IfModule mod_rewrite.c>
       RewriteEngine On
       # Certain hosts may require the following line.
       # If vanilla is in a subfolder then you need to specify it after the /. 
       # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
       RewriteBase /Vanilla
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
    </IfModule>
    

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

  • @tvetberg said:
    I already changed from 0 to 1

    Next time post that in your opening post. We're not psychic, although some of us are rooting for a crystal ball

    There was an error rendering this rich post.

  • @UnderDog said:

    Hmm I was trying to edit my first post but didn't get the thingie in the up right corner

  • peregrineperegrine MVP
    edited June 2014

    @tvetberg said:
    Hmm I was trying to edit my first post but didn't get the thingie in the up right corner

    I mentioned .htaccess might be messed up 5 hours ago. glad you solved it. but didn't think to ask for you to post it, and then you would have known right off the bat, it wasn't there.

    http://vanillaforums.org/discussion/comment/210973/#Comment_210973

    @UnderDog

    @tvetberg said: I already changed from 0 to 1

    Next time post that in your opening post. We're not psychic, although some of us are rooting for a crystal ball

    he did that as a result of my comment and said he changed it prior to your comment :)

    http://vanillaforums.org/discussion/comment/210976/#Comment_210976

    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.