1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Edit form is not working after domain name change

Discussion in 'PHP' started by mi6hq, Jan 12, 2018.

  1. #1
    Hi,

    I just copied whole php script in new domain and every thing is working fine but there is a strange problem. When I open data edit form, page loads fine but when I enter data and click submit then I get following error:

    I don't know what happened. Same page opens fine but when submit button is clicked after data entry, above error occurs.
    SEMrush
    Help please?

    MI6
     
    mi6hq, Jan 12, 2018 IP
    SEMrush
  2. phpmillion

    phpmillion Member

    Messages:
    137
    Likes Received:
    11
    Best Answers:
    4
    Trophy Points:
    35
    #2
    Do you have mod_security installed on new server? It's possible mod_security causes this. If that's not the case, try to submit the form using plugin like Live HTTP Headers or similar and copy/paste the output here.
     
    phpmillion, Jan 13, 2018 IP
  3. jestep

    jestep Prominent Member Premium Member

    Messages:
    3,636
    Likes Received:
    212
    Best Answers:
    18
    Trophy Points:
    330
    #3
    Check the file permissions on editdata.php
     
    jestep, Jan 16, 2018 IP