problem with include path

I’ve downloaded the source code of a website from Github and am trying to run it locally using EasyPHP. I keep getting the error

Warning: require_once(C:/Program Files (x86)/EasyPHP-5.3.4.0/www/common.php) [function.require-once]: failed to open stream: No such file or directory in C:\Program Files (x86)\EasyPHP-5.3.4.0\www\PS\db.php on line 3

I tried using set_include_path('C:\Program Files (x86)\EasyPHP-5.3.4.0\www\PS where PS is the folder I created for this website.

I think there’s a problem with C:/Program Files (x86)/EasyPHP-5.3.4.0/www/common.php it should be C:/Program Files (x86)/EasyPHP-5.3.4.0/www/PS/common.php

hey…
did you try just include();
It might work…

no difference. I think I have an accumulation of problems

I think the problem might be with the (x86)… try changing it to a different folder… directly inside the C:\ directory for example…

I just moved it down a level and it works :S so it’s now in easyPHPs www folder

Sponsor our Newsletter | Privacy Policy | Terms of Service