Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Failed to open stream error

Featured Replies

Hi guys,

for some of my pages I get a 500 error, when checking the error log I see a lot of this:

 

[Mon Feb 28 17:02:44 2011] [error] [client 192.168.1.1] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0, referer: http://mydomain.com/subdir
[Mon Feb 28 17:02:44 2011] [error] [client 192.168.1.1] PHP Fatal error:  Unknown: Failed opening required 'D:/UniServer/www/subdir/subdir2/index.html' (include_path='.;D:/UniServer/usr/local/php/includes;D:/UniServer/usr/local/php/pear;D:/UniServer/home/admin/www/plugins/pear/PEAR') in Unknown on line 0, referer: http://mydomain.com/subdir

 

This seems to happen only for some pages, from a VERY basic html page to some pages which include minimal PHP functions. Again this only seems to happen for some pages, not all pages within my site... I'm stumped, any help would be great!

  • 2 weeks later...

It states clear "Failed opening required" file, such that you should manually check that before fire up ;-)

 

Pay attention to filesystem integrity, permissions, mappings, et cetera ...

 

Hi guys,

for some of my pages I get a 500 error, when checking the error log I see a lot of this:

 

[Mon Feb 28 17:02:44 2011] [error] [client 192.168.1.1] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0, referer: http://mydomain.com/subdir
[Mon Feb 28 17:02:44 2011] [error] [client 192.168.1.1] PHP Fatal error:  Unknown: Failed opening required 'D:/UniServer/www/subdir/subdir2/index.html' (include_path='.;D:/UniServer/usr/local/php/includes;D:/UniServer/usr/local/php/pear;D:/UniServer/home/admin/www/plugins/pear/PEAR') in Unknown on line 0, referer: http://mydomain.com/subdir

 

This seems to happen only for some pages, from a VERY basic html page to some pages which include minimal PHP functions. Again this only seems to happen for some pages, not all pages within my site... I'm stumped, any help would be great!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.