Login   Register  
PHP Classes
elePHPant
Icontem

"classes" directory

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Closure Table  >  All threads  >  "classes" directory  >  (Un) Subscribe thread alerts  
Subject:"classes" directory
Summary:Once installed I receive "No such file or directory"error
Messages:3
Author:Alex Saavedra
Date:2009-08-02 05:43:31
Update:2009-08-02 09:26:36
 

  1. "classes" directory   Reply   Report abuse  
Picture of Alex Saavedra
Alex Saavedra
2009-08-02 05:43:31
I just installed this PHP package to test features. However, suggested starting file (samples/ClosureTable/index.php) triggers the following error:

Warning: include_once(/my/dir/classes/index.php) [function.include-once]: failed to open stream: No such file or directory in /my/dir/samples/config.inc.php on line 12

It seems to be related to the following directive found in samples/config.inc.php:
define("CLASSES", ROOT.DS."classes");

Current package doesn't include "classes" folder.

A. Saavedra

  2. Re: "classes" directory   Reply   Report abuse  
Picture of Tom Schaefer
Tom Schaefer
2009-08-02 09:23:39 - In reply to message 1 from Alex Saavedra
Dear Alex,
closure table is part of a much bigger class repository, which I am working with. This class is just an extraction. The samples folder does not belong to this repository. I wrote it for the phpclasses release.

If your installation does not fit, just set your specific path parameters into the defines which reside in folder samples/config.inc.php. It is only a sample implementation, which works for me.

  3. Re: "classes" directory   Reply   Report abuse  
Picture of Tom Schaefer
Tom Schaefer
2009-08-02 09:26:36 - In reply to message 2 from Tom Schaefer
I just change the load of the sample defines to the needs of the sample dir.
Have a look at the changes.