[Phpwm] PHP Eclipse Problem

Phil Beynon phil at infolinkelectronics.co.uk
Wed Apr 26 12:00:04 BST 2006


  I have been experimenting with PHPeclipse yesterday and today. Here is a
fairly big problem that I have run into that has stopped me from using it.

  Eclipse generates a lot of warnings of type: "Include filename 'blah.php'
doesn't exist in project."

  I tried to explicitly set the "Include Path" for the project in
"Project->Properties->PHP Project Settings->Include Paths" (although this
shouldn't be necessary because these paths are dynamically set by a
set_include_path() call in the script). This hasn't solved the problem.

  All my projects have this structure

  project/htdocs/        # actual website root
  project/includes/      # mostly php classes and files with programming
logic
  project/templates/   # html files, headers footers, etc

  I find this an effective way of organising the files. It seems the only
way to get PHPeclipse to not generate the errors is to place all code in the
website root which I really don't want to do. Can anyone help me on this
problem?
  Pete Graham

  _______________________________________

  Internet Technical Officer 01952 642302

  Telford College of Arts and Technology

  College Website: http://www.tcat.ac.uk

  Hub From Home: http://www.tcat.ac.uk/hub

  Pete,
  Check to see if the include() files themselves are calling any other
include() files, this could give this sort of error in that if it was in
site root it would supress any ../ that formed part of their paths since it
could not go below site root level whereas if they were at a higher level
the ../ would be applicable.

  Phil

   ** http://www.diygear.com THE Online DIY Toolstore For DIY & Business
  ** Infolink Electronic Systems Ltd. http://www.infolinkelectronics.co.uk
  ** Professional Web Design & Cobalt Hosting Solutions
  ** Contact: Sales at infolinkelectronics.co.uk
  ** Tel / Fax 0121 458 4894 (office) 0121 441 3558 (home) 07801 548464
(mobile)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/phpwm/attachments/20060426/9e1b0b13/attachment.html


More information about the Phpwm mailing list