ajmartin Posted November 22, 2002 Posted November 22, 2002 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 Regards Adam
ajmartin Posted November 23, 2002 Author Posted November 23, 2002 Ok, I thought that maybe it was php that had an issue...so re-installed too c:/php4 That hasn't helped. I am stuck. Any help, suggestions appreciated Adam
dreamscape Posted November 23, 2002 Posted November 23, 2002 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.