Support » Themes and Templates » Installation of Benz theme

  • Everything works fine with other themes, however when I install the Benz theme I get this error:

    Warning: include(/home/merc/public_html/wp-content/themes/Benz/searchform.php) [function.include]: failed to open stream: No such file or directory in /home/merc/public_html/wp-content/themes/Benz/sidebar.php on line 11

    Warning: include() [function.include]: Failed opening ‘/home/merc/public_html/wp-content/themes/Benz/searchform.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/merc/public_html/wp-content/themes/Benz/sidebar.php on line 11

    To view the site:

    It’s got to be something quite simple, but when I messed about with the sidebar.php and it started to affect the header – hence I ended up going around in circles 🙁

    Many thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Are you sure you fully uploaded a theme? That error seems to indicate the theme is looking for files that do not exist on your hosting account so possibly some were not uploaded.

    Upload the theme again via FTP and make sure that you do not receive any error while uploading. It seems that some of the files were not uploaded or they zero size.

    Thanks guys for getting back to me on this one, however I have deleted all files from the theme and then re installed this time using FTP Voyager instead of the ftp programme in WordPress.
    Still the same problem? The file size for the sidebar.php file is 2089 bytes and that is the same as the one uploading from my pc.

    It only happens with this theme?

    Just downloaded the theme again in case it had problems with the zip file.
    Uploaded it, and again the same problem…?

    Tried again, unpacked all the files and uploaded them via ftp – same thing? I have now gone to the same site, downloaded another theme in zip format (Emotic by andrej) and installed in the themes; no problems…?

    Again just installed ‘Blackcar Theme’…no problems?

    Sussed it at last – and yes it was something really easy 🙁

    In the files there is one called ‘search-form.php’ ,however in the ‘sidebar.php’ the code asks for:

    <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>

    A quick correction to:

    <?php include (TEMPLATEPATH . ‘/search-form.php’); ?>
    and all works okay.

    Hope this helps others 🙂

    Sorry guys,
    this dropped a search box into the menu lower down so what I have done is removed the following from the sidebar.php file:

  • <?php include (TEMPLATEPATH . ‘/search-form.php’); ?>
  • And now it does work all okay

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Installation of Benz theme’ is closed to new replies.