Another BlueSteel question

Support for IntegraMOD 140

Moderator: Integra Moderator

Another BlueSteel question

PostAuthor: Watcher » Wed Nov 15, 2006 5:47 am

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>
Last edited by Watcher on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[img=left]http://worldofarkania.net/Downloads/Sig_logo/Steal_Watcher.gif[/img]
User avatar
Watcher
Integra Member
Integra Member
 
Posts: 183
Likes: 0 post
Liked in: 0 post
Joined: Sun Nov 05, 2006 8:26 pm
Cash on hand: 0.00

Re: Another BlueSteel question

PostAuthor: Frost » Wed Nov 15, 2006 8:58 pm

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
Last edited by Frost on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 1:04 am
Cash on hand: 0.00
Location: Photoshop CS3

Re: Another BlueSteel question

PostAuthor: Watcher » Thu Nov 16, 2006 1:31 am

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
Last edited by Watcher on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[img=left]http://worldofarkania.net/Downloads/Sig_logo/Steal_Watcher.gif[/img]
User avatar
Watcher
Integra Member
Integra Member
 
Posts: 183
Likes: 0 post
Liked in: 0 post
Joined: Sun Nov 05, 2006 8:26 pm
Cash on hand: 0.00

Re: Another BlueSteel question

PostAuthor: Frost » Thu Nov 16, 2006 10:59 pm

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.
Last edited by Frost on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 1:04 am
Cash on hand: 0.00
Location: Photoshop CS3

Re: Another BlueSteel question

PostAuthor: Watcher » Fri Nov 17, 2006 7:49 am

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
Last edited by Watcher on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[img=left]http://worldofarkania.net/Downloads/Sig_logo/Steal_Watcher.gif[/img]
User avatar
Watcher
Integra Member
Integra Member
 
Posts: 183
Likes: 0 post
Liked in: 0 post
Joined: Sun Nov 05, 2006 8:26 pm
Cash on hand: 0.00

Re: Another BlueSteel question

PostAuthor: Watcher » Fri Nov 17, 2006 5:11 pm

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..
Last edited by Watcher on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[img=left]http://worldofarkania.net/Downloads/Sig_logo/Steal_Watcher.gif[/img]
User avatar
Watcher
Integra Member
Integra Member
 
Posts: 183
Likes: 0 post
Liked in: 0 post
Joined: Sun Nov 05, 2006 8:26 pm
Cash on hand: 0.00

Re: Another BlueSteel question

PostAuthor: Teelk » Fri Nov 17, 2006 6:19 pm

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.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Re: Another BlueSteel question

PostAuthor: Watcher » Fri Nov 17, 2006 8:38 pm

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...
Last edited by Watcher on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[img=left]http://worldofarkania.net/Downloads/Sig_logo/Steal_Watcher.gif[/img]
User avatar
Watcher
Integra Member
Integra Member
 
Posts: 183
Likes: 0 post
Liked in: 0 post
Joined: Sun Nov 05, 2006 8:26 pm
Cash on hand: 0.00

Re: Another BlueSteel question

PostAuthor: Teelk » Fri Nov 17, 2006 8:45 pm

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.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Re: Another BlueSteel question

PostAuthor: Watcher » Fri Nov 17, 2006 9:24 pm

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
Last edited by Watcher on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[img=left]http://worldofarkania.net/Downloads/Sig_logo/Steal_Watcher.gif[/img]
User avatar
Watcher
Integra Member
Integra Member
 
Posts: 183
Likes: 0 post
Liked in: 0 post
Joined: Sun Nov 05, 2006 8:26 pm
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: Bing [Bot]