Error failed to load resource when creating a child theme in Wordpress

0

I am creating a child theme of a Wordpress theme and the web that is displayed when the child is activated does not have all the elements of the parent theme.

I indicate below the incidents and steps that I have made:

1 - With the Chrome Inspector I have been reviewing the web code that is generated with this Child Theme and the following errors are shown (when I have the parent theme activated, these are not given errors):

/home/seedmusi/public_html/wp-content/themes/MusicTheme-
child/css/bootstrap.min.css?ver=4.9.4 Failed to load resource: the server 
responded with a status of 404 (Not Found)

/home/seedmusi/public_html/wp-content/themes/MusicTheme-child/theme-
style.css?ver=4.9.4 Failed to load resource: the server responded with a 
status of 404 (Not Found)

/home/seedmusi/public_html/wp-content/themes/MusicTheme-
child/css/component.css?ver=4.9.4 Failed to load resource: the server 
responded with a status of 404 (Not Found)

/home/seedmusi/public_html/wp-content/themes/MusicTheme-
child/css/admin_style.css?ver=4.9.4 Failed to load resource: the server 
responded with a status of 404 (Not Found)

/home/seedmusi/public_html/wp-content/themes/MusicTheme-
child/css/colors.css?ver=4.9.4 Failed to load resource: the server responded 
with a status of 404 (Not Found)

/home/seedmusi/public_html/wp-content/themes/MusicTheme-child/css/ie.css?
ver=4.9.4 Failed to load resource: the server responded with a status of 404 
(Not Found)

/wp-content/themes/MusicThemehttps:/maxcdn.bootstrapcdn.com/font-
awesome/4.5.0/css/font-awesome.min.css?ver=4.9.4 Failed to load resource: 
the server responded with a status of 404 (Not Found)

/home/seedmusi/public_html/wp-content/themes/MusicTheme-
childhttps:/maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-
awesome.min.css?ver=4.9.4 Failed to load resource: the server responded with 
a status of 404 (Not Found)

jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 
1.4.1
classie.js Failed to load resource: the server responded with a status of 
404 (Not Found)

bootstrap.min.js Failed to load resource: the server responded with a status 
of 404 (Not Found)

masonry.pkgd.js Failed to load resource: the server responded with a status 
of 404 (Not Found)

jquery.prettyPhoto.min.js Failed to load resource: the server responded with 
a status of 404 (Not Found)

custom-scripts.js Failed to load resource: the server responded with a 
status of 404 (Not Found)

cbpScroller.js Failed to load resource: the server responded with a status 
of 404 (Not Found)

classie.js Failed to load resource: the server responded with a status of 
404 (Not Found)

cbpScroller.js Failed to load resource: the server responded with a status 
of 404 (Not Found)

custom-scripts.js Failed to load resource: the server responded with a 
status of 404 (Not Found)

masonry.pkgd.js Failed to load resource: the server responded with a status 
of 404 (Not Found)

jquery.prettyPhoto.min.js Failed to load resource: the server responded with 
a status of 404 (Not Found)

(index):577 Uncaught ReferenceError: cbpScroller is not defined
    at (index):577
(index):479 Uncaught TypeError: jQuery(...).masonry is not a function
at (index):479
at dispatch (jquery.js?ver=1.12.4:3)
at r.handle (jquery.js?ver=1.12.4:3)

theme-style.css Failed to load resource: the server responded with a status 
of 404 (Not Found)

bootstrap.min.css Failed to load resource: the server responded with a 
status of 404 (Not Found)

admin_style.css Failed to load resource: the server responded with a status 
of 404 (Not Found)

component.css Failed to load resource: the server responded with a status of 
404 (Not Found)

ie.css Failed to load resource: the server responded with a status of 404 
(Not Found)

colors.css Failed to load resource: the server responded with a status of 
404 (Not Found)

font-awesome.min.css Failed to load resource: the server responded with a 
status of 404 (Not Found)

font-awesome.min.css Failed to load resource: the server responded with a 
status of 404 (Not Found)

2 - Searching the Internet, I've seen forums where it says that one of the reasons for these errors could be the permissions (reading, writing, execution and permission). I have done several tests leaving them marked in 0644,0755 or 0777, but the errors continue.

3 - In the functions.php file that I created in the Child theme, using the function wp_enqueue , I have incorporated the css files, including the css files in the corresponding folders of the child theme named as in the parent. In the parent theme, there are also js files, but on these I have not referred to them in the functions.php file (of the child theme) nor have I created files with the same name in the child. As some of the errors shown in section 1 refer to js files, could this be the reason? although there are also errors of css files and these if I have them incoporados in Child theme.

    
asked by fernanf 17.03.2018 в 00:17
source

0 answers