brentman Posted February 22, 2015 Share Posted February 22, 2015 (edited) I have been working on a php application and spent a lot of time on it. I have finally finished. Only one problem. The weirdest bug keeps happening. I have a file that has one place where it reads the database and echos out an iframe and some CSS. It is a pretty simple file. There are no database writes in it. Every time I go in there and try to edit my CSS, my database breaks. What happens is the iframe (which does contain writes and lots of complex logic) has two inputs and one output. When I run this file on its own, I can do it all day long with no problems. When I run the URL with it in as an iframe, no problems. When I open the file and make any change to the CSS, it breaks. I set the changes back how they were yet it still will not work. I clear all the data out of the database incase there was a bad write of data. Does not work. The only thing that works is I download a current backup of the database (even in the broken form) and reupload it. THIS WORKS! What is going on here! What should I do (besides not ever editing css on my site ever again)? I am going crazy over this! Edited February 22, 2015 by brentman Quote Link to comment https://forums.phpfreaks.com/topic/294827-editing-css-breaks-my-database/ Share on other sites More sharing options...
Solution brentman Posted February 22, 2015 Author Solution Share Posted February 22, 2015 Also btw: I tried going down my big file that is all php that is the iframe and the variables make it all the way through to a large complex mysql query and that is where it stops. The query has not changed in any way. So it is obviously something wrong with the mysql database I think. I am just at a loss of what to check on or how to permanently fix the issue. Quote Link to comment https://forums.phpfreaks.com/topic/294827-editing-css-breaks-my-database/#findComment-1506480 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.