Page 1 of 1

Another BlueSteel question

PostPosted: Wed Nov 15, 2006 6:47 am
Author: Watcher
need to find out why, after i fix the parse error, it comes back even after i clear the cashe files in /cache/tpl_BlueSteel.portal_page_tail.php, when it tells me i have a error, if i add "}" at the end of a section on line 112, it fixes it but it comes back ever so often

what happens after i fix the parse, i can than see the block with the copyrights, and who designed the theme. where would i find that block that has that in it, don't know what its called. just wondering if there is a problem with that, and it is causing my parse error. maybe you can give me some insight on how to repair it?

also on the right side of the portal page the border isnt like the left side, but that is only before i fix the parse error after i fix the parse error it looks fine

ok i found the tpl that has that info can someone look it over an see if there is a error in the scripting of it? please?

Code: Select all
<START>    <div>:: Skin By <a>2$CoMpLiCaTeD$4u</a> :: Ported to IntegraMOD by <a>Helter Skelter</a> :: <br>:: Powered by <a>IntegraMOD</a>{INTEGRAMOD_VERSION} ÂÂÂ © 2004, 2005 The Integramod Group {TRANSLATION_INFO} ::<br>:: Forum powered by <a>phpBB</a>{PHPBB_VERSION} ÂÂÂ © 2001, 2005 phpBB Group :: <br>:: {PROTECTED}{BLOCKED} ::<br>:: {S_TIMEZONE} :: <br></div>  <a></a>    </tr></table></td></tr></table><table><tr><td><div><img></div></td><td><div></div></td><td><div><img></div></td></tr></table><center></td></tr></table></td><td></td></tr><tr><td><div><img></div></td><td><div></div></td><td><div><img></div></td></tr></table></td><td><div><img></div></td></tr></table><tr><td><table><tr><td><div><a><img></a></div></td><td><center>{DEBUG_STATS}</center></td><td><div><a><img></a></div></td></tr></table></td></tr></table>    <END><END></body></html>

Re: Another BlueSteel question

PostPosted: Wed Nov 15, 2006 9:58 pm
Author: Frost
Which file are you editing? You said line 112 but the one you pasted only has around 88 lines.

Post your exact error you are getting and attach the file of the one you are editing as well as the one you pasted here. Attach the real file not just quoted code so I can look at it

Re: Another BlueSteel question

PostPosted: Thu Nov 16, 2006 2:31 am
Author: Watcher
this is the error im getting ever so often

Code: Select all
Parse error]

than i go to line 112 and add a "}" after this
[code]{  $border_item = &$border_item['border.'][$border_i];  $border_item['S_ROW_COUNT'] = $border_i;  $border_item['S_NUM_ROWS'] = $border_count;  [/code]
and the parse error is gone. being as that is a cash file,
this is the cashe file in /cache/tpl_BlueSteel.portal_page_tail.php, the error is in this cashe file.
[code]<php>vars['HEADER_WIDTH'] : $this->lang('HEADER_WIDTH'); ?>" valign="top"><php>_tpldata['header_blocks_row.']) ) ?  sizeof($this->_tpldata['header_blocks_row.']) : 0;for ($header_blocks_row_i = 0; $header_blocks_row_i <header_blocks_row_count>_tpldata['header_blocks_row.'][$header_blocks_row_i];  $header_blocks_row_item['S_ROW_COUNT'] = $header_blocks_row_i;  $header_blocks_row_item['S_NUM_ROWS'] = $header_blocks_row_count;  ?>   <table>   <tr>    <td><img></td><td></td><td><img></td>   <table>         <?php  $title_count = ( isset($header_blocks_row_item['title.']) ) ? sizeof($header_blocks_row_item['title.']) : 0;for ($title_i = 0; $title_i <title_count>     <tr>         <th><php></th>     </tr>     <php>     <tr>         <td         <?php  $background_count = ( isset($header_blocks_row_item['background.']) ) ? sizeof($header_blocks_row_item['background.']) : 0;for ($background_i = 0; $background_i <background_count>         class="row1"         <php>         ><php></td>     </tr></table><?php  $border_count = ( isset($header_blocks_row_item['border.']) ) ? sizeof($header_blocks_row_item['border.']) : 0;for ($border_i = 0; $border_i <border_count>      <table><tr><td><div><img></div></td><td><div></div></td><td><div><img></div></td></tr></table>  <?php  $border_count = ( isset($border_item['border.']) ) ? sizeof($border_item['border.']) : 0;for ($border_i = 0; $border_i <border_count><table><tr><td><img></td><td><img></td><td><img></td></tr></table><php><php></td>[/code]

i was thinking there has to be an error in ether the portal_page_tail.php

[code]<td><img></td><td><BEGIN>   <table>   <tr>    <td><img></td><td></td><td><img></td>   <table>         <BEGIN>     <tr>         <th>{tail_blocks_row.title.TITLE}</th>     </tr>     <END>     <tr>         <td         <BEGIN>         class="row1"         <END>         >{tail_blocks_row.OUTPUT}</td>     </tr></table><BEGIN>        <table><tr><td><div><img></div></td><td><div></div></td><td><div><img></div></td></tr></table>  <BEGIN><table><tr><td><img></td><td><img></td><td><img></td></tr></table><END><END></td>[/code]

or this one

[code]<START>    <div>:: Skin By <a>2$CoMpLiCaTeD$4u</a> :: Ported to IntegraMOD by <a>Helter Skelter</a> :: <br>:: Powered by <a>IntegraMOD</a>{INTEGRAMOD_VERSION} ÂÂÂ © 2004, 2005 The Integramod Group {TRANSLATION_INFO} ::<br>:: Forum powered by <a>phpBB</a>{PHPBB_VERSION} ÂÂÂ © 2001, 2005 phpBB Group :: <br>:: {PROTECTED}{BLOCKED} ::<br>:: {S_TIMEZONE} :: <br></div>  <a></a>    </tr></table></td></tr></table><table><tr><td><div><img></div></td><td><div></div></td><td><div><img></div></td></tr></table><center></td></tr></table></td><td></td></tr><tr><td><div><img></div></td><td><div></div></td><td><div><img></div></td></tr></table></td><td><div><img></div></td></tr></table><tr><td><table><tr><td><div><a><img></a></div></td><td><center>{DEBUG_STATS}</center></td><td><div><a><img></a></div></td></tr></table></td></tr></table>    <END><END></body></html>


this one is the footer with all the copyrights on it, "note" going to extream styles and clearing the cash does not fix the parse error

hope this explains it better

Re: Another BlueSteel question

PostPosted: Thu Nov 16, 2006 11:59 pm
Author: Frost
Before I get into looking through all these files I have a hunch <img>

What ftp program are you using? Hopefully you don't say CoffeeCup Free ftp...

I need you to try something first...

1) Find and rename the file that you edited by adding the bracket in, to "file.php-orig"

2) Find and rename the other file you said you thought (probably overall_footer.tpl or simple_footer.tpl) to "file.tpl-orig"

Example: "portal_page_tail.php-orig"

Or you can just delete them completely if you have not edited them and they are completely original

Now go and reupload the files again as this could be an error from the ftp client

(I would suggest Filezilla or something along those lines)

Or better yet, go and download the package again or unzip again as it could have been a problem with the unzipping and then reupload a brand new file(s)

After you have done this delete the cache from your browser and website and see if the error comes back.

Re: Another BlueSteel question

PostPosted: Fri Nov 17, 2006 8:49 am
Author: Watcher
ok ill try that and let you know and i use WS-FTP professional 2006 for my ftp program

ok i replaced the 2 tpl {overall_footer_tpl, and the portal_page_tail_tpl}

im now getting this for an error

Code: Select all
Parse error]

as you can see it is line 114 now and not 112 on the cashe/tpl_BlueSteel.portal_page_tail_tpl
[code]<php>vars['HEADER_WIDTH'] : $this->lang('HEADER_WIDTH'); ?>" valign="top"><php>_tpldata['header_blocks_row.']) ) ?  sizeof($this->_tpldata['header_blocks_row.']) : 0;for ($header_blocks_row_i = 0; $header_blocks_row_i <header_blocks_row_count>_tpldata['header_blocks_row.'][$header_blocks_row_i];  $header_blocks_row_item['S_ROW_COUNT'] = $header_blocks_row_i;  $header_blocks_row_item['S_NUM_ROWS'] = $header_blocks_row_count;  ?>   <table>   <tr>    <td><img></td><td></td><td><img></td>   <table>         <?php  $title_count = ( isset($header_blocks_row_item['title.']) ) ? sizeof($header_blocks_row_item['title.']) : 0;for ($title_i = 0; $title_i <title_count>     <tr>         <th><php></th>     </tr>     <php>     <tr>         <td         <?php  $background_count = ( isset($header_blocks_row_item['background.']) ) ? sizeof($header_blocks_row_item['background.']) : 0;for ($background_i = 0; $background_i <background_count>         class="row1"         <php>         ><php></td>     </tr></table><?php  $border_count = ( isset($header_blocks_row_item['border.']) ) ? sizeof($header_blocks_row_item['border.']) : 0;for ($border_i = 0; $border_i <border_count>      <table><tr><td><div><img></div></td><td><div></div></td><td><div><img></div></td></tr></table>  <?php  $border_count = ( isset($border_item['border.']) ) ? sizeof($border_item['border.']) : 0;for ($border_i = 0; $border_i <border_count><table><tr><td><img></td><td><img></td><td><img></td></tr></table><php><php></td>    [/code]

this is the section that is affected, line 114 is the "?>" in this section of the cashe file

[code]{  $border_item = &$border_item['border.'][$border_i];  $border_item['S_ROW_COUNT'] = $border_i;  $border_item['S_NUM_ROWS'] = $border_count;  ?>          <--------this is line 114


so it seems it has something to do with the border, i have noticed the border on the right side of all pages has a flat line all the way down the page, not like the left side that looks indented

you can see my site here

[url=http]http://worldofarkania.net/New_World_Portal/portal.php[/url]

hope this helps explain my problem

Re: Another BlueSteel question

PostPosted: Fri Nov 17, 2006 6:11 pm
Author: Watcher
Just updated my forum to 20.21 still getting the parse error but i found out the parse error is not on the information tpl or the login tpl. am very confused..

Re: Another BlueSteel question

PostPosted: Fri Nov 17, 2006 7:19 pm
Author: Teelk
Just did some digging... this is a template error. Can you post bluesteel's portal_page_tail.tpl.

Or better yet, you may be able to just copy over it with the one from the fisubice theme. Just backup you bluesteel file first.

Re: Another BlueSteel question

PostPosted: Fri Nov 17, 2006 9:38 pm
Author: Watcher
Well......... thank you very much! that seems to have fixed the parse problem but for some reason my center blocks are not streching to the with of the page, now there is a empty section on the right of the page?would that be a tpl problem or a block problem?

im thinking its a setting i did but dont know what?

by the way thanks for the help...

Re: Another BlueSteel question

PostPosted: Fri Nov 17, 2006 9:45 pm
Author: Teelk
Could be that portal wide footers are on, check portal configuration in the ACP.

If it's not on, then you better post the portal_page_tail.php, it may be different from the fisubice one.

Re: Another BlueSteel question

PostPosted: Fri Nov 17, 2006 10:24 pm
Author: Watcher
yes i have my overall footer box checked but whats happening is my header blocks are staying on the left side at the right spot but the footer blocks are squeezing in the center blocks what makes the center blocks strech out so the footer and the header blocks are spaced the same from the outer edge