ok, this same code is back. what do we do?
geek i have had
GAB
for what feels like forever and we still can not get it to work. please help
PHP Code:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /geek/
gab
/includes/gab_class_core.php on line 43
>> START SETTINGS -------
$results = array(
'usergroups' => array(
),
'usergroups_view' => array(
'0' =>'4',
'1' =>'6',
'2' =>'7',
'3' =>'2',
'4' =>'5',
'5' =>'1',
'6' =>'3',
),
'fieldtotoggle' =>'1',
'field_value_yes' =>'',
'max_width' =>'',
'max_height' =>'',
'server_path_to_banners' =>'/home/nsraweb/public_html/geek/gab/images',
'media_extensions' =>'',
'url_to_banners' =>'http://www.nsraweb.com/geek/gab/images/',
'url_advertising' =>'http://www.nsraweb.com/sendmessage.php',
'url_turn_off_ads' =>'http://www.nsraweb.com/sendmessage.php',
'redirectpage' =>'gab_redirect.php',
'cyclerate' =>'4300',
'persist_throttle' =>'',
'htmltemplates' =>'',
'defaulthtml' =>'',
'blocks' => array(
'1' => array(
'title' =>'Default',
'wrapper' =>'1',
'method' =>'1',
'ads' => array(
'0' => array(
'adtype' =>'1',
'number' =>'1',
'cat_option' =>'1',
'cats' =>'',
),
),
),
),
'scripts' => array(
'MASTER' => array(
'name' =>'MASTER',
'description' =>'',
'usemaster' =>'',
'blocks' => array(
'0' =>'1',
),
),
'forumdisplay' => array(
'name' =>'forumdisplay',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'showthread' => array(
'name' =>'showthread',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'index' => array(
'name' =>'index',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'editpost' => array(
'name' =>'editpost',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'newthread' => array(
'name' =>'newthread',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'calendar' => array(
'name' =>'calendar',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'online' => array(
'name' =>'online',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'printthread' => array(
'name' =>'printthread',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'profile' => array(
'name' =>'profile',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'search' => array(
'name' =>'search',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'usercp' => array(
'name' =>'usercp',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'adv_index' => array(
'name' =>'adv_index',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'THIS_SCRIPT' => array(
'usemaster' =>'',
),
),
'frequency' => array(
'0' => array(
'description' =>'Low',
'value' =>'1',
),
'1' => array(
'description' =>'Medium',
'value' =>'2',
),
'2' => array(
'description' =>'High',
'value' =>'3',
),
'3' => array(
'description' =>'Mega High',
'value' =>'4',
),
),
);
>> END SETTINGS -------
Categories
>> START CATS -------
$results = array(
'1' => array(
'id' =>'1',
'title' =>'Header Banners',
'ordinal' =>'5',
),
'2' => array(
'id' =>'2',
'title' =>'Sky Scraper',
'ordinal' =>'20',
),
'3' => array(
'id' =>'3',
'title' =>'Footer Banners',
'ordinal' =>'10',
),
'4' => array(
'id' =>'4',
'title' =>'Other',
'ordinal' =>'30',
),
'5' => array(
'id' =>'5',
'title' =>'Unknown items',
'ordinal' =>'99',
),
'6' => array(
'id' =>'6',
'title' =>'486x60 Banners',
'ordinal' =>'2',
),
'7' => array(
'id' =>'7',
'title' =>'234X60 Half Banner',
'ordinal' =>'3',
),
'8' => array(
'id' =>'8',
'title' =>'728x90 Leaderboard',
'ordinal' =>'1',
),
);
>> END CATS -------
>> START ADS -------
$results = array(
'1' => array(
'id' =>'1',
'title' =>'Your sites banner here!',
'startdate' =>'0',
'enddate' =>'0',
'img' =>'http://www.nsraweb.com/geek/gab/images/2/8/0/bannerspace.gif',
'hits' =>'0',
'views' =>'1145',
'url' =>'http://www.nsraweb.com/sendmessage.php',
'userid' =>'280',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'468',
'width' =>'60',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'6',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'<script type="text/javascript"><!--
google_ad_client = "pub-3639331838760088";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "0C2030";
google_color_bg = "EAEBEC";
google_color_link = "496374";
google_color_text = "9EBCD0";
google_color_url = "496374";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
);
>> END ADS -------
Templates with $GAB_ads[x] in them:
Styleid 5 Title navbar contains $GAB_ads[0]
gab
folder check
GAB directory looks valid and I can write to it!
|