My web site is called mypos-demo , it was working good for 2 months till the last days , it start to get a database error one creating a raw " a foreign key constraint fails " .
i checked the code and tried it in local server and it is ok ( i even didn’t changed it since i uploaded it and it was working great as i said before ) , i even tried to insert the row from phpmyadmin , and it also give me the same error !! , checked the id of the inserted key and it is exists so i didn’y find a problem in my code or in my database it self ( again the site was working great till the last days ) the last time it is great was on 31 Dec , from then the problem started to raise
So please tell me what is the problem , is it a problem in the services all or what ?