This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

php 5.3.1


  1. steveb
    Member

    Hi

    I have had some problems with deprecated messages, I removed these but still get header issues when submitting the form

    Warning: Cannot modify header information - headers already sent by (output started at /home/websitem/public_html/clients/cf/includes/view-functions.php:1) in /home/websitem/public_html/clients/cf/view.php on line 41

    PHP/5.3.1

    i have edited the php.ini but the deprecated messages still exsist. So i remove dhte "&" after the "=" on the affected lines in view.php

    please help.

    Posted 15 years ago #
  2. yuniar

    This is most likely text editor problem. Try to restore the original view-functions.php and use another text editor to modify it.

    This one is good and free:
    http://notepad-plus.sourceforge.net/uk/site.htm

    Anyway, are you sure you have modified the correct php.ini file?
    Search a line which contain this variable: error_reporting
    Change it to become like this:

    error_reporting = E_ALL & ~E_DEPRECATED

    Save it and then restart your Apache server.
    The error message should be gone.


    MachForm Founder

    Posted 15 years ago #
  3. steveb
    Member

    I use Notepad++ so eliminates that

    I restored the view-functions.php and now have the deprecated messages, i edited php.ini in cpanel, plus restarted httpd. These errors still appear

    This php.ini is the correct one as i had to adjust settings the other day.

    Posted 15 years ago #
  4. yuniar

    That's weird. Try again one more time, this time search for this:

    display_errors = On

    change it to become:

    display_errors = Off

    If that doesn't work either, is it possible for us to login to your cPanel and check it directly?


    MachForm Founder

    Posted 15 years ago #

RSS feed for this topic

Reply