You get a bonus - 1 coin for daily activity. Now you have 1 coin

Fatal error: Class 'Gdn' not found in Vanilla Forums

Practice



Fatal error: Class 'Gdn' not found in ..... vanilla forums

First, enable debug mode to see the problem in more detail - add this to the config file

$Configuration['Debug'] = TRUE;


This problem might be caused by a port issue.


The forum probably only works on port 80.
If you change it to a different one, the site returns the Gdn class error.

To test this assumption, I downloaded the latest version (2.1.11) and installed it on my local machine.
It loads without any problems (at HTTP://localhost/vanilla ).

On my server, however, Apache was listening on port 81 for vanilla, because I had another site on port 80.
HTTP://localhost:81/vanilla always returned the Gdn error, until I switched to port 80.

Hope this helps.

When I moved the files from Windows, I found that all the folders had both capitalized and non-capitalized names. On Linux, I converted everything to lowercase - this could also be the cause of this problem.

As another option, you could just try clearing the cache

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Running server side scripts using PHP as an example (LAMP)"

Terms: Running server side scripts using PHP as an example (LAMP)