Chris Boulton Wrote:I just ran a test using a setup similar to the above (on both IIS and Apache) and am not experiencing that.
Can you (using phpMyAdmin or similar) tell me the how many rows exist in the mybb_themes table as well as the value themebits column for the two rows which should exist.
Thanks
mybb_themes ROWS:
2 rows: row1= mybb default ... row 2= mybb Master theme style
mybb_theme >>> mybb Master Style >>> themebits :::
a:7:{s:11:"templateset";i:1;s:6:"imgdir";s:6:"images";s:4:"logo";s:15:"images/logo.gif";s:10:"tablespace";s:1:"4";s:10:"tablewidth";s:4:"100%";s:11:"borderwidth";s:1:"1";s:8:"extracss";s:2108:".clear {
clear: both;
}
.hidden {
display: none;
float: none;
width: 1%;
}
.menu ul {
list-style: none;
margin: 0;
}
.menu li {
display: inline;
padding-left: 5px;
}
.menu img {
padding-right: 5px;
vertical-align: top;
}
#panel .links {
margin: 0;
float: right;
}
.expcolimage {
float: right;
width: auto;
vertical-align: middle;
}
img.attachment {
border: 1px solid #E9E5D7;
padding: 2px;
}
.pagenav {
font-weight: bold;
}
.pagenavbit {
padding-left: 3px;
}
.pagenavbit a {
text-decoration: none;
}
.pagenavcurrent {
font-weight: bold;
padding-left: 3px;
}
hr {
background-color: #000000;
color: #000000;
height: 1px;
border: 0px;
}
#copyright {
font: x-small Verdana, Arial, Sans-Serif;
margin: 0;
padding: 10px 0 0 0;
}
#debug {
float: right;
text-align: right;
margin-top: 0;
}
.quote_header {
margin-left: 20px;
padding: 4px;
border-top: 1px dashed #000000;
border-left: 1px dashed #000000;
border-right: 1px dashed #000000;
color: #000000;
background: #ffffff;
font-weight: bold;
}
.quote_body {
margin-left: 20px;
padding: 0 4px 4px 4px;
border-bottom: 1px dashed #000000;
border-left: 1px dashed #000000;
border-right: 1px dashed #000000;
color: #000000;
background: #ffffff;
}
.code_header {
margin-left: 20px;
padding: 4px;
border-top: 1px dashed #000000;
border-left: 1px dashed #000000;
border-right: 1px dashed #000000;
color: #000000;
background: #ffffff;
font-weight: bold;
}
.code_body {
margin-left: 20px;
padding: 0 4px 4px 4px;
border-bottom: 1px dashed #000000;
border-left: 1px dashed #000000;
border-right: 1px dashed #000000;
color: #000000;
font-family: monospace;
background: #ffffff;
}
.quote_body ol, .quote_body ul {
margin: 0;
}
.usercpnav {
list-style: inside;
padding: 0;
margin: 0;
}
.usercpnav li {
padding: 1px;
font-family: Verdana;
font-size:11px
}
.usercpnav .pmfolders {
/* PM folders on the UCP Nav menu */
}
.separator {
margin: 5px;
padding: 0;
height: 0px;
font-size: 1px;
list-style-type: none;
}";}
mybb_themes >>> mybb default >>> themebits :::
a:8:{s:11:"templateset";i:1;s:6:"imgdir";s:6:"images";s:4:"logo";s:15:"images/logo.gif";s:10:"tablespace";s:1:"4";s:10:"tablewidth";s:4:"100%";s:11:"borderwidth";s:1:"1";s:8:"extracss";s:2108:".clear {
clear: both;
}
.hidden {
display: none;
float: none;
width: 1%;
}
.menu ul {
list-style: none;
margin: 0;
}
.menu li {
display: inline;
padding-left: 5px;
}
.menu img {
padding-right: 5px;
vertical-align: top;
}
#panel .links {
margin: 0;
float: right;
}
.expcolimage {
float: right;
width: auto;
vertical-align: middle;
}
img.attachment {
border: 1px solid #E9E5D7;
padding: 2px;
}
.pagenav {
font-weight: bold;
}
.pagenavbit {
padding-left: 3px;
}
.pagenavbit a {
text-decoration: none;
}
.pagenavcurrent {
font-weight: bold;
padding-left: 3px;
}
hr {
background-color: #000000;
color: #000000;
height: 1px;
border: 0px;
}
#copyright {
font: x-small Verdana, Arial, Sans-Serif;
margin: 0;
padding: 10px 0 0 0;
}
#debug {
float: right;
text-align: right;
margin-top: 0;
}
.quote_header {
margin-left: 20px;
padding: 4px;
border-top: 1px dashed #000000;
border-left: 1px dashed #000000;
border-right: 1px dashed #000000;
color: #000000;
background: #ffffff;
font-weight: bold;
}
.quote_body {
margin-left: 20px;
padding: 0 4px 4px 4px;
border-bottom: 1px dashed #000000;
border-left: 1px dashed #000000;
border-right: 1px dashed #000000;
color: #000000;
background: #ffffff;
}
.code_header {
margin-left: 20px;
padding: 4px;
border-top: 1px dashed #000000;
border-left: 1px dashed #000000;
border-right: 1px dashed #000000;
color: #000000;
background: #ffffff;
font-weight: bold;
}
.code_body {
margin-left: 20px;
padding: 0 4px 4px 4px;
border-bottom: 1px dashed #000000;
border-left: 1px dashed #000000;
border-right: 1px dashed #000000;
color: #000000;
font-family: monospace;
background: #ffffff;
}
.quote_body ol, .quote_body ul {
margin: 0;
}
.usercpnav {
list-style: inside;
padding: 0;
margin: 0;
}
.usercpnav li {
padding: 1px;
font-family: Verdana;
font-size:11px
}
.usercpnav .pmfolders {
/* PM folders on the UCP Nav menu */
}
.separator {
margin: 5px;
padding: 0;
height: 0px;
font-size: 1px;
list-style-type: none;
}";s:9:"inherited";a:7:{s:11:"templateset";s:1:"1";s:6:"imgdir";s:1:"1";s:4:"logo";s:1:"1";s:10:"tablespace";s:1:"1";s:10:"tablewidth";s:1:"1";s:11:"borderwidth";s:1:"1";s:8:"extracss";s:1:"1";}}
thanks !
completely deleted the database and site.
re-downloaded it.
installed with no errors
same error when accessing the site.
no error when accessing the admin panel.
thanks!
EDIT: oh and no graphics ! ... just red X's !
ok been screwing with it a while searching for the error.
came up with this, so please tell me what you think ...
for PHP5+
http://www.php.net/ChangeLog-5.php#5.0.0
Quote:# Fixed bug http://bugs.php.net/bug.php?id=25494 (array_merge*() allows non-arrays as argument). (Jay)
for PHP5+, i replaced (line 127: /globals.php):
Code:
$theme = array_merge($theme, unserialize($theme['themebits']));
with some subtle but needed tweekage to:
Code:
$theme = ( is_array($theme['themebits']) ) ?��array_merge($theme, unserialize($theme['themebits'])) : $theme;
this should be backwards compatible for php4, ill test it and see after some shut-eye.
error text is gone, graphics however still are red x's
any thoughts ?
thanks !