NocturnalGPT Posted July 1, 2010 Share Posted July 1, 2010 Here is the error name: (Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/nocttcom/public_html/pages/header.php on line 29) I will attach a picture of the line. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/ Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 Please post your code. Ken Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079467 Share on other sites More sharing options...
NocturnalGPT Posted July 1, 2010 Author Share Posted July 1, 2010 I attached a picture of the code. Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079469 Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 Most people don't download attachments. Posting the code is much more efficient here. Ken Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079473 Share on other sites More sharing options...
NocturnalGPT Posted July 1, 2010 Author Share Posted July 1, 2010 You don't have to download anything. But I will post the code anyways. 26. <td align="center" colspan="4"> 27.<table width="100%" border="0" cellspacing="0" cellpadding="0" name="Site Menu"> 28. <tr> 29. <td align="center" height="21" bordercolor="#626FB7" background="<script language="php"> pages_url.gif" ();</script>barclass="menu"> 30.<A HREF="<script language="php"> pages_url();</script>index.php" class="menu">HOME</A> Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079486 Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 What are you trying to accomplish with this? <script language="php"> pages_url.gif" ();</script> BTW, most people start a segment of PHP core with "<?php" and end it with "?>" And posted code should be put between tags. Ken Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079490 Share on other sites More sharing options...
NocturnalGPT Posted July 1, 2010 Author Share Posted July 1, 2010 I did not design this code. It is a script that I purchased, and I was editing it and now I get the error that I listed. Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079494 Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 What did you change? Ken Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079495 Share on other sites More sharing options...
NocturnalGPT Posted July 1, 2010 Author Share Posted July 1, 2010 Nothing, I am new to php and all I did was type in "testing" to see exactly where it was located on the page. Then I removed the "testing", and now I get the error. Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079497 Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 If it ran before you changed something and doesn't run after you changed it (and removed your change) then you didn't remove the change correctly. Looking at the code, I would guess that the line should be <td align="center" height="21" bordercolor="#626FB7" background="<script language="php"> pages_url();</script>barclass="menu"> but I could be mistaken. What is the name of the package you bought? Is there any support with it? Ken Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079510 Share on other sites More sharing options...
gizmola Posted July 1, 2010 Share Posted July 1, 2010 PEBKAC Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079513 Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079516 Share on other sites More sharing options...
NocturnalGPT Posted July 1, 2010 Author Share Posted July 1, 2010 Ken, thanks alot man. That was it, you can close this thread now. Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079517 Share on other sites More sharing options...
Pikachu2000 Posted July 1, 2010 Share Posted July 1, 2010 PEBKAC Agreed. Almost certainly a PEBCAK error. Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079519 Share on other sites More sharing options...
kenrbnsn Posted July 1, 2010 Share Posted July 1, 2010 We don't close threads. The OP marks them "solved" by clicking the button labeled "Mark Solved" at the bottom. Ken Link to comment https://forums.phpfreaks.com/topic/206354-i-need-help-with-an-error/#findComment-1079522 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.