[Chameleon-dev] [Bug 374] New: [Chameleon]Sym link to /path/to/chameleon/samples/htdocs causes an error

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Fri May 7 16:14:10 EDT 2004


           Summary: [Chameleon]Sym link to /path/to/chameleon/samples/htdocs
                    causes an error
           Product: Chameleon
           Version: 1.99
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: nsavard at dmsolutions.ca

Sym link to /path/to/chameleon/samples/htdocs causes an error

When setting up the samples, the symbolic link must not point out to the
"htdocs" directory because the code lines in "sample_basic.phtml" makes the
browser to point out to an invalid directory.

Also a fatal error is generated.

Fedora Core 1
Mozilla 1.6
Chameleon 2004-05-06

"sample_basic.phtml" code snippet:

include( "../../htdocs/chameleon.php" );
$szTemplate = "./sample_basic.html";
$szMapFile = "../map/chameleon.map";


ERROR: Invalid map file file (/var/www/html/nsavard/map/chameleon.map).

PHP error:

[07-May-2004 16:04:08] PHP Fatal error:  Call to a member function on a
non-object in
/home/nsavard/proj/chameleon_cvs/htdocs/widgets/KeyMap/KeyMap.widget.php on line 190

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Chameleon-dev mailing list