justAnoob Posted June 14, 2009 Share Posted June 14, 2009 yes i did mention this in another post, but if it is ok i would like to start a new post with it. when my page loads up, it seems to load up just fine. except on the bottom of my browser it says 'done, but with errors' what kind of errors does that mean? is there any way to display those errors? I have tried using error_reporting(E_ALL); ini_set('display_errors',1); but nothing shows. Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/ Share on other sites More sharing options...
Maq Posted June 14, 2009 Share Posted June 14, 2009 Seems to be custom error checking. Can you show this bit of code that would display that message? Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855374 Share on other sites More sharing options...
.josh Posted June 14, 2009 Share Posted June 14, 2009 That means there are javascript errors on the page. And no, it's not okay to start new posts asking the same thing. Stop. I deleted one of your threads, closed the other. If you don't stop, I will end you. Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855375 Share on other sites More sharing options...
justAnoob Posted June 14, 2009 Author Share Posted June 14, 2009 I got to put my daughter to sleep. laterz Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855396 Share on other sites More sharing options...
Maq Posted June 14, 2009 Share Posted June 14, 2009 I got to put my daughter to sleep. laterz Ok, that was totally irrelevant and unnecessary. This is a PHP Help forums, not Twitter, which we all know that CV loves oh so much. Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855400 Share on other sites More sharing options...
.josh Posted June 14, 2009 Share Posted June 14, 2009 but seriously, it's a javascript error(s). That's the message IE gives you on the bottom right of the browser window. If it's an IE specific js error, you can double click on it and hope it's not too vague. But first you should try running it in a real browser, like FF. open up the error console and be amazed. Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855403 Share on other sites More sharing options...
justAnoob Posted June 14, 2009 Author Share Posted June 14, 2009 here is the errors that it gives me AC_FL_Runcontent is not defined. it says it is non the lines below... <?php $sql = mysql_query("SELECT id, imgpath, item_name, description, in_return, user_id FROM abcxyz ORDER BY id DESC LIMIT 0, 4"); echo "<table border='0' CELLPADDING=5 STYLE='font-size:16px'>"; while ($row = mysql_fetch_array($sql)) { echo "<tr><td align='center'>"; echo '<a href="viewitem.php?sendto='.$row['id'].'"><img src="' . $row['imgpath'] . '" width="125" border="0" alt=""></a>'; echo "</td><td align='center'>"; echo "".substr($row['item_name'],0,50),""; echo "</td><td align='center'>"; echo substr($row['description'],0,50).'<a href="viewitem.php?sendto='.$row['id'].'" class="view_item"> ...more</a>'; echo "</td><td align='center'>"; echo substr($row['in_return'],0,50).'<a href="viewitem.php?sendto='.$row['id'].'" class="view_item"> ...</a>'; echo "</td><td align='center'>"; echo "</td></tr>"; echo '<tr><td height="19" colspan="4">'; echo '<hr width="550">'; echo "</td></tr>"; } echo "</table>"; //this line ?> <?php echo '<div align="center">'; //this line also $brick = "SELECT * FROM abcxyz"; $poison = mysql_query($brick); $gas = mysql_num_rows($poison); echo "© Copyright 2008-09 - Total # of items = " . $gas; echo '</div>'; ?> Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855825 Share on other sites More sharing options...
jxrd Posted June 14, 2009 Share Posted June 14, 2009 It means lines on your source, not on your script... differences between php and js Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855827 Share on other sites More sharing options...
justAnoob Posted June 14, 2009 Author Share Posted June 14, 2009 so what is ac_fl_runcontent. can't find anything on google. Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855872 Share on other sites More sharing options...
.josh Posted June 14, 2009 Share Posted June 14, 2009 Go to your page. Rightclick > viewsource. Ctrl+F and enter in ac_fl_runcontent. Nothing found? For each .js file included, wash, rinse and repeat, until you find where it is trying to call it. Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855884 Share on other sites More sharing options...
.josh Posted June 14, 2009 Share Posted June 14, 2009 so what is ac_fl_runcontent. can't find anything on google. p.s.- you're a damn liar. If you had bothered to google it, there's a ton of results about it. Stop being a lazy bum and put more effort into this. Why are you even bothering with this programming stuff if you aren't going to make an effort? Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855886 Share on other sites More sharing options...
jxrd Posted June 14, 2009 Share Posted June 14, 2009 FF even tells you which file it's in lol. Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855889 Share on other sites More sharing options...
justAnoob Posted June 15, 2009 Author Share Posted June 15, 2009 crayon,,, i don't know why your so mean dude. i looked on google and couldn't find anything, sorry man. i would say thanks for the info on letting me know what to do, but then you had your little love note p.s. attatchment. sorry if you've had a bad day. and yes,, i did see that FF tells you what file it is. ,,, oh yeh ,,, ps... no need to use the profanity... Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855948 Share on other sites More sharing options...
.josh Posted June 15, 2009 Share Posted June 15, 2009 so when you type in "ac_fl_runcontent" into google it returns 0 results huh? Well then I guess your internet must be broken, and you have bigger problems than this script. Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855951 Share on other sites More sharing options...
justAnoob Posted June 15, 2009 Author Share Posted June 15, 2009 ah yes, i did just find something on google. sorry. just though i would post it up. i guess i will stop with those kind of posts. Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-855954 Share on other sites More sharing options...
Maq Posted June 15, 2009 Share Posted June 15, 2009 ah yes, i did just find something on google. sorry. just though i would post it up. i guess i will stop with those kind of posts. .... Quote Link to comment https://forums.phpfreaks.com/topic/162101-solved-how-to-show-errors-with-php-that-appear-on-my-browser/#findComment-856182 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.