installed error:js ,css,image files can't loaded occurs 404 not found

Re: installed error:js ,css,image files can't loaded occurs 404 not found

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers

404 = not found

moodledata/localcache should look like (example below from a CentOS server not Ubuntu so the only difference is the apache web service user.   Yours should show www-data.):

[root@sos localcache]# ls
htmlpurifier  js  mustache  requirejs  theme

Are the above directories there in yours?

[root@sos localcache]# cd theme
[root@sos theme]# ls
1536449458

Is there a directory like the above there in theme?

[root@sos theme]# cd 1536449458/

Are the following directories in the 15.... directory?

[root@sos 1536449458]# ls
boost  bootstrapbase  clean  more

Listing 153..... long ...

[root@sos 1536449458]# ll
total 16
drwxrwxrwx. 5 apache apache 4096 Sep  8 23:36 boost
drwxrwxrwx. 3 apache apache 4096 Sep  8 23:32 bootstrapbase
drwxrwxrwx. 4 apache apache 4096 Sep  9 01:21 clean
drwxrwxrwx. 3 apache apache 4096 Sep  8 23:32 more

should show a directory for all of the default themes for Moodle.

In the code directory ... your moodle/theme/  there should be a corresponding directory/code for the default themes noted with ** below + with other php scripts:

** drwxr-xr-x. 12 apache apache  4096 Sep  2 19:17 boost
** drwxr-xr-x. 12 apache apache  4096 Sep  2 19:17 bootstrapbase
** drwxr-xr-x.  7 apache apache  4096 Sep  2 19:17 clean
-rw-r--r--.  1 apache apache  8279 Sep  2 19:17 font.php
-rw-r--r--.  1 apache apache 12175 Sep  2 19:17 image.php
-rw-r--r--.  1 apache apache 10720 Sep  2 19:17 index.php
-rw-r--r--.  1 apache apache  4011 Sep  2 19:17 javascript.php
-rw-r--r--.  1 apache apache  4788 Sep  2 19:17 jquery.php
** drwxr-xr-x.  8 apache apache  4096 Sep  2 19:17 more

other php scripts are present.

Can only conclude that not all the files for moodle code were acquired.

Again ... 404 = not found.

'spirit of sharing', Ken