directory permissions error on install

Sway

Active member
I have a VPS set up for my new xenforo install location but i seem to be running into problems every time i got to do something, the install was fine after migration until i clicked on the forum tab, and said /forum/ does not exist. I am running a fresh install on my VPS, and manually rebuilding my forum but i keep running into things like this.

Code:
The following errors occurred while verifying that your server can run XenForo:
 
The directory /var/www/data must be writable. Please change the permissions on this directory to be world writable (chmod 0777). If the directory does not exist, please create it.
The directory /var/www/internal_data must be writable. Please change the permissions on this directory to be world writable (chmod 0777). If the directory does not exist, please create it.
Please correct these errors and try again.

OS Ubuntu 12.04
using the command to chmod gives me an error: /var/www/html/internal_data: No such file or directory

Any help would be greatly appreciated. I'm new to Ubuntu.

Edit: Removal of those two directories, and re upload + chmod 0777 /var/www/internal_data, and chmod 0777 /var/www/data fixed it. :)
 
Top Bottom