Thread: Need help....
View Single Post
  #9  
Old 11-30-2006, 11:23 AM
Sateknic Sateknic is offline
Junior Member
 
Join Date: Jul 2006
Posts: 15
GeekMart License Holder Geek Advertising Banner License Holder 
Default

PHP Code:
>> START SETTINGS -------

$results = array(
      
'usergroups' => array(
      ),
      
'usergroups_view' => array(
         
'0'            =>'4',
         
'1'            =>'6',
         
'2'            =>'8',
         
'3'            =>'7',
         
'4'            =>'2',
         
'5'            =>'5',
         
'6'            =>'1',
         
'7'            =>'3',
      ),
      
'fieldtotoggle'            =>'1',
      
'field_value_yes'            =>'',
      
'max_width'            =>'',
      
'max_height'            =>'',
      
'server_path_to_banners'            =>'/home/sitefana/public_html/geek/gab/images',
      
'media_extensions'            =>'',
      
'url_to_banners'            =>'http://www.talkdevelopers.com/geek/gab/images/',
      
'url_advertising'            =>'',
      
'url_turn_off_ads'            =>'',
      
'redirectpage'            =>'gab_redirect.php',
      
'cyclerate'            =>'4300',
      
'persist_throttle'            =>'',
      
'blocks' => array(
         
'1' => array(
            
'title'            =>'Default',
            
'wrapper'            =>'1',
            
'method'            =>'1',
            
'ads' => array(
               
'0' => array(
                  
'adtype'            =>'1',
                  
'number'            =>'1',
                  
'cat_option'            =>'1',
                  
'cats'            =>'',
               ),
            ),
         ),
         
'2' => array(
            
'title'            =>'Text Links',
            
'wrapper'            =>'0',
            
'method'            =>'1',
            
'ads' => array(
               
'0' => array(
                  
'adtype'            =>'3',
                  
'number'            =>'30',
                  
'cat_option'            =>'2',
                  
'cats' => array(
                     
'0'            =>'4',
                  ),
               ),
            ),
         ),
      ),
      
'scripts' => array(
         
'MASTER' => array(
            
'name'            =>'MASTER',
            
'description'            =>'',
            
'usemaster'            =>'0',
            
'blocks' => array(
               
'0'            =>'1',
               
'1'            =>'2',
            ),
         ),
         
'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'            =>'',
      ),
      
'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'            =>'1',
         ),
);

>> 
END CATS -------
>> 
START ADS -------

$results = array(
            
'2' => array(
               
'id'            =>'2',
               
'title'            =>'Brius',
               
'startdate'            =>'1164603600',
               
'enddate'            =>'1167195600',
               
'img'            =>'',
               
'hits'            =>'0',
               
'views'            =>'0',
               
'url'            =>'',
               
'userid'            =>'0',
               
'max_views'            =>'0',
               
'max_hits'            =>'0',
               
'isactive'            =>'1',
               
'height'            =>'0',
               
'width'            =>'0',
               
'frequency'            =>'2',
               
'type'            =>'3',
               
'template'            =>'0',
               
'catid'            =>'4',
               
'trackviews'            =>'1',
               
'trackhits'            =>'1',
               
'scriptoption'            =>'1',
               
'forumoption'            =>'1',
               
'scripts'            =>'',
               
'forums'            =>'',
               
'html'            =>'<a href="http://www.brius.com/" target="_blank">Brius Hosting</a> <br />',
               
'templatetype'            =>'0',
               
'suspended'            =>'0',
               
'editimage'            =>'0',
               
'editfrequency'            =>'0',
               
'editbanner'            =>'0',
            ),
            
'3' => array(
               
'id'            =>'3',
               
'title'            =>'AdamScoville',
               
'startdate'            =>'1164776400',
               
'enddate'            =>'1167368400',
               
'img'            =>'',
               
'hits'            =>'0',
               
'views'            =>'0',
               
'url'            =>'',
               
'userid'            =>'0',
               
'max_views'            =>'0',
               
'max_hits'            =>'0',
               
'isactive'            =>'1',
               
'height'            =>'0',
               
'width'            =>'0',
               
'frequency'            =>'2',
               
'type'            =>'3',
               
'template'            =>'0',
               
'catid'            =>'4',
               
'trackviews'            =>'1',
               
'trackhits'            =>'1',
               
'scriptoption'            =>'1',
               
'forumoption'            =>'1',
               
'scripts'            =>'',
               
'forums'            =>'',
               
'html'            =>'<a href="http://www.adamscoville.net/" target="_blank">AdamScoville.net</a> <br />',
               
'templatetype'            =>'0',
               
'suspended'            =>'0',
               
'editimage'            =>'0',
               
'editfrequency'            =>'0',
               
'editbanner'            =>'0',
            ),
);

>> 
END ADS -------

Templates with $GAB_ads[xin them:
Styleid 2 Title FORUMHOME contains $GAB_ads[1]
gab  folder check

Warning
fopen(/home/sitefana/public_html/geek/gab/images/thisisatest.htm) [function.fopen]: failed to open streamPermission denied in /admincp/GAB_admin.php on line 1908

Warning
fputs(): supplied argument is not a valid stream resource in /admincp/GAB_admin.php on line 1909

Warning
fclose(): supplied argument is not a valid stream resource in /admincp/GAB_admin.php on line 1910
GAB directory is valid
but the server process can not write to itEither give the apache process ownership to the folder or chmod it to 0777 
Also all the folders are set to CHMOD 777 and it's still saying that error.
Reply With Quote