Activity Stream
48,167 MEMBERS
6810 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member

    Default 2 error

    First error
    during posting in footer I am getting dis error
    Parse error: syntax error, unexpected $end in /home/warezleg/public_html/cache/tpl_SoftWood_posting_poll_body.html.php on line 60
    Code of tpl_softwood_posting_poll_body.html.php
    <?php if (!defined('IN_PHPBB')) exit; ?><div class="panel bg3" id="poll-panel">
    <div class="inner"><span class="corners-top"><span></span></span>
    <?php if ($this->_rootref['S_INLINE_ATTACHMENT_OPTIONS']) { if ($this->_rootref['S_SHOW_POLL_BOX']) { ?>

    <p><?php echo ((isset($this->_rootref['L_ADD_POLL_EXPLAIN'])) ? $this->_rootref['L_ADD_POLL_EXPLAIN'] : ((isset($user->lang['ADD_POLL_EXPLAIN'])) ? $user->lang['ADD_POLL_EXPLAIN'] : '{ ADD_POLL_EXPLAIN }')); ?></p>
    <?php } ?>


    <fieldset class="fields2">
    <?php if ($this->_rootref['S_SHOW_POLL_BOX']) { if ($this->_rootref['S_POLL_DELETE']) { ?>

    <dl>
    <dt><label for="poll_delete"><?php echo ((isset($this->_rootref['L_POLL_DELETE'])) ? $this->_rootref['L_POLL_DELETE'] : ((isset($user->lang['POLL_DELETE'])) ? $user->lang['POLL_DELETE'] : '{ POLL_DELETE }')); ?>:</label></dt>
    <dd><label for="poll_delete"><input type="checkbox" name="poll_delete" id="poll_delete"<?php if ($this->_rootref['S_POLL_DELETE_CHECKED']) { ?> checked="checked"<?php } ?> /> </label></dd>
    </dl>
    <?php } ?>

    <dl>
    <dt><label for="poll_title"><?php echo ((isset($this->_rootref['L_POLL_QUESTION'])) ? $this->_rootref['L_POLL_QUESTION'] : ((isset($user->lang['POLL_QUESTION'])) ? $user->lang['POLL_QUESTION'] : '{ POLL_QUESTION }')); ?>:</label></dt>
    <dd><input type="text" name="poll_title" id="poll_title" maxlength="255" value="<?php echo (isset($this->_rootref['POLL_TITLE'])) ? $this->_rootref['POLL_TITLE'] : ''; ?>" class="inputbox" /></dd>
    </dl>
    <dl>
    <dt><label for="poll_option_text"><?php echo ((isset($this->_rootref['L_POLL_OPTIONS'])) ? $this->_rootref['L_POLL_OPTIONS'] : ((isset($user->lang['POLL_OPTIONS'])) ? $user->lang['POLL_OPTIONS'] : '{ POLL_OPTIONS }')); ?>:</label><br /><span><?php echo ((isset($this->_rootref['L_POLL_OPTIONS_EXPLAIN'])) ? $this->_rootref['L_POLL_OPTIONS_EXPLAIN'] : ((isset($user->lang['POLL_OPTIONS_EXPLAIN'])) ? $user->lang['POLL_OPTIONS_EXPLAIN'] : '{ POLL_OPTIONS_EXPLAIN }')); ?></span></dt>
    <dd><textarea name="poll_option_text" id="poll_option_text" rows="5" cols="35" class="inputbox"><?php echo (isset($this->_rootref['POLL_OPTIONS'])) ? $this->_rootref['POLL_OPTIONS'] : ''; ?></textarea></dd>
    </dl>

    <hr class="dashed" />

    <dl>
    <dt><label for="poll_max_options"><?php echo ((isset($this->_rootref['L_POLL_MAX_OPTIONS'])) ? $this->_rootref['L_POLL_MAX_OPTIONS'] : ((isset($user->lang['POLL_MAX_OPTIONS'])) ? $user->lang['POLL_MAX_OPTIONS'] : '{ POLL_MAX_OPTIONS }')); ?>:</label></dt>
    <dd><input type="text" name="poll_max_options" id="poll_max_options" size="3" maxlength="3" value="<?php echo (isset($this->_rootref['POLL_MAX_OPTIONS'])) ? $this->_rootref['POLL_MAX_OPTIONS'] : ''; ?>" class="inputbox autowidth" /></dd>
    <dd><?php echo ((isset($this->_rootref['L_POLL_MAX_OPTIONS_EXPLAIN'])) ? $this->_rootref['L_POLL_MAX_OPTIONS_EXPLAIN'] : ((isset($user->lang['POLL_MAX_OPTIONS_EXPLAIN'])) ? $user->lang['POLL_MAX_OPTIONS_EXPLAIN'] : '{ POLL_MAX_OPTIONS_EXPLAIN }')); ?></dd>
    </dl>
    <dl>
    <dt><label for="poll_length"><?php echo ((isset($this->_rootref['L_POLL_FOR'])) ? $this->_rootref['L_POLL_FOR'] : ((isset($user->lang['POLL_FOR'])) ? $user->lang['POLL_FOR'] : '{ POLL_FOR }')); ?>:</label></dt>
    <dd><label for="poll_length"><input type="text" name="poll_length" id="poll_length" size="3" maxlength="3" value="<?php echo (isset($this->_rootref['POLL_LENGTH'])) ? $this->_rootref['POLL_LENGTH'] : ''; ?>" class="inputbox autowidth" /> <?php echo ((isset($this->_rootref['L_DAYS'])) ? $this->_rootref['L_DAYS'] : ((isset($user->lang['DAYS'])) ? $user->lang['DAYS'] : '{ DAYS }')); ?></label></dd>
    <dd><?php echo ((isset($this->_rootref['L_POLL_FOR_EXPLAIN'])) ? $this->_rootref['L_POLL_FOR_EXPLAIN'] : ((isset($user->lang['POLL_FOR_EXPLAIN'])) ? $user->lang['POLL_FOR_EXPLAIN'] : '{ POLL_FOR_EXPLAIN }')); ?></dd>
    </dl>

    <?php if ($this->_rootref['S_POLL_VOTE_CHANGE']) { ?>

    <hr class="dashed" />

    <dl>
    <dt><label for="poll_vote_change"><?php echo ((isset($this->_rootref['L_POLL_VOTE_CHANGE'])) ? $this->_rootref['L_POLL_VOTE_CHANGE'] : ((isset($user->lang['POLL_VOTE_CHANGE'])) ? $user->lang['POLL_VOTE_CHANGE'] : '{ POLL_VOTE_CHANGE }')); ?>:</label></dt>
    <dd><label for="poll_vote_change"><input type="checkbox" id="poll_vote_change" name="poll_vote_change"<?php echo (isset($this->_rootref['VOTE_CHANGE_CHECKED'])) ? $this->_rootref['VOTE_CHANGE_CHECKED'] : ''; ?> /> <?php echo ((isset($this->_rootref['L_POLL_VOTE_CHANGE_EXPLAIN'])) ? $this->_rootref['L_POLL_VOTE_CHANGE_EXPLAIN'] : ((isset($user->lang['POLL_VOTE_CHANGE_EXPLAIN'])) ? $user->lang['POLL_VOTE_CHANGE_EXPLAIN'] : '{ POLL_VOTE_CHANGE_EXPLAIN }')); ?></label></dd>
    </dl>
    <?php } } else if ($this->_rootref['S_POLL_DELETE']) { ?>

    <dl class="fields1">
    <dt><label for="poll_delete"><?php echo ((isset($this->_rootref['L_POLL_DELETE'])) ? $this->_rootref['L_POLL_DELETE'] : ((isset($user->lang['POLL_DELETE'])) ? $user->lang['POLL_DELETE'] : '{ POLL_DELETE }')); ?>:</label></dt>
    <dd><label for="poll_delete"><input type="checkbox" name="poll_delete" id="poll_delete"<?php if ($this->_rootref['S_POLL_DELETE_CHECKED']) { ?> checked="checked"<?php } ?> /> </label></dd>
    </dl>
    <?php } ?>

    </fieldset>


    <span class="corners-bottom"><span></span></span></div>
    </div>
    Second error

    Donation error

    In acp<.MODS.
    I got this error.
    Is anyone know how to correct this 2 error
    rareyush Reviewed by rareyush on . 2 error First error during posting in footer I am getting dis error Code of tpl_softwood_posting_poll_body.html.php Second error Donation error http://warez-legend.com/img/?dm=10127994754413 Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Try purging the cache

  4.     
    #3
    Member
    Quote Originally Posted by Comkid View Post
    Try purging the cache
    tried bt nt working

  5.     
    #4
    Member
    Do you still have the same error after purging the cache?

  6.     
    #5
    Member
    Quote Originally Posted by Comkid View Post
    Do you still have the same error after purging the cache?
    yes same error

  7.     
    #6
    Member
    Website's:
    sborg.us
    line 54, closing curly bracket missing

    <?php
    }
    }
    ?>
    ^last php tag

    unexpected $end => check for closing tags.

  8.     
    #7
    Member
    Quote Originally Posted by V3g3t4 View Post
    line 54, closing curly bracket missing

    <?php
    }
    }
    ?>
    ^last php tag

    unexpected $end => check for closing tags.
    woooo
    First error solved thanx bro
    bt now unable to create polls

  9.     
    #8
    Member
    Website's:
    sborg.us
    erm... sorry for that, put that closing tag on line 6

    Code: 
    <p><?php echo ((isset($this->_rootref['L_ADD_POLL_EXPLAIN'])) ? $this->_rootref['L_ADD_POLL_EXPLAIN'] : ((isset($user->lang['ADD_POLL_EXPLAIN'])) ? $user->lang['ADD_POLL_EXPLAIN'] : '{ ADD_POLL_EXPLAIN }')); ?></p>
    <?php } }?>
    and if it still doesn't work,

    the whole issue is with
    Code: 
    if ($this->_rootref['S_INLINE_ATTACHMENT_OPTIONS']) 
     {
    the condition is started, but it's closing tag is not placed! lol I'm a bit sure that the above placement would do the job perfectly

  10.     
    #9
    Member
    Quote Originally Posted by V3g3t4 View Post
    erm... sorry for that, put that closing tag on line 6

    Code: 
    <p><?php echo ((isset($this->_rootref['L_ADD_POLL_EXPLAIN'])) ? $this->_rootref['L_ADD_POLL_EXPLAIN'] : ((isset($user->lang['ADD_POLL_EXPLAIN'])) ? $user->lang['ADD_POLL_EXPLAIN'] : '{ ADD_POLL_EXPLAIN }')); ?></p>
    <?php } }?>
    and if it still doesn't work,

    the whole issue is with
    Code: 
    if ($this->_rootref['S_INLINE_ATTACHMENT_OPTIONS']) 
     {
    the condition is started, but it's closing tag is not placed! lol I'm a bit sure that the above placement would do the job perfectly

    Thanx bro
    problem solved completely

  11.     
    #10
    Member
    Quote Originally Posted by rareyush View Post
    Thanx bro
    problem solved completely
    That won't fix it permanently As soon as you purge the cache it will unfix itself, check on the styles/SoftWood/posting_poll_body.html, please post that and I'll give you the fix

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error Detected in sitemap XML. How to remove error?
    By Bobby3711 in forum Web Application/Script Support
    Replies: 1
    Last Post: 21st Mar 2012, 03:51 PM
  2. Rapidleech error: Error openning rar process
    By tractor3231 in forum Server Management
    Replies: 13
    Last Post: 14th Dec 2011, 04:35 AM
  3. HTTP Error 500 (Internal Server Error):
    By joshmoore in forum Technical Help Desk Support
    Replies: 4
    Last Post: 25th Nov 2011, 03:59 AM
  4. wtf happened? (ipb 3.23 skin error causes fatal error)
    By mrHunt in forum Technical Help Desk Support
    Replies: 1
    Last Post: 25th Nov 2011, 03:55 AM
  5. Adding Domain Error in cPanel (Error from park wrapper:)
    By Ryza in forum General Discussion
    Replies: 0
    Last Post: 20th Feb 2011, 01:57 AM

Tags for this Thread

BE SOCIAL