Re: Something strange with files created by generator.php

From: Date: Thu, 14 Feb 2002 03:57:40 +0000
Subject: Re: Something strange with files created by generator.php
References: 1 2 3 4  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1256@lists.php.net to get a copy of this message
I figured it out... Because of an error in my php.ini file, php -q whatever.php was printing some error messages, and while the error messages were there, so was the content-type... Once I cleaned up my php.ini file, the errors and the content-type went away... -Jared On Wed, 2002-02-13 at 18:41, Alan Knowles wrote: > Are you deleting the gen_files after reinstalling php > > when you do > echo '<? echo "hello\n"; ?>' | php -q > > at the command line do you see the Content type stuff? > what does php -v show > how many binary results do you get from :"whereis php" > > regards > alan > > Jared Smith wrote: > > >I just built PHP from CVS, and I'm still getting the same error... Oh > >well, I'll just deal with it and assume it's something wrong with my > >particular setup. > > > >-Jared > > > >On Wed, 2002-02-13 at 15:43, Markus Fischer wrote: > > > >> My guess is you're using a not compatibel version of PHP > >> itself. Try using 4.1.1, if you're using it, you've set up > >> something wrong. > >> > >>On Wed, Feb 13, 2002 at 03:21:42PM -0700, Jared Smith wrote : > >> > >>>I compiled PHP-GTK from CVS, and I got the following error: > >>> > >>>gen_gdkpixbuf.c:1: parse error before `-' > >>> > >>>In looking at the gen_gdkpixbuf.c file, I noticed that for some reason, > >>>generator.php is adding a content type to the beginning of the file. > >>>Here's the first few lines of gen_gdkpixbuf.c: > >>> > >>>Content-type: text/html^M > >>>^M > >>>#include "php_gtk.h" > >>>#if HAVE_PHP_GTK > >>> > >>>It seems that this happens with all the files that generator.php > >>>creates... Is this something peculiar to my particular setup, or is this > >>>happening to everyone? I can go delete these lines from all the gen_*.c > >>>files, but I'm wondering if this is something that needs to be fixed. > >>> > >>>Also, can somebody (probably James Moore) put this in the > >>>troubleshooting section of the manual so that it doesn't trip up other > >>>people? > >>> > >>>Thanks! > >>> > >>>Jared Smith > >>>jaredsmith@jaredsmith.net > > >>>>>><ftp://ftp.ximian.com/pub/ximian-gnome/redhat-72-i386/internal-gopher-unknown�!«¤+UiÝjô6Ú > >>>> > >>> > >>> > >>>-- > >>>PHP-GTK General Mailing List (http://gtk.php.net/) > >>>To unsubscribe, visit: http://www.php.net/unsub.php > >>> > >>-- > >>Please always Cc to me when replying to me on the lists. > >>GnuPG Key: > >>http://guru.josefine.at/~mfischer/C2272BD0.asc > >> > >>-- > >>PHP-GTK General Mailing List (http://gtk.php.net/) > >>To unsubscribe, visit: http://www.php.net/unsub.php > >> > > > > > > > > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.gtk.general (#1256) next »