Re: Help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Without code it is hard to give an indication... Try and match php.ini's..
Anyway i go home now. Maybe in the evening have some time to think.. Or
maybe some other bright mind on the list has an idea..

goodluck,

Thijs

> I would do but there are 5000+ lines and no indication of where the error
> is
> occurring. I have just copied the demo version into the same dir and it
> works fine - and that version calls the same classes (includes).
>
> On 28/04/06, T.Lensselink <admin@xxxxxxxxxx> wrote:
>>
>> Maybe show some code... Think some error inside a class / function
>> causes
>> that no output is send...
>>
>> > Thanks - now the parameters reach the function intact but the mailer
>> still
>> > does not work. Basically, the form is a self-reloader. If the form has
>> > been
>> > submitted and the data validated (including emails sent) it displays a
>> > thank
>> > you message. Otherwise it shows the starter form.
>> >
>> > All that happens when I submit is a white page - no errors
>> (display_errors
>> > is on and error reporting set to the default level) and no html. Nada.
>> > When
>> > I try and view source I am given the browser re-post warning.
>> >
>> > On 28/04/06, T.Lensselink <admin@xxxxxxxxxx> wrote:
>> >>
>> >> Hey Dave,
>> >>
>> >> Besides from example two being the correct way to call array
>> elements.
>> I
>> >> think it has something todo with error reporting. It's the only thing
>> >> that
>> >> comes to mind right now. Maybe you demo server doesn't echo
>> notices...
>> >> Maybe i'm wrong .. it's friday and my brain don't work that good :)
>> >>
>> >> p.s.
>> >> plz reply to the list :)
>> >>
>> >> > Hmmm...
>> >> >
>> >> > In the demo version the script accesses the $_GET array - an
>> example
>> >> > value:
>> >> >
>> >> > $data[email]
>> >> >
>> >> > ..which works fine in the demo app. If I quote all the values thus
>> in
>> >> the
>> >> > new version:
>> >> >
>> >> > $data['email']
>> >> >
>> >> > ..the arguments appear in the correct order. I understand the
>> second
>> >> > format
>> >> > is better to disambiguate constants but the former format works
>> fine
>> >> for
>> >> > the
>> >> > demo version. Any reason for the discrepancy?
>> >> >
>> >> > On 28/04/06, T.Lensselink <admin@xxxxxxxxxx> wrote:
>> >> >>
>> >> >> Well there is an undefined constant prize somewhere.. well it's
>> just
>> >> a
>> >> >> notice but it really looks like the problem.. Try setting
>> >> >> error_reporting(0) and see if it runs...
>> >> >>
>> >> >> > process1.php only has 64 lines.
>> >> >> >
>> >> >> > On 28/04/06, T.Lensselink <admin@xxxxxxxxxx> wrote:
>> >> >> >>
>> >> >> >> A blade? come on :)
>> >> >> >>
>> >> >> >> Seems to me it's just an error in :
>> >> >> >> /home/friend/public_html/process1.php
>> >> >> >> line 158 that mangles up your email output. Try and fix this
>> >> >> undefined
>> >> >> >> constant.
>> >> >> >>
>> >> >> >> > Hi all - I am attempting to solve some maddening behaviour
>> that
>> >> has
>> >> >> me
>> >> >> >> > totally stumped and before I take a blade to my throat I
>> thought
>> >> I
>> >> >> >> would
>> >> >> >> > pick the brains of the group/hive/gang.
>> >> >> >> >
>> >> >> >> > I am working on a viral marketing application that uses
>> >> multipart
>> >> >> >> emails
>> >> >> >> > to
>> >> >> >> > notify entrants of their progress in the 'game'. I have a
>> demo
>> >> >> version
>> >> >> >> > which
>> >> >> >> > works fine, and the current rebranded version was also fine
>> >> until
>> >> >> the
>> >> >> >> > client
>> >> >> >> > asked for some changes then POWWWWW!
>> >> >> >> >
>> >> >> >> > I will try and define the issue as simply as I can. I am
>> passing
>> >> 11
>> >> >> >> > arguments to a function called sendSantaMail (don't ask) and
>> as
>> >> a
>> >> >> >> sanity
>> >> >> >> > check I have called mail() to let me know the values just
>> before
>> >> >> they
>> >> >> >> are
>> >> >> >> > passed in to the function. I get this result:
>> >> >> >> >
>> >> >> >> > "Values to be passed to sendSantaMail:
>> >> >> >> >
>> >> >> >> > Friend Name: Treyt
>> >> >> >> > Friend Email: wonder@xxxxxxx
>> >> >> >> > Sender Name: Bull Sykes
>> >> >> >> > Sender Email: chancer@xxxxxxxxx
>> >> >> >> > Prize ID: 1
>> >> >> >> > Nominator ID: 2555004452133557e4d
>> >> >> >> > Nominee ID: 851355445213355cc6f
>> >> >> >> > Chain ID: CHAIN824452133561a8d"
>> >> >> >> >
>> >> >> >> > - this is all good and correct. I also call mail from the
>> >> receiving
>> >> >> >> > function
>> >> >> >> > to check the actual values received by the function and I get
>> >> this:
>> >> >> >> >
>> >> >> >> > "Values sent into sendSantaMail function:
>> >> >> >> >
>> >> >> >> > Friend Name: chancer@xxxxxxx
>> >> >> >> > Friend Email: Look what you may have won!
>> >> >> >> > Sender Name: 8 Use of undefined constant prize - assumed
>> 'prize'
>> >> >> >> > Sender Email: 158
>> >> >> >> > Sender Email: /home/friend/public_html/process1.php
>> >> >> >> > <chancer@xxxxxxx>Prize: 1
>> >> >> >> > Subject: 158
>> >> >> >> > Nominator ID: 33238744520f5235b85
>> >> >> >> > Nominee ID: 96658244520f524bb19
>> >> >> >> > Chain ID: CHAIN84644520f525a56f"
>> >> >> >> >
>> >> >> >> > What is happening? I have checked the order of values being
>> >> passed
>> >> >> in
>> >> >> >> and
>> >> >> >> > the function prototype and they match in the correct order,
>> >> there
>> >> >> are
>> >> >> >> no
>> >> >> >> > default values. I have been trying to solve this for two days
>> >> and
>> >> >> am
>> >> >> >> > particularly concerned that somewhere along the way the
>> sender
>> >> >> email
>> >> >> >> value
>> >> >> >> > becomes the script name.
>> >> >> >> >
>> >> >> >> > Any ideas on this black Friday?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > http://www.web-buddha.co.uk
>> >> >> >> >
>> >> >> >> > dynamic web programming from Reigate, Surrey UK (php, mysql,
>> >> xhtml,
>> >> >> >> css)
>> >> >> >> >
>> >> >> >> > look out for project karma, our new venture, coming soon!
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > http://www.web-buddha.co.uk
>> >> >> >
>> >> >> > dynamic web programming from Reigate, Surrey UK (php, mysql,
>> xhtml,
>> >> >> css)
>> >> >> >
>> >> >> > look out for project karma, our new venture, coming soon!
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> PHP General Mailing List (http://www.php.net/)
>> >> >> To unsubscribe, visit: http://www.php.net/unsub.php
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > http://www.web-buddha.co.uk
>> >> >
>> >> > dynamic web programming from Reigate, Surrey UK (php, mysql, xhtml,
>> >> css)
>> >> >
>> >> > look out for project karma, our new venture, coming soon!
>> >> >
>> >>
>> >> --
>> >> PHP General Mailing List (http://www.php.net/)
>> >> To unsubscribe, visit: http://www.php.net/unsub.php
>> >>
>> >>
>> >
>> >
>> > --
>> > http://www.web-buddha.co.uk
>> >
>> > dynamic web programming from Reigate, Surrey UK (php, mysql, xhtml,
>> css)
>> >
>> > look out for project karma, our new venture, coming soon!
>> >
>>
>>
>>
>
>
> --
> http://www.web-buddha.co.uk
>
> dynamic web programming from Reigate, Surrey UK (php, mysql, xhtml, css)
>
> look out for project karma, our new venture, coming soon!
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux