kthxbai2u Posted March 12, 2007 Share Posted March 12, 2007 Ok, i've been coding this site for a while, and it worked fine i swear in IE a while ago, now im noticing problems with IE and PNG files... And i thought IE's CSS problems were messing up my site. Turns out it isnt the CSS. I commented it out and still have the same problem. My Site: http://kthx.zapto.org The problem is, when i login as admin to my site (i coded), and i click to add a news, it sends the cmd to the MySQL server, and then redirects back to the new news page. The new news item is not displayed, even if i refresh. Usually, ill have to go and delete temp internet files and cookies etc. to get it to work. It works flawlessley in FireFox though, each update to the database appears on the news page fine. Im not sure, i think it has to do with IE6 and session cookies or something, because the database server has to be returning the new data result (including the newly added news) and therefore it should be displayed on page reload... This problem is confusing the hell out of me, and im willing to allow someone admin access to the script to help me out with this problem. As well as ftp access to look at the code. Post here, and also PM me through the board. Link to comment https://forums.phpfreaks.com/topic/42316-solved-php-page-not-showing-updates-from-db-in-ie6/ Share on other sites More sharing options...
HaLo2FrEeEk Posted March 12, 2007 Share Posted March 12, 2007 I had this problem when I configured my site to use php 5 instead of php 4, php 4 I guess is better with mysql than php5, I would suggest that (if you can do it yourself) change back to using php 4, otherwise beg your host to switch back, or learn how to do it in php 5. Your browser does not matter, since php is a server side language, what browser you are using is irrelivant. Link to comment https://forums.phpfreaks.com/topic/42316-solved-php-page-not-showing-updates-from-db-in-ie6/#findComment-205279 Share on other sites More sharing options...
kthxbai2u Posted March 12, 2007 Author Share Posted March 12, 2007 Thats what i thought. I thought why would it be affected by what browser im using, but then i thought maybe IE wasnt passing the session variables right. I know its all executed on the server, im a php programmer (new one ) Anyways, I am using Xampp, because it was quick and easy. I do recall seeing that it uses php5, im going to try to get apache, php4 and mysql running. What do you suggest is the best version of MySQL to work with PHP 4 ? I hope this fixes my site heh... <edit>Well, xampp has a batch file to switch it between php4 and php5 ill post back in 5-10 mins if it fixes my problem </edit> Link to comment https://forums.phpfreaks.com/topic/42316-solved-php-page-not-showing-updates-from-db-in-ie6/#findComment-205282 Share on other sites More sharing options...
kthxbai2u Posted March 12, 2007 Author Share Posted March 12, 2007 Well, it didnt work. Im running php 4 now and i still have the same problem. Still works flawlessly in firefox i need it to work in IE tho :-/ thats what most noobies use <edit>Heres a link to my index.phps file http://kthx.zapto.org/index.phps If you want .phps for any of the includes lemme know</edit> No one better copy my site steal snippets is ok. Link to comment https://forums.phpfreaks.com/topic/42316-solved-php-page-not-showing-updates-from-db-in-ie6/#findComment-205285 Share on other sites More sharing options...
kthxbai2u Posted March 12, 2007 Author Share Posted March 12, 2007 Sorry I would have edited my previous post but i got logged out and then i logged back in now i cant modify the previous post. Anyways, I've backed up my database, and added a testuser account with admin privelages, so whoever wants can try to update the news to see my problem. Then do it in FF and it will work fine. Heres the login info: User: testuser Pass: test http://kthx.zapto.org/ Please, i need someone to help me lol. This is under a tight timeline right now and im falling behind Everything was going good till i noticed i had this problem Link to comment https://forums.phpfreaks.com/topic/42316-solved-php-page-not-showing-updates-from-db-in-ie6/#findComment-205297 Share on other sites More sharing options...
JasonLewis Posted March 12, 2007 Share Posted March 12, 2007 the password isnt long enough. and another thing, if you type and invalid name and password then it displays the message twice on the error page. you should look into that. Link to comment https://forums.phpfreaks.com/topic/42316-solved-php-page-not-showing-updates-from-db-in-ie6/#findComment-205298 Share on other sites More sharing options...
kthxbai2u Posted March 12, 2007 Author Share Posted March 12, 2007 Try now, sorry I didnt get the validation in the add user section of the admin menu, and the login form minimum length was set to 5. I changed it to 4 though, it should let you login now and another thing, if you type and invalid name and password then it displays the message twice on the error page. you should look into that. Yeah, i actually put in 2 more checks to see if the password is right (for other reasons), but i left an else on one of them and made it display the error again. I meant to comment that out (or remove it) but im aware of it and its fixed now thanks Thats a result of copy/pasting my own code haha Link to comment https://forums.phpfreaks.com/topic/42316-solved-php-page-not-showing-updates-from-db-in-ie6/#findComment-205302 Share on other sites More sharing options...
kthxbai2u Posted March 12, 2007 Author Share Posted March 12, 2007 I SOLVED IT MYSELF!! w000t! Ok, In the top of the page, I had the following code: session_cache_limiter('private'); session_cache_expire(30); if (session_id() == "") session_start(); I did this for some reason, had something to do with the login but i forget now. Anyways, i changed it to this: session_cache_limiter(no-cache'); session_cache_expire(30); if (session_id() == "") session_start(); and now when i update news in IE it works Big thanks to anyone who was going to help me Link to comment https://forums.phpfreaks.com/topic/42316-solved-php-page-not-showing-updates-from-db-in-ie6/#findComment-205331 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.