Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Fatal error: Failed opening required


Recommended Posts

Hi guys...

this is the full error message....


Fatal error: Failed opening required 'includes/languages/.php' (include_path='.;c:php4pear') in c:inetpubwwwrootcatalogincludesapplication_top.php on line 250


this happens when trying to open the catalog, it also happens when trying to open the admin page (referring to a different page and line number)...


I think the problem lies in the fact that I have php installed as c:php


My question is, where do I change this? I couldn't see anything in php.ini, And if I change the foldername from php to php4 then everthing will collapse I suspect.


Cheers for your help



Link to comment
Share on other sites

hello... I am guessing you are running windows and IIS server?? yes? if so then the solution is very simple (I had the same problem)...


open your IIS manager, and goto the default website... there you will see a list of all folders in the C:inetpubwwwroot folder... the problem is that when using PHP on an IIS server, any directory that uses includes with PHP needs to be turned into a virtual directory....


so right click on 'catalog' and goto New->Virtual Directory


a wizard will come up, click next. In Alias put "catalog", in directory either type or browse to C:Inetpubwwwrootcatalog, select the permissions you want (on localhost for testing I have all persmissions turned on), click next, then finish...


if you do not have the admin folder under catalog (i.e. C:Inetpubwwwrootcatalogadmin), you will have to create a virtual directory for admin as well... if admin is inside catalog, then the catalog virtual directory is all that is needed to be created...


thats it... now your PHP scripts should be able to navigate to the catalog folder...

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...