Follow @BPSPro

WordPress Tips, Tricks and Fixes

3 Comments RSS Site Feed Author: AITpro Admin
Published: April 28, 2010
Updated: February 12, 2012

We had posted a fair amount of WordPress Tips, Tricks and Fixes on Yahoo! Answers in the past, but keep in mind that some of these WordPress Tips, Tricks and Fixes are very dated.  In order not duplicate YA questions we did not include the original questions asked on YA.


Tags: ,

Categories: Wordpress Tips - Tricks - Fixes

3 Comments to “WordPress Tips, Tricks and Fixes”


  1. Jane says:

    Oh my… learning new things here. I hired a small company to create a new website. They did, but they also had issures with their web guy. So then my site was gone. Now, i had to re-create some of it. They are putting in wigets, plugins to make up. But, the below waring has been on my site for several days. They suggested i talk to godaddy, but i see that maybe the pluggin was installed wrong. Any thoughts?

    Warning: include(/home/content/c/a/p/capehouse100/html//wp-content/plugins/featured-content-gallery/gallery.php) [function.include]: failed to open stream: No such file or directory in /home/content/c/a/p/capehouse100/html/wp-content/themes/lifestyle_40/index.php on line 3
    Warning: include() [function.include]: Failed opening '/home/content/c/a/p/capehouse100/html//wp-content/plugins/featured-content-gallery/gallery.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/c/a/p/capehouse100/html/wp-content/themes/lifestyle_40/index.php on line 3
    • AITpro Admin says:

      Hi Jane,

      I took a look at your website yesterday and it looks like you already figured out what was causing the problem. You may have switched your WordPress Theme to a theme that has a built in gallery viewer instead of using the gallery plugin shown in the error message. Or of course if you already had the theme you have now and also installed the gallery plugin then the answer is obvious – the plugin and your theme would conflict because they are both trying to perfom the same functions. Anyway one of the really nice things about WordPress database errors is that the error message will usually tell you exactly where the problem is occurring. In this case the issue was with the featured content gallery plugin. The error message was telling you to take a look at your theme’s index.php file and specifically at code line 3. The error message is indicating that the path to an included file is not correct or does not exist. In this case you may not find the actual problem with the coding in code line 3 on the index.php file, but taking a look at code line 3 in index.php will give you a clue as to where the problem is really occurring. Also since you are seeing the php lib include path in the error it could be an issue or conflict with PHP itself. My gut on this one is that your theme and the plugin you had were conflicting with each other since your theme has a built in featured gallery viewer. If you want more help on this just give me a ring and I’ll be glad to help you out.

      I just got your email:
      I think this is all you need to do:

      Open and edit your Lifestyle Theme’s index.php file. You can either edit this file by clicking the plugin’s edit link on the main plugins page or you can download your Theme’s index.php file and edit it on your computer and then upload it back to your website. You should see a line of code that looks similar to this. This is the correct code shown below, but you probably have some other path that is incorrect here.

      Now this line of code is telling your Theme file to look in this folder location for the gallery.php file. Check to make sure that the file actually exists at this location.

      If this does not work then you should try completely uninstalling and reinstalling this gallery plugin and follow the setup and installation instructions on the Featured Content Gallery website.

      Thanks,
      Ed

  2. WordPress Tips, Tricks and Fixes – AIT-pro.com on Yahoo! Answers | digital living 365 says:

    Pingback on “WordPress Tips, Tricks and Fixes – AIT-pro.com on Yahoo! Answers”

    […] here to read the rest: WordPress Tips, Tricks and Fixes – AIT-pro.com on Yahoo! Answers Tags: bullet, fixes, jewelry, movies, movies-sponsor, proof-security, sporting-goods, website, […]


Skip to toolbar