ID: 16219 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows 2000 Advanced Server PHP Version: 4.1.2 New Comment:
It was a configuration issue indeed.. I replaces the distribution php.ini with recommended php.ini after upgrading by mistake.. and the site used teh global _get vars.. My apologies Adriaan Previous Comments: ------------------------------------------------------------------------ [2002-03-22 05:41:04] [EMAIL PROTECTED] you are reporting an issue that is not a bug but a configuration issue check your short_tags settings using phpinfo(), or even better use '<?php' instead of just '<?' so that your code does not rely on short_tags being enabled ------------------------------------------------------------------------ [2002-03-22 05:19:57] [EMAIL PROTECTED] FYI: I'm not asking for support. I did NOT change any code, installed a new version of PHP, and my site doesn't load anymore. The site worked perfectly under PHP 4.1.1 and does NOT work under 4.1.2. i call that a bug in 4.1.2, so I filed a bug report for it. I included alot of documentation of HOW i work so you'd have an easier time to check what happens.. I use similar code on PHP 4.1.2 on Linux-based servers, and it works there.. Doesn't work on 4.1.2 for windows. ------------------------------------------------------------------------ [2002-03-22 05:09:38] [EMAIL PROTECTED] The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php ------------------------------------------------------------------------ [2002-03-22 04:43:10] [EMAIL PROTECTED] I made a site under PHP 4.1.1 using the built-in PHP templating funtions through the use of the Alternative Control Structures. All my PHP code is in several .php files, all text of the website is in template/xxx.html format, including the alternative control structures and pure HTML syntax. At the end of the PHP page, i call the template HTML file with a require("template/xxx.html");. In PHP 4.1.1, this displays the page correctly. In PHP 4.1.2, the page loads untill it gets at the first PHP funtion in the template, being <? if ($extra_links): ?>. The standard variable parsing DOES work, as there's already a call to <?=$foto?> that gets parsed. I've reloaded PHP 4.1.1, and now the site in question works again like it should. No code been altered since the first installation of PHP 4.1.2. The sole need for PHP on this page is this templating, depending on which section of the site ppl visit, it loads a different main section of the site with a different menu. On a Linux system this problem doesn't exist. regards, Adriaan Van Bauwel ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16219&edit=1