#43191 [NEW]: build.php fails to included necessary theme dependencies

From: Date: Mon, 05 Nov 2007 02:51:34 +0000
Subject: #43191 [NEW]: build.php fails to included necessary theme dependencies
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-187@lists.php.net to get a copy of this message
From: ezyang@php.net Operating system: Windows Vista PHP version: Irrelevant PHP Bug Type: Doc Build problem Bug description: build.php fails to included necessary theme dependencies Description: ------------ When attempting to run builds of just chunkedhtml, etc, PhD cannot find the necessary parent classes. This can be fixed by either including all of the requisite classes from build.php, having the themes perform their necessary inclusions (be careful about register globals injections), or setting up some sort of autoload scheme. Reproduce code: --------------- $ php build.php --theme chunkedhtml --docbook /path/to/phpdoc/.manual.xml Expected result: ---------------- Build proceeds as normal Actual result: -------------- Fatal error: Class 'phpweb' not found in C:\Users\Edward\Webs\phd\themes\php\chu nkedhtml.php on line 2 -- Edit bug report at http://bugs.php.net/?id=43191&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43191&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43191&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43191&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43191&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43191&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43191&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43191&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43191&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43191&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43191&r=support Expected behavior: http://bugs.php.net/fix.php?id=43191&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43191&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43191&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43191&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43191&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43191&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43191&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43191&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43191&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43191&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43191&r=mysqlcfg

« previous php.doc.bugs (#187) next »