Thanks, it worked
-Georgy

On Mon, Nov 19, 2012 at 11:17 AM, Josh Thompson <[email protected]>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Georgy,
>
> You need to add the name of your mode to the $noHTMLwrappers array in
> states.php.
>
> Josh
>
> On Monday, November 19, 2012 10:12:00 AM FNU Georgy Mathew Kallumkal wrote:
> > Hello Josh,
> >
> > It fails here
> >
> > if(! in_array($mode, $noHTMLwrappers) &&
> >                 (! is_array($contdata) ||
> >             ! array_key_exists('noHTMLwrappers', $contdata) ||
> >             $contdata['noHTMLwrappers'] == 0)) {
> >              *   print $HTMLheader;   ----> Here the error is thrown*
> >                 if($mode != 'inmaintenance')
> >                         print maintenanceNotice();
> >                 $printedHTMLheader = 1;
> >         }
> >
> > Thanks
> > Georgy
> >
> > On Mon, Nov 19, 2012 at 8:57 AM, Josh Thompson
> <[email protected]>wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Georgy,
> > >
> > > In what function is line 10450 in your utils.php file?  That is where
> the
> > > output is starting that is running before your header() call is made.
> > >
> > > Josh
> > >
> > > On Saturday, November 17, 2012 10:35:15 AM FNU Georgy Mathew Kallumkal
> > >
> > > wrote:
> > > > Hello,
> > > >
> > > > I am facing some problem in the front end. I have made a new section
> > > > "Example". Here i have a submit button. Now when i click submit using
> > > > continuations it goes to a function a1 () and executes some commands,
> > > > and
> > > > after this i want it to be redirected to the new reservations page.
> So i
> > > > used header() function but i am getting the error,
> > > > * Cannot modify header information - headers already sent by (output
> > > > started at /var/www/html/vcl/.ht-inc/utils.php:10450)*
> > > > I did a research and understood that html has some output after which
> > > > the
> > > > redirection command is happening which causes this error. How can i
> get
> > >
> > > rid
> > >
> > > > of it?
> > > >
> > > > Thanks
> > > > Georgy
> > >
> > > - --
> > > - -------------------------------
> > > Josh Thompson
> > > VCL Developer
> > > North Carolina State University
> > >
> > > my GPG/PGP key can be found at pgp.mit.edu
> > >
> > > All electronic mail messages in connection with State business which
> > > are sent to or received by this account are subject to the NC Public
> > > Records Law and may be disclosed to third parties.
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v2.0.19 (GNU/Linux)
> > >
> > > iEYEARECAAYFAlCqOukACgkQV/LQcNdtPQMZ1QCdGQ4aE4V+ebrDq4BjNF9LCT/w
> > > sLEAn10yLHN613xqNOvEufwUxSSTCp/t
> > > =ntHf
> > > -----END PGP SIGNATURE-----
> - --
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
>
> my GPG/PGP key can be found at pgp.mit.edu
>
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.19 (GNU/Linux)
>
> iEYEARECAAYFAlCqW5AACgkQV/LQcNdtPQMs+ACeLL5CKkSlI05BgVWPI1Yxqq2A
> MG4An2+57+fpq2PhANpzNAd8UUWfELh1
> =f315
> -----END PGP SIGNATURE-----
>
>

Reply via email to