[campsite-support] PHP problem when submit comment
  • Hi,
    When i submit the form comment without fill some field, all the php
    scripts i used dont works. Campsite dont interprets the code, just
    print it as text. Theres a way to fix this?

    Thanks in advance.

    __________________
    Carlos Cabrera
    Desarrollo Web
    www.elperiodico.com.gt


    www.elperiodico.com.gt
  • 3 Comments sorted by
  • Hi Carlos,

    Please provide us more information about the issue in order to
    understand what exactly is happening, anyway it should be something
    wrong on your side because that is not a normal behavior.

    I just saw the problem in the productive site, do not you use a
    development environment? it is a good practice to test hardly
    everything before going production, by the way, your mysql root
    password is visible, be careful.

    greetz,


    On 7/9/07, Carlos Cabrera wrote:
    >
    > Hi,
    > When i submit the form comment without fill some field, all the php scripts
    > i used dont works. Campsite dont interprets the code, just print it as text.
    > Theres a way to fix this?
    >
    > Thanks in advance.
    >
    > __________________
    > Carlos Cabrera
    > Desarrollo Web
    > www.elperiodico.com.gt
    >
    > www.elperiodico.com.gt
    >
    >
    >


    --
    /holman
  • Hi Holman,
    Thanks for the password advice, i dont know it. The problem is in the
    production and development site (you can see it in:
    http://proxy.elperiodico.com.gt/). I dont have idea what can be, just
    happens when theres a error in the comment form. Happens with any php
    code, only when the instruccion is
    true.

    Thanks.






    Holman Romero wrote:
    > Hi Carlos,
    >
    > Please provide us more information about the issue in order to
    > understand what exactly is happening, anyway it should be something
    > wrong on your side because that is not a normal behavior.
    >
    > I just saw the problem in the productive site, do not you use a
    > development environment? it is a good practice to test hardly
    > everything before going production, by the way, your mysql root
    > password is visible, be careful.
    >
    > greetz,
    >
    >
    > On 7/9/07, Carlos Cabrera wrote:
    >>
    >> Hi,
    >> When i submit the form comment without fill some field, all the php
    >> scripts
    >> i used dont works. Campsite dont interprets the code, just print it
    >> as text.
    >> Theres a way to fix this?
    >>
    >> Thanks in advance.
    >>
    >> __________________
    >> Carlos Cabrera
    >> Desarrollo Web
    >> www.elperiodico.com.gt
    >>
    >> www.elperiodico.com.gt
    >>
    >>
    >>
    >
    >


    www.elperiodico.com.gt
  • 1. Please verify if all the PHP open tags have the corresponding close tags.

    2. If you had the Campsite PHPwrapper installed please remove it.

    If neither this fixes your problem please send me all your templates
    together with the database (make a backup using campsite-backup-instance)

    Regards,
    Mugur

    On 7/9/07, Carlos Cabrera wrote:
    >
    >
    > Hi Holman,
    > Thanks for the password advice, i dont know it. The problem is in the
    > production and development site (you can see it in:
    > http://proxy.elperiodico.com.gt/). I dont have idea what can be, just
    > happens when theres a error in the comment form. Happens with any php
    > code, only when the instruccion is
    > true.
    >
    > Thanks.
    >
    > Holman Romero wrote:
    > > Hi Carlos,
    > >
    > > Please provide us more information about the issue in order to
    > > understand what exactly is happening, anyway it should be something
    > > wrong on your side because that is not a normal behavior.
    > >
    > > I just saw the problem in the productive site, do not you use a
    > > development environment? it is a good practice to test hardly
    > > everything before going production, by the way, your mysql root
    > > password is visible, be careful.
    > >
    > > greetz,
    > >
    > >
    > > On 7/9/07, Carlos Cabrera wrote:
    > >>
    > >> Hi,
    > >> When i submit the form comment without fill some field, all the php
    > >> scripts
    > >> i used dont works. Campsite dont interprets the code, just print it
    > >> as text.
    > >> Theres a way to fix this?
    > >>
    > >> Thanks in advance.
    > >>
    > >> __________________
    > >> Carlos Cabrera
    > >> Desarrollo Web
    > >> www.elperiodico.com.gt
    > >>
    > >> www.elperiodico.com.gt
    > >>
    > >>
    > >>
    > >
    > >
    >
    >
    > www.elperiodico.com.gt
    >