Happy Atheist Forum

Getting To Know You => Laid Back Lounge => Topic started by: Whitney on August 19, 2006, 05:32:33 AM

Title: WTF is wrong with the home page?
Post by: Whitney on August 19, 2006, 05:32:33 AM
I haven't touched one bit of code for the home page (site portal) but the columns area all fucked up now.  The column that use to be floated to the right of the page is now stuck down inside of the webring table.

Is it showing up like this for anyone else and does anyone know what could have caused this?
Title:
Post by: Big Mac on August 19, 2006, 05:42:18 AM
There's only one explanation.....


Onlyme mugged the website!!!!!!
Title: Re: WTF is wrong with the home page?
Post by: joeactor on August 19, 2006, 07:53:41 AM
Quote from: "laetusatheos"I haven't touched one bit of code for the home page (site portal) but the columns area all fucked up now.  The column that use to be floated to the right of the page is now stuck down inside of the webring table.

Is it showing up like this for anyone else and does anyone know what could have caused this?

Yeppers... I see it that way also.

I code for some PHPBB sites, so let me know if you'd like me to take a look around.  It may be a template issue (anyone mess with the admin pages?  config?  templates?)

I also tried switching myself to the "Sub Silver" template, but it mad no diff...

Lemme know if I may be of service,
  JoeActor
Title:
Post by: Squid on August 19, 2006, 08:11:37 AM
Bad thing about php, it can be so touchy sometimes.
Title:
Post by: Whitney on August 19, 2006, 08:23:47 AM
Crap.  No, no one who should be allowed to mess with files has touched anything.  I'm the only one with access other than Brian and he doesn't mess with script or the admin panel.  That's why I'm confused on why it looks different...I really haven't changed anything.  

I wonder if I got hacked..but if so, wouldn't the hacker have done some decent damange rather than just screwed around with the template?

I'm actually not even sure where to start looking for the error since the code, especially with php, still kinda looks like gibberish to me (I can't see blonde, brunette, redehead yet ;) )

So, yes, I need some help.  I was going to ask on the phpbb site but would rather one of the members here help since I assume admin or ftp access is required for anyone to figure out the problem.
Title:
Post by: Fourth Iteration on August 19, 2006, 08:32:20 AM
Erinos is currently napping before work, but I betcha if he knows you need a hand he'd help after work this morning. He's generally really good at that shit.
Title:
Post by: joeactor on August 19, 2006, 04:09:01 PM
If you haven't changed the templates, then it's most likely a missing end table or end tr tag on one of the announcement posts.

Any updates on announcements recently?
Title:
Post by: Erinos on August 19, 2006, 07:33:00 PM
Quote from: "joeactor"If you haven't changed the templates, then it's most likely a missing end table or end tr tag on one of the announcement posts.

Any updates on announcements recently?

My thoughts exactly. Probably missing one end tag some where.

I've submitted the happyatheist URL to a markup checker. There's quite a few things that need correction:

Markup Check (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.happyatheistforum.com%2Fportal.php)

After reviewing the markup check, it seems you'll want to scroll down to "Error Number 52", you've got a table that doesn't have an end tag.

[Edit]
Actually, it seems there are a few tables that need correction.
Title:
Post by: Erinos on August 19, 2006, 07:40:28 PM
Quote from: "laetusatheos"Crap.  No, no one who should be allowed to mess with files has touched anything.  I'm the only one with access other than Brian and he doesn't mess with script or the admin panel.  That's why I'm confused on why it looks different...I really haven't changed anything.  

I wonder if I got hacked..but if so, wouldn't the hacker have done some decent damange rather than just screwed around with the template?

I'm actually not even sure where to start looking for the error since the code, especially with php, still kinda looks like gibberish to me (I can't see blonde, brunette, redehead yet ;) )

So, yes, I need some help.  I was going to ask on the phpbb site but would rather one of the members here help since I assume admin or ftp access is required for anyone to figure out the problem.

You could have made changes a few days ago that were incorrect. That be the case, you would have had to refresh your cache before noticing weather it was correct or not. (ctrl + F5 = Refresh Cache)
Title:
Post by: Whitney on August 20, 2006, 12:32:31 AM
I wondering if the file became corrupted, because a lot of those errors are things which I have never altered...for instance all the stuff related to the calander...I'm going to try uploading the same files on my hard drive to the ftp and see if that fixes anything.

I think the last time I made changes was a couple weeks ago when I added the google banner...then last night when i added a donate button, but that was after the problem had occured.

Thanks for the help.
Title:
Post by: Whitney on August 20, 2006, 01:02:04 AM
I tried reuploading but that didn't change a thing.  I also removed the flash banner just to see if it changed, but that didn't help either.  I looked over the template coding for the portal and it looks the same to me.

Here's the code:

<table>
<tr>
<td><table>
<tr>
<td><img></td>
<td align="center" valign="top"<th>{L_BOARD_NAVIGATION}</th></td>
<td><img></td>
</tr>
</td>
<table>
<tr>
<td>
&nbsp;<b>{L_NAVIGATE}</b></a><br>
<img>&nbsp;<a>Home</a><br>
<img>&nbsp;<a>{L_FORUM}</a><br>
&nbsp;<b>{L_NEWS}</b></a><br>
<img>&nbsp;<a>{L_CATEGORIES}</a><br>
<img>&nbsp;<a>{L_ARCHIVES}</a><br>
&nbsp;<b>{L_TOOLS}</b></a><br>
<img>&nbsp;<a>{L_RECENT}</a><br>
<img>&nbsp;<a>{L_KB}</a><br>
<img>&nbsp;<a>{L_CALENDAR}</a><br>
<img>&nbsp;<a>{L_ALBUM}</a><br>
<img>&nbsp;<a>{L_LINKS}</a><br>
&nbsp;<b>{L_ABOUT_US}</b></a><br>
<img>&nbsp;<a>{L_FAQ}</a><br>
<img>&nbsp;<a>{L_STAFF}</a><br>
<img>&nbsp;<a>{L_MEMBERLIST}</a><br>
<img>&nbsp;<a>{L_USERGROUPS}</a><br>
<img>&nbsp;<a>{L_STATISTICS}</a><br>
<img>&nbsp;<a>{L_RANKS}</a><br>
<img>&nbsp;<a>{L_CONTACT}</a>
<img>&nbsp;<a>Site Map</a>
</span>
</td>  
</tr>
</table>


<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>
<BEGIN>
<table>
<tr>
<td><img></td>
<td align="center" valign="top"<th>{L_TOP_POSTERS}</th></td>
<td><img></td>
</tr>
</td>
<table>
<tr>
<td>{L_TOP_MEMBER}</td>
<td>{L_TOP_POSTS}</td>  
</tr>
<tr>
<END>
<BEGIN>
<td><a>&nbsp;{users.USERNAME}</a></td>
<td><b>&nbsp;&nbsp;{users.POSTS}</b></td>  
</tr>
<END>
<BEGIN>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>
<END>
<script type="text/javascript">
<function>
</script>
<form>
<table>
<tr>
<td><img></td>
<td align="center" valign="top"<th>{L_QUICK_SEARCH}</th></td>
<td><img></td>
</tr>
</td>
<table>
<tr>
<td>
<table>
<tr>
<td><input></td>
</tr>
<tr>
<td><select>
<option>{L_FORUM}</option>
<option>Google</option>
</select></td>
</tr>
<tr>
<td><input><br></td>
</tr>
</table>
<input>
<input>
<br>
[ <a>{L_ADV_SEARCH}</a> ]
</td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>
</form>
<BEGIN>
<table>
<tr>
<th>{L_RECENT_TOPICS}</th>
</tr>
<END>
<BEGIN>
<tr>
<td><span>
<BEGIN>
<img>&nbsp;<a>{switch_recent_topics_yes.recent_topic_row.L_TITLE}</a><br>
{L_WORD_BY} <a>{switch_recent_topics_yes.recent_topic_row.S_POSTER}</a> {L_WORD_ON} {switch_recent_topics_yes.recent_topic_row.S_POSTTIME}<br><br>
<END>
</span></td>
</tr>
<END>
<BEGIN>
<tr>
<td><span>{L_NO_RECENT_TOPICS}</span></td>
</tr>
<END>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>
<table>
<tr>
<th>{L_STATISTICS}</th>
</tr>
<tr>
<td><span>{TOTAL_USERS}<br>
{NEWEST_USER}<br>
<br>
{TOTAL_POSTS}</span></td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>
<BEGIN>
<table>
<tr>
<th><a>{L_LINKS}</a></th>
</tr>
<tr>
<td>{BANNER_16_IMG}<br><img><br>{BANNER_17_IMG}<br><img><br>{BANNER_18_IMG}<br><img><br>{BANNER_19_IMG}<br><img></td>
<tr>
<td><span>ezPortal by <a>Smartor</a></span></td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>
<END>
<BEGIN>
<table>
<tr>
<th>{L_NEWEST_PICS}</th>
</tr>
<END>
<BEGIN>
<tr>
<td><span>{L_NO_PICS}</span></td>
</tr>
<END>
<BEGIN>
<BEGIN>
<tr>
<td><a><img></a></td>
</tr>
<tr>
<td>
<span>{L_PIC_TITLE}: {recent_pics.recent_detail.TITLE}<br>
{L_POSTER}: {recent_pics.recent_detail.POSTER}<br>{L_POSTED}: {recent_pics.recent_detail.TIME}<br>
{L_VIEW}: {recent_pics.recent_detail.VIEW}<br>{recent_pics.recent_detail.RATING}{recent_pics.recent_detail.COMMENTS}<br></span>
</td>
</tr>
<END>
<END>
<BEGIN>
<tr>
<td><span>[ <a>{L_ALBUM}</a> ]</span></td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<END>
</td>
<td><img></td>
<td>
<BEGIN>
<table>
<tr>
<th>{SITENAME} - {SITE_DESCRIPTION}</th>
</tr>
<tr>
<td><p>{WELCOME_TEXT}</p></td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>
<END>
<BEGIN>
<table>
<tr>
<th>{L_NEWS_CATS}</th>
</tr>
<END>
<BEGIN>
<tr>
<td><span>{L_NO_NEWS_CATS}</span></td>
</tr>
<END>
<BEGIN>
<tr>
<BEGIN>
<td><span><a><img></a></span></td>
<END>
</tr>
<tr>
<BEGIN>
<td><span>
{newsrow.news_detail.NEWSCAT}</td>
<END>
</tr>
<END>
<BEGIN>
<tr>
<td>&nbsp;</td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<END>
<BEGIN>
<table>
<tr>
<th>{L_NEWS_ARCHIEVES}</th>
</tr>
<tr>
<td>
<END>
<BEGIN>
    <ul>
    <BEGIN>
      <li><a>{arch.year.YEAR}</a></li>
      <BEGIN>
      <li> <a>{arch.year.month.L_MONTH} {arch.year.month.POST_COUNT} </a></li>
      <BEGIN>
      <li> <a>{arch.year.month.day.L_DAY} {arch.year.month.day.POST_COUNT}</a></li>
      <END>
      <END>
    <END>
    </ul>
<END>
<BEGIN>
</td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<END>
<BEGIN>
<table>
<tr>
<td><span>{no_articles.L_NO_NEWS}</span></td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<END>
<BEGIN>
     <table>
     <tr>
     <td>
     <table>
     <tr>
     <td>{articles.L_TITLE_ICON}&nbsp;<a>{articles.L_TITLE}</a></td>
     <td>
     <a><img></a>
     <a><img></a>
     <a><img></a>
     </td>
     </tr>
     </table>
     </td>
     </tr>
     <tr>
     <td><span><a><img></a>{L_POSTED} {L_WORD_ON} {articles.POST_DATE} {L_WORD_BY} {articles.L_POSTER}</span></td>
     </tr>
     <tr>
     <td>
     <table>
     <tr>
     <td><a><img></a></td>
     <td>
     {articles.BODY}{articles.ATTACHMENTS}<br><br><span>{articles.READ_MORE_LINK}</span></td>
     </tr>
     </table>
     </td>
     <tr>
     <td>
     <table>
     <tr>
     <td><span>{L_NEWS_SUMMARY} <b><a>{articles.COUNT_VIEWS}</b> {L_NEWS_VIEWS}</a> {L_NEWS_AND}<b> <a>{articles.COUNT_COMMENTS}</b> {L_NEWS_COMMENTS}</a>.</span></td>
     <td>
     <span><a>{L_POST_COMMENT}</a>
     </td>
     </tr>
     </table>
     </td>
     </tr>
     </table>
     <table><tr><td><img></td><td><img></td><td><img></td></tr></table>
     <br>
<END>  
<BEGIN>
  <hr>
  <div>
    <div>{comments.L_TITLE}</div>
    <div>{comments.POST_DATE} by {comments.L_POSTER}</div>
    <hr>
    <div>
    {comments.BODY}
    </div>
  </div>
<END>
<BEGIN>
  <div>
    {pagination.PAGINATION}
  </div>
<END>
<table>
<tr>
<th>Suggested Reading - orders through the links below help support HAF</th>
</tr>
<tr>
<td>
<iframe></iframe>
<iframe></iframe>
<iframe></iframe>
<iframe></iframe>
<iframe></iframe>
<iframe></iframe>
<iframe></iframe>
</td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>
<table>
<tr>
<th>Browse the Web Rings</th>
</tr>
<tr>
<td>
<script type="text/javascript" src="http://ss.webring.com/navbar?f=j;y=laetusatheos;u=defurl">
</script><noscript><center>
<table><tr>
<td><table><tr><td>
<font>This site is a member of WebRing.
<br>To browse visit <a>
Here</a>.</font></td></tr></table></td></tr></table>
</center></noscript>
</td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>  
</td>
<td><img></td>
<td>
<BEGIN>
<table>
<tr>
<th>{L_NAME_WELCOME}</th>
</tr>
<tr>
<td><br>
{AVATAR_IMG}<br><br>
<span>{U_NAME_LINK}<br><br></span>
<span>{LAST_VISIT_DATE}<br>
{CURRENT_TIME}<br><br>
<a>{L_SEARCH_NEW_P}</a><br>
<a>{L_SEARCH_UNANSWERED}</a><br>
<a>{L_SEARCH_SELF}</a></span></td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>
<END>
<BEGIN>
<form>
<table>
<tr>
<th>{L_LOGIN}</th>
</tr>
<tr>
<td><span>
<input>
{L_USERNAME}:<br>
<input>
<br>
{L_PASSWORD}:<br>
<input>
<br>
</span>
<BEGIN>
<table>
<tr>
<td><input></td>
<td>&nbsp;{L_REMEMBER_ME}</td>
</tr>
</table>
<END>
<br> <input>
<br> <br> <a>{L_SEND_PASSWORD}</a><br>
<br><p>{L_REGISTER_NEW_ACCOUNT}</p></td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>
</form>
<END>
<BEGIN>
<table>
<tr>
<th>{L_SHOUTBOX}</th>
</tr>
<tr>
<td><span><iframe></iframe></span></td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>
<END>
<table>
<tr>
<th>{L_WHO_IS_ONLINE}</th>
</tr>
<tr>
<td>
<p>{TOTAL_USERS_ONLINE}<br>
<br>
{LOGGED_IN_USER_LIST}<br><br>
</p>
<p>[ <a>{L_VIEW_COMPLETE_LIST}</a> ]</p>
<br>
<p>{RECORD_USERS}</p></td>
</tr>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<br>
{PORTAL_POLL}
{MINI_CAL_OUTPUT}
<BEGIN>
<table>
<tr>
<th>{L_LAST_SEEN}</th>
</tr>
<END>
<BEGIN>
<tr>
<td><span>{L_USERS_TODAY}&nbsp;{L_USERS_LASTHOUR}<br></span></td>
</tr>
<END>
<BEGIN>
<tr>
<td><span>{last_seen_row.L_LSEEN_USERNAME} {L_WORD_ON} {last_seen_row.L_LSEEN_TIME}</span></td>
</tr>
<END>
<BEGIN>
</table>
<table><tr><td><img></td><td><img></td><td><img></td></tr></table>
<END>
<br>
</td>
</tr>
</table>


So, unless anyone sees something wrong with that, I think the issue must be somewhere else.
Title:
Post by: Whitney on September 22, 2006, 05:42:28 AM
Somehow the portal/front page fixed itself...must have been something screwy wrong with the php.
Title:
Post by: Tom62 on September 22, 2006, 08:10:05 AM
There must have been a disturbance in the Source. :lol: