The following is all that shows up in the log after I try to load a PHP file. No further errors, just "infinite" loading. 2007-03-26 13:56:31,475 Trac[api] DEBUG: Trying to render HTML preview using PHPRenderer 2007-03-26 13:56:31,693 Trac[php] DEBUG: PHP command line: /usr/local/ bin/php -sn
I tried setting the MIME type for PHP to text/x-perl, and PHP files load but with improper highlighting, of course. I don't know if this provides any clues to what's going on or not. Thanks, dayton (kevinldayton*[at]*gmail) On Mar 26, 2:12 pm, "Adrian" <[EMAIL PROTECTED]> wrote: > Is anything showing up in your PHP error logs? > > On Mar 25, 2:33 pm, "dayton" <[EMAIL PROTECTED]> wrote: > > > @Ranier: Yes, I've tried disabling PHP altogether, but the results > > are the same. > > > @Adrian: php -sn seems to work fine. The following is an example of > > it's output: > > > <code><span style="color: #000000"> > > <span style="color: #0000BB"><?php<br /></span><span style="color: > > #007700">require_once(</span><span style="color: #DD0000">'../prado3/ > > framework/prado.php'</span><span style="color: > > #007700">); </span><span style="color: #FF8000">// > > include the prado script<br /></span><span > > style="color: #0000BB">$application</span><span style="color: > > #007700">=new </span><span style="color: #0000BB">TApplication</ > > span><span style="color: > > #007700">; </span><span > > style="color: #FF8000">// > > create a PRADO application instance<br /></ > > span><span style="color: #0000BB">$application</span><span > > style="color: #007700">-></span><span style="color: #0000BB">run</ > > span><span style="color: > > #007700">(); </ > > span><span style="color: #FF8000">// > > run the application <br /></span><span > > style="color: #0000BB">?><br /></span> > > </span> > > </code> > > > As mentioned before, the standalone server displays PHP files just > > fine. Thanks for everyone's continued help. > > > dayton (kevinldayton*[at]*gmail) > > > On Mar 24, 9:49 pm, "Adrian" <[EMAIL PROTECTED]> wrote: > > > > I just recently got PHP working with Trac and mod_python, several > > > times (a couple of test builds, and a production build). All total, it > > > took a good 150 man hours, albeit by two inexperienced devs. However, > > > I think I may be able to lend some insight... it looks like it's > > > having some sort of problem using the PHP syntax highlighter (PHP has > > > one built in, in the command-line executable, by using php -sn, as the > > > log indicates.) You might find more clues by trying to run php -sn > > > from the command line and see what you get back. > > > > (Per php --help, php -sn specifically returns the syntax-colored > > > source code, without loading a php.ini for configuration first.) > > > > On Mar 24, 4:50 pm, Rainer Sokoll <[EMAIL PROTECTED]> wrote: --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
