• I downloaded a custom theme through themeforest. I cannot download it directly from wordpress because it just sits there for 5 minutes and then says error. So I tried downloading the file through my FTP client. (I host through iPage.) Well after I have installed the file successfully in the wp-content/themes/mytheme file, when I got to wordpress I see the theme there but when I preview it I see nothing but a string of these errors:

    Warning: include(templates/header/.php) [function.include]: failed to open stream: No such file or directory in /hermes/bosweb26b/b2308/ipg./wp-content/themes/rockwell_v1.4.9/header.php on line 102

    Warning: include() [function.include]: Failed opening ‘templates/header/.php’ for inclusion (include_path=’.:/usr/local/lib/php-5.2.17/lib/php’) in /hermes/bosweb26b/b2308/ipg./wp-content/themes/rockwell_v1.4.9/header.php on line 102

    Warning: include(templates/slider/.php) [function.include]: failed to open stream: No such file or directory in /hermes/bosweb26b/b2308/ipg./wp-content/themes/rockwell_v1.4.9/slider.php on line 6

    Warning: include() [function.include]: Failed opening ‘templates/slider/.php’ for inclusion (include_path=’.:/usr/local/lib/php-5.2.17/lib/php’) in /hermes/bosweb26b/b2308/ipg./wp-content/themes/rockwell_v1.4.9/slider.php on line 6

    What do I need to do to get rid of these errors?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Is there, for example, a templates/slider.php file in your theme? There is a forward slash between ‘slider’ and ‘.php’ in those ‘include’ lines and that slash shouldn’t be there.

    Also, make sure your theme is not a child theme which would require another theme(the parent) to function.

    Thread Starter aisham

    (@aisham)

    there is only a slider.php file. Same for the header. Its just header.php

    Something is causing an extra slash before the .php. That is the problem. Find those include lines in your files– the error gives you the line numbers. Make sure they are correct– that is, no slash. Honestly, I’m not sure where to go from here, but disable all of your plugins and see if that makes a difference. I’m not sure if .htaccess would effect a system file path but have you or anyone/anything edited your .htaccess file?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom Theme through FTP…getting errors’ is closed to new replies.