Re: CGIDEV2 Question

"Art Tostaine, Jr." <[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <CACftfu500tETQNHf9JWXx3=j9zx_sCxeLcoXTWW+KQ7xy-s-bA@mail.gmail.com>
Brad was able to get my project up and running. The HTML template requires
2 CR/LF at the end of the file. This was something he has seen before.

On Tue, Oct 19, 2021 at 1:26 PM Art Tostaine, Jr. <[email protected]>
wrote:

> I don’t have a template. I’m new to cgidev2. I thought I just needed an
> ifs html file?
>
> On Tue, Oct 19, 2021 at 1:18 PM Brad Stone <[email protected]> wrote:
>
>> I didn't see the template you;re using in your post.
>>
>> On Tue, Oct 19, 2021 at 12:10 PM Art Tostaine, Jr. <[email protected]>
>> wrote:
>>
>> > The HTML was public exclude, I granted authority and I'm getting the
>> same
>> > error.
>> >
>> > On Tue, Oct 19, 2021 at 12:58 PM Jim Oberholtzer <
>> > [email protected]> wrote:
>> >
>> > > Maybe an authority issue with one of the profiles not having access to
>> > the
>> > > library or CGI program?
>> > >
>> > > --
>> > > Jim Oberholtzer
>> > > Chief Technical Architect
>> > > Agile Technology Architects
>> > >
>> > >
>> > > On Tue, Oct 19, 2021 at 11:46 AM Art Tostaine, Jr. <
>> [email protected]>
>> > > wrote:
>> > >
>> > > > Also the browser reports this error:
>> > > >
>> > > > Internal Server Error
>> > > >
>> > > > The server encountered an internal error or misconfiguration and was
>> > > unable
>> > > > to complete your request.
>> > > >
>> > > > Contact the server administrator at [no address given] to inform
>> them
>> > of
>> > > > the time this error occurred, and the actions you performed just
>> before
>> > > > this error.
>> > > >
>> > > > More information about this error may be available in the server
>> error
>> > > log.
>> > > >
>> > > > On Tue, Oct 19, 2021 at 12:38 PM Art Tostaine, Jr. <
>> > [email protected]>
>> > > > wrote:
>> > > >
>> > > > > I'm successfully processing a post transaction from a payment
>> > provider
>> > > > > with my RPG program.
>> > > > >
>> > > > > After I update my tables I need to redirect the browser back to
>> our
>> > > home
>> > > > > page.  I have HTML that successfully does this and I put it in the
>> > ifs
>> > > > > directory CgidevExtHtml.
>> > > > >
>> > > > > I tried merging some examples into my working program but in the
>> > logs I
>> > > > > get this message:
>> > > > >
>> > > > > ZSRV_MSG0947: End of script output before headers: File name is
>> > > > > getpayzdr.pgm
>> > > > >
>> > > > > RPG Code snip that does the output:
>> > > > > C                   eval      IfsMultIndicators = getHtmlIfsMult(
>> > > > > C                             %trim(exthtml):'<as400>')
>> > > > > C                   callp     wrtsection('part1')
>> > > > >
>> > > > > my HTML Redirect page: https://code.midrange.com/62bf13cf06.html
>> > > > >
>> > > > >
>> > > > >
>> > > > --
>> > > > This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
>> > mailing
>> > > > list
>> > > > To post a message email: [email protected]
>> > > > To subscribe, unsubscribe, or change list options,
>> > > > visit: https://lists.midrange.com/mailman/listinfo/web400
>> > > > or email: [email protected]
>> > > > Before posting, please take a moment to review the archives
>> > > > at https://archive.midrange.com/web400.
>> > > >
>> > > >
>> > > --
>> > > This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
>> mailing
>> > > list
>> > > To post a message email: [email protected]
>> > > To subscribe, unsubscribe, or change list options,
>> > > visit: https://lists.midrange.com/mailman/listinfo/web400
>> > > or email: [email protected]
>> > > Before posting, please take a moment to review the archives
>> > > at https://archive.midrange.com/web400.
>> > >
>> > >
>> > --
>> > This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
>> > list
>> > To post a message email: [email protected]
>> > To subscribe, unsubscribe, or change list options,
>> > visit: https://lists.midrange.com/mailman/listinfo/web400
>> > or email: [email protected]
>> > Before posting, please take a moment to review the archives
>> > at https://archive.midrange.com/web400.
>> >
>> >
>> --
>> This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
>> list
>> To post a message email: [email protected]
>> To subscribe, unsubscribe, or change list options,
>> visit: https://lists.midrange.com/mailman/listinfo/web400
>> or email: [email protected]
>> Before posting, please take a moment to review the archives
>> at https://archive.midrange.com/web400.
>>
>>
-- 
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.