Failed to Open Stream Error in WordPress

Are you seeing the following error screen when you open your WordPress website. 

Failed to Open Stream Error

The typical error message would be like:

Warning: require(/wp-includes/load.php): failed to open stream: No such file or directory in /wp-settings.php on line 19

Fatal error: require(): Failed opening required ‘/wp-includes/load.php’ (include_path=’.:/usr/share/php/:/usr/share/php5/’) in /wp-settings.php on line 19

The error message would be different depending on the location or file where this error has occurred, but the main reason why the “Failed to Open Stream” error occurs is because there is some error in the code of your WordPress installation or simply put, the files or code of your WordPress website got corrupted.



 

If you can login to the admin of your WordPress, please login and deactivate all the plugins and check if this helps. But in most of the situations, you won’t be able to login to your WordPress admin, since this error message would be visible there also and your admin login page won’t load up. 

So how do you solve this issue and get back your website. The solution to this problem is to replace all your WordPress files. But wait, if your replace all your files, you would loose all the data of your website and it would be complete new WordPress installation and you need to re-work and re-design your entire website again from scratch. Real pain isn’t it ?

Well when we say replace your files, there is a catch. So how do you do it? You can use a FTP client, like FileZilla and access your website folder and remove/delete all the files and folders except the wp-config.php file and wp-content folder. Other than that, delete all the files and folders.



 

After deleting, get a fresh copy of WordPress core from WordPress.org and upload all the files to your Website folder using FTP client. Please remember, there would be a wp-content folder in the newly downloaded WordPress core. Please do not upload that, else you will loose all your website data. 

Once this is done, your website will load up and you can login to your Admin Dashboard. 

After you login, you might have to carry out a WordPress update or update the plugins, themes installed.

It’s also advisable to do a complete Malware check of your website for any malicious code which may affect your site health. You can try Sucuri Malware Scanner for your WordPress website. It has a different solutions and packages for your website.

PHP For Web Application Development

Web Application Development has come a long way from being just simple static HTML pages to really powerful, data driven and interactive portals. It’s now more than just websites or portals. Since the advent of Internet, stand alone Desktop based software have been replaced by multi-user Cloud Based Applications. These Web Applications can be accessed from different devices, be it computers, mobiles or tablets. Since its cloud based, the data is centrally stored in a server and can be retrieved from anywhere as the need arises.  But this does not mean the data is vulnerable and could be accessed by anyone. Requisite security measures are in place and can be customized as per the requirements. The beauty is, in the same application, say there are multiple users, so the access level to the data entry and retrieval and be defined.

PHP remains widely used Language in the area of Web Application Development. It was originally created by Rasmus Lerdorf in the year 1994. One can refer to the Official Website for more information. There are large number of resources for one to refer and start learning this awesome language and develop some amazing and useful applications. Some of the most famous Projects/Applications and widely which have been written in PHP are:

  • Facebook – It has become a household name and is almost unofficially a synonym for Social Networks.
  • Wikipedia – You search anything online, and there is one place which cannot go un-noticed. It’s the enormous store house valuable and correct information of nearly anything.
  • WordPress – This again is a name which has become common to Content Management System. It’s recorded that almost 40% of the websites are on WordPress . Now WordPress is a Content Management System which is done in PHP. Anyone who wants to get a website, or start learning web development or web designing has come across this name at least once
  • MailChimp  – It’s a widely used Email Marketing tool with some really amazing features.

Even though there are millions of applications which have been written in PHP, the above names would definitely sum it all to the power and wide use of this user friendly scripting language.

Pre-requisites to learn PHP, are one should have some knowledge about computer programming in general. Knowledge of HTML, CSS & JavaScript will definitely be helpful, since these are the integral part of any Web Application. But, the main requirement is sincerity and dedication. One has to have the zeal to learn and accept challenges. The best way to learn is by a practical approach, i,e to start writing a project or application. One can keep learning and implementing the same on the project. Web Development has rapid changes every day and no one can claim that he/she knows everything. Hence a practical and a project oriented approach would also help one develop the process of continuous learning.

Important Things You Should Take Care Of While Designing A Logo

As you all know that designing a perfect logo is designing and giving a big image to your brand , business or a blog. If you are a professional blogger or wish to be a one. Then you should get one a perfect brand name first. Yes it’s very much important after that you’ve to give your brand name a image with which you’ll be recognised on the web! So here are the five tips you should take care while designing a logo for yourself.

  • 1. Brand:
    Take care of your brand name while designing a logo because logo is only a one time thing. If you’ll be changing your logo design every week that will let your reputation down. So always take care of your Brand name while designing your logo and never change your logo once designed. Give it a great look and only apply it when satisfied.
  • 2. Tagline:
    Give your brand name a tagline and always place that in your logo too! You would have seen big companies logos, they always got a tagline under them so be sure to place one tagline under your logo that fits the best. Always be unique and different!
  • 3. Text & Image:
    This is one of the important thing, don’t only place name of the brand in your logo do add some web 2.0 icons also, they will give a grace and a good look to your Logo. So, be sure to add one or two icons to your logo. You can get those on IconFinder. Always take care that they are free for commercial use.
  • 4. Finising Touch:
    Be careful of giving your logo a good finishing touch. Like adding some grace into it, adding mixture of colours, adding gradients. Gradient is the most important thing to give your logo a profesional look. Add some transforms and outline effect and also give it a slight shadow. Aha, your logo is now complete , full, pro, and ready to use!

500 Internal Server Error in CakePHP application

A common problem encountered in CakePHP applications is when they are moved to the root folder, they end up showing 500 Internal Server Error. We encountered the same. When started with the development, we had used a temporay folder under a common domain name. But when the actual domain was pointed to the application, it was showing up 500 Internal Server error. To put it simply, if we suppose, the application is place under a folder “demo” under a domain name – ourwebsite.com , then it is accessible in the url – www.ourwebsite.com/demo . But if the application is moved to the root folder and accessed directly from www.ourwebsite.com , then it ends up showing 500 Internal Server Error.



The very simple solution to this problem is to check the .htaccess file in the application and change or add  RewriteBase /  .

For example –

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule    ^$ app/webroot/    [L]
RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

If RewriteBase / is not present, please add it or change RewriteBase / folder/subfolder to RewriteBase /




Reasons Why You Should Have A Website????

To have a website of one’s own has become truly essential in the last years. To have your own website gives your business invaluable advantages over the traditional modes of advertising. There are at least 7 reasons why you should bring your business online:

  • 1. Enhanced customer convenience:
    Searching for businesses, products and services over the Internet is much easier and quicker than leafing through the Yellow Pages, for example. Every time a potential or an existing client wants to find out more about your business, they can easily do so, especially if you have added a “FAQ” section. Your customers can always keep in touch with you and your business, all they need to know is your website’s address.
  • 2. Greater reachability of your business profile:
    Your business profile will be accessible from EVERYWHERE. No other ad medium provides such global coverage. You will not depend on restricted phone book entry presentations any more. What is more important, more and more customers are nowadays referring to the Internet when searching for products, services and businesses.
  • 3. Greater possibilities for promoting your business portfolio:
    People will not buy your products or services unless they know that they actually exist. You can tell your potential audience much more through a WEBSITE than you could possibly do via any print advertisements, Yellow Pages listings, or TV/radio commercials. There are no limitations as far as space, time, nationality and residency are concerned. You can say as many things as you want, to as many people as you wish. And your business representation can be as resourceful as is the Internet itself.
  • 4. Efficient low-cost advertising:
    Your website practically runs NON-STOP PROMOTIONS of your business! Your customers will always be able to obtain thorough up-to-date information about your services or products. Instead of having to rely on randomly aired TV or radio commercials, they can simply browse through your website whenever they like.
  • 5. 24/7 availability:
    A website is available to you 24 hours a day, 7 days a week, 365 days a year. It will be your hardest working employee, never getting sick, or taking a holiday. And you can rest assured that your website is always there for you – to answer your customers’ questions, or to collect their feedback on your behalf.
  • 6. Saves time:
    Prospective clients can learn about you and your business at any time of the day simply by visiting your website, so you won’t have to be present or involved with the process in any way. The time you would otherwise have spent on answering or re-directing your customers’ questions can be now saved and invested in other activities that can increase your profits and further enhance the scope of your business.
  • 7. Saves money:
    You can save a lot of money you would have otherwise spent on print ads, brochures, coupons, flyers, specials, newsletters or mailings. What’s more, updating the information on your website is always quick, easy and amazingly efficient, whereas regular renewals of printed materials can be quite expensive and time consuming. The fact is, nothing is more valued in any business than optimal productivity at minimum cost possible.

Increasing PHP Memory Limit and File Upload size in Wamp

Most of you must have encountered this while while importing a large database in PHP MyAdmin, or any other MySQL interface. There is server time out or maybe the file upload size is limited to say 2 MB or so. All you need to do is, you have to edit you php.ini file to increase the PHP memory limit and the file upload size. If you are using WAMP, try these:



In C:\wamp\bin\apache\apache2.2.8\bin\php.ini (go to the respective directory if WAMP is installed in a different location)

Find:
post_max_size = 8M
upload_max_filesize = 2M
max_execution_time = 30
max_input_time = 60
memory_limit = 8M

Change to:
post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M

Then restart wamp for the changes to effect.

Hope this was useful to you.





Notice: Use of undefined constant php - assumed 'php' in /home/brtaprwbnwyn/public_html/rj45kosh/gol/wp-content/themes/esteem/footer.php on line 19