Changing Style Header shows error line

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tariqalali
    Senior Member
    • Dec 2001
    • 205

    Changing Style Header shows error line

    Greetingz,

    i had my Style header modified like ages ago and now i want to revert it back to the original code.

    Current:

    <table border=0 cellpadding=0 cellspacing=0 align="center"><tr>
    <td align="center">
    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"><tr>
    <!-- <td align="center"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
    </tr><tr> -->
    <td align="center"><object classid="clsid27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/s...rsion=6,0,40,0" border="0" width="756" height="85">
    <param name="movie" value="/diwania_banner.swf">
    <param name="quality" value="High">
    <embed src="diwania_banner.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="756" height="85"></object></td>
    </tr><tr>
    <td align="center"><IFRAME NAME="" WIDTH="756" HEIGHT="30" FRAMEBORDER="0" MARGINHEIGHT= "0" MARGINWIDTH="0" SCROLLING="no"></IFRAME></td>
    </tr><tr>
    <td>&nbsp;<br></td>
    </tr><tr>
    <!-- ads -->
    <td align="center"><SCRIPT LANGUAGE="JavaScript" src="http://70.86.95.162/ads/728x90.js"></script></td>
    </tr></table>
    <!-- /logo -->
    <!-- content table -->
    $spacer_open
    $_phpinclude_output

    The Original Code:

    <table border=0 cellpadding=0 cellspacing=0 align="center"><tr>
    <td align="center">
    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"><tr>
    <td align="center"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
    </tr><tr>
    <!-- ads -->
    <td align="center"><SCRIPT LANGUAGE="JavaScript" src="http://70.86.95.162/ads/728x90.js"></script></td>
    </tr></table>
    <!-- /logo -->
    <!-- content table -->
    $spacer_open
    $_phpinclude_output


    but when I save the changes i get error in :

    arning: implode() [function.implode]: Invalid arguments passed in /admincpage/css.php on line 103

    ...
    Fatal error: Invalid styleid specified in /includes/adminfunctions_template.php on line 327
    #0 vb_error_handler(256, Invalid styleid specified, /var/www/localhost/htdocs/includes/adminfunctions_template.php, 327, Array ([styleid] => 0,[doreturn] => 1,[parentids] => ,[vbulletin] => vB_Registry Object ([datastore] => vB_Datastore Object ([defaultitems] => Array ([0] => options,[1] => bitfields,[2] => attachmentcache,[3] => forumcache,[4] => usergroupcache,[5] => stylecache,[6] => languagecache,[7] => products,[8] => pluginlist,[9] => cron,[10] => profilefield),[itemarray] => Array (),[registry] => vB_Registry Object ( *RECURSION*,[dbobject] => vB_Database Object ([functions] => Array ([connect] => mysql_connect,[pconnect] => mysql_pconnect,[select_db] => mysql_select_db,[query] => mysql_query,[query_unbuffered] => mysql_unbuffered_query,[fetch_row] => mysql_fetch_row,[fetch_array] => mysql_fetch_array,[fetch_field] => mysql_fetch_field,[free_result] => mysql_free_result,[data_seek] => mysql_data_seek,[error] => mysql_error,[errno] => mysql_errno,[affected_rows] => mysql_affected_rows,[num_rows] => mysql_num_rows,[num_fields] => mysql_num_fields,[field_name] => mysql_field_name,[insert_id] => mysql_insert_id,[escape_string] => mysql_real_escape_string,[real_escape_string] => mysql_real_escape_string,[close] => mysql_close,[client_encoding] => mysql_client_encoding),[registry] => vB_Registry Object ( *RECURSION*,[fetchtypes] => Array ([2] => 2,[1] => 1,[0] => 3),[appname] => vBulletin,[appshortname] => vBulletin,[database] => diwania,[connection_master] => Resource id #6,[connection_slave] => Resource id #6,[connection_recent] => Resource id #6,[multiserver] => ,[shutdownqueries] => Array ([lastvisit] ...........

    Any clue why this is happening ?

    Thanx in advance

    Regards

    Tariq AlAli
  • tariqalali
    Senior Member
    • Dec 2001
    • 205

    #2
    fixed

    thanx alot

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...