Toon posts:

php cannot Create stream

Pagina: 1
Acties:

Verwijderd

Topicstarter
hoi, ik heb me eigen board @ http://213.51.18.24/board/upload/index.php (werkt ook nog uns:P)

maar....

als ik "ADMIN CP" pak doet ie het nog, maar als ik dan iets wil wijzigen (hij staat nu op debug lvl 3 o.a. post & get commands laat ie zien @ forum, als ik dit op lvl1 wil zetten (dus dat ie alleen zegt hoeveel queries hij gebruikt, etc (de basics duz) dan krijg ik : http://213.51.18.24/PHP-BOARD ERRO.TXT
Warning: fopen(./conf_global.php): failed to open stream: Permission denied in c:\inetpub\wwwroot\board\upload\sources\Admin\admin_functions.php on line 377

Fatal error: Call to a member function on a non-object in c:\inetpub\wwwroot\board\upload\sources\Admin\admin_functions.php on line 384
System stats:
System Windows NT CP86038-A 5.2 build 3790
Build Date May 28 2003 15:06:05
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS\php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety enabled
Registered PHP Streams php, http, ftp, compress.zlib
btw i gebruik invisionboard rc1 (v1.2)

  • Rusty
  • Registratie: Juni 1999
  • Laatst online: 25-08 10:40
Door dat permission denied denk ik aan een read/write probleem op je server. Maar kijk eens in de source van die PHP files op die lines die de error aangeeft wat daar staat.

3 x Marstek Venus 5.12KW V151. CT003 V114 en HW P1


Verwijderd

Topicstarter
hmm wazig, notepad zegt dat er maar iets van 14 regels is die admin_functions.php zitten, ga dus ff kijken in die conf_global.php

Verwijderd

Topicstarter
./conf_global.php

<?php
$INFO['admin_group'] = '4';
$INFO['allow_creator_vote'] = '1';
$INFO['allow_dup_email'] = '1';
$INFO['allow_dynamic_img'] = '0';
$INFO['allow_flash'] = '1';
$INFO['allow_images'] = '1';
$INFO['allow_online_list'] = '1';
$INFO['allow_search'] = '1';
$INFO['allow_skins'] = '1';
$INFO['au_cutoff'] = '15';
$INFO['auth_group'] = '1';
$INFO['autohide_bday'] = '1';
$INFO['autohide_calendar'] = '1';
$INFO['avatar_def'] = '64x64';
$INFO['avatar_dims'] = '200x200';
$INFO['avatar_ext'] = 'gif|jpeg|jpg|swf|png';
$INFO['avatar_url'] = '1';
$INFO['avatars_on'] = '1';
$INFO['avup_size_max'] = '200';
$INFO['ban_email'] = '*@*.tk';
$INFO['ban_ip'] = '';
$INFO['ban_names'] = '';
$INFO['base_dir'] = 'c:/inetpub/wwwroot/board/upload/';
$INFO['board_desc'] = 'Website forums';
$INFO['board_name'] = 'Invision Power Board';
$INFO['board_offline'] = '0';
$INFO['board_start'] = '1056369780';
$INFO['board_url'] = 'http://cp86038-a.landg1.lb.home.nl/board/upload';
$INFO['boardname'] = 'IBForums';
$INFO['bot_antispam'] = 'gif';
$INFO['calendar_limit'] = '';
$INFO['clock_joined'] = 'j-F y';
$INFO['clock_long'] = 'M j Y, h:i A';
$INFO['clock_short'] = 'jS F Y - h:i A';
$INFO['cookie_domain'] = 'landg1.lb.home.nl';
$INFO['cookie_id'] = 'AoA-babes';
$INFO['cookie_path'] = '';
$INFO['coppa_address'] = 'mmaertzdorf@home.nl?subject=AoA_Babes_COPPA_registration';
$INFO['coppa_fax'] = '';
$INFO['custom_profile_topic'] = '0';
$INFO['debug_level'] = '3';
$INFO['disable_admin_anon'] = '0';
$INFO['disable_gzip'] = '0';
$INFO['disable_ipbsize'] = '0';
$INFO['disable_online_ip'] = '0';
$INFO['disable_reportpost'] = '0';
$INFO['display_max_posts'] = '15';
$INFO['display_max_topics'] = '15';
$INFO['email_footer'] = '';
$INFO['email_header'] = 'This email generated via IBForums';
$INFO['email_in'] = 'admin@aoa-babes.tk';
$INFO['email_out'] = 'admin@aoa-babes.tk';
$INFO['emo_per_row'] = '3';
$INFO['etfilter_punct'] = '0';
$INFO['etfilter_shout'] = '0';
$INFO['flood_control'] = '30';
$INFO['force_login'] = '0';
$INFO['forum_skin_1'] = '';
$INFO['forum_skin_8'] = '';
$INFO['gd_font'] = 'c:inetpubwwwrootboardupload/fonts/progbot.ttf';
$INFO['gd_height'] = '70';
$INFO['gd_width'] = '250';
$INFO['guest_group'] = '2';
$INFO['guest_name_pre'] = 'Guest_';
$INFO['guests_ava'] = '1';
$INFO['guests_img'] = '1';
$INFO['guests_sig'] = '1';
$INFO['header_redirect'] = 'refresh';
$INFO['home_name'] = 'Site Home';
$INFO['home_url'] = 'http://localhost';
$INFO['hot_topic'] = '15';
$INFO['html_dir'] = 'c:/inetpub/wwwroot/board/upload/html/';
$INFO['html_url'] = 'http://cp86038-a.landg1.lb.home.nl/board/upload/html';
$INFO['img_ext'] = 'gif|jpeg|jpg|png';
$INFO['index_news_link'] = '1';
$INFO['installed'] = '1';
$INFO['load_limit'] = '15';
$INFO['match_browser'] = '0';
$INFO['max_emos'] = '20';
$INFO['max_h_flash'] = '200';
$INFO['max_images'] = '10';
$INFO['max_interest_length'] = '50000';
$INFO['max_location_length'] = '50000';
$INFO['max_messages'] = '50';
$INFO['max_post_length'] = '1000';
$INFO['max_sig_length'] = '50000';
$INFO['max_w_flash'] = '200';
$INFO['member_group'] = '3';
$INFO['min_search_word'] = '';
$INFO['msg_allow_code'] = '1';
$INFO['msg_allow_html'] = '1';
$INFO['new_reg_notify'] = '1';
$INFO['news_forum_id'] = '1';
$INFO['no_au_forum'] = '0';
$INFO['no_au_topic'] = '0';
$INFO['no_reg'] = '0';
$INFO['nocache'] = '1';
$INFO['number_format'] = 'none';
$INFO['offline_msg'] = '';
$INFO['photo_ext'] = 'gif|jpg|jpeg|png';
$INFO['php_ext'] = 'php';
$INFO['post_titlechange'] = '50000';
$INFO['postpage_contents'] = '5,10,15,20,25,30,35,40';
$INFO['pre_moved'] = 'Moved: ';
$INFO['pre_pinned'] = 'Pinned: ';
$INFO['pre_polls'] = 'Poll: ';
$INFO['print_headers'] = '1';
$INFO['reg_auth_type'] = 'user';
$INFO['safe_mode_skins'] = '0';
$INFO['search_post_cut'] = '';
$INFO['session_expiration'] = '3600';
$INFO['short_forum_jump'] = '1';
$INFO['show_active'] = '1';
$INFO['show_bday_calendar'] = '1';
$INFO['show_birthdays'] = '1';
$INFO['show_calendar'] = '1';
$INFO['show_img_upload'] = '1';
$INFO['show_max_msg_list'] = '';
$INFO['show_totals'] = '1';
$INFO['show_user_posted'] = '1';
$INFO['sig_allow_html'] = '1';
$INFO['sig_allow_ibc'] = '1';
$INFO['sp_google'] = 'GoogleBot';
$INFO['sp_inktomi'] = 'Hot Bot';
$INFO['sp_jeeves'] = 'Ask Jeeves';
$INFO['sp_lycos'] = 'Lycos';
$INFO['sp_wuseek'] = 'What U Seek';
$INFO['spider_active'] = '0';
$INFO['spider_anon'] = '';
$INFO['spider_group'] = '2';
$INFO['spider_sense'] = '1';
$INFO['spider_suit'] = '';
$INFO['spider_visit'] = '1';
$INFO['sql_database'] = 'test';
$INFO['sql_debug'] = '0';
$INFO['sql_driver'] = 'mySQL';
$INFO['sql_host'] = 'localhost';
$INFO['sql_pass'] = '';
$INFO['sql_port'] = '';
$INFO['sql_tbl_prefix'] = 'ibf_';
$INFO['sql_user'] = 'michael';
$INFO['start_year'] = '2001';
$INFO['subs_autoprune'] = '';
$INFO['time_adjust'] = '';
$INFO['time_offset'] = '1';
$INFO['topicpage_contents'] = '5,10,15,20,25,30,35,40';
$INFO['upload_dir'] = 'c:/inetpub/wwwroot/board/upload/uploads';
$INFO['upload_url'] = 'http://cp86038-a.landg1.lb.home.nl/board/upload/uploads';
$INFO['use_coppa'] = '1';
$INFO['use_mail_form'] = '1';
$INFO['use_ttf'] = '1';
$INFO['validate_day_prune'] = '14';
$INFO['warn_gmod_ban'] = '1';
$INFO['warn_gmod_day'] = '1';
$INFO['warn_gmod_modq'] = '1';
$INFO['warn_gmod_post'] = '0';
$INFO['warn_max'] = '3';
$INFO['warn_mod_ban'] = '1';
$INFO['warn_mod_day'] = '1';
$INFO['warn_mod_modq'] = '1';
$INFO['warn_mod_post'] = '1';
$INFO['warn_on'] = '1';
$INFO['warn_protected'] = ',4,';
$INFO['year_limit'] = '5';

?>


dat staat er in

[ Voor 31% gewijzigd door Verwijderd op 09-07-2003 12:47 ]


Verwijderd

Topicstarter
admin_functions.php

<?php

/*
+--------------------------------------------------------------------------
| Invision Power Board v1.2
| ========================================
| by Matthew Mecham
| (c) 2001 - 2003 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionboard.com
| Email: matt@invisionpower.com
| Licence Info: http://www.invisionboard.com/?license
+---------------------------------------------------------------------------
|
| > Admin functions library
| > Script written by Matt Mecham
| > Date started: 1st march 2002
|
+--------------------------------------------------------------------------
*/


class admin_functions {

var $img_url;
var $page_title = "Welcome to the Invision Power Board Administration CP";
var $page_detail = "You can set up and customize your board from within this control panel.<br><br>Clicking on one of the links in the left menu pane will show you the relevant options for that administration category. Each option will contain further information on configuration, etc.";
var $html;
var $errors = "";
var $nav = array();
var $time_offset = 0;
var $jump_menu = "";

function admin_functions() {
global $INFO, $IN;

$this->img_url = $INFO['html_url'].'/sys-img';
$this->base_url = $INFO['board_url']."/admin.".$INFO['php_ext']."?adsess=".$IN['AD_SESS'];

}

//---------------------------
// Makes good raw form text
//----------------------------

function make_safe($t)
{
$t = stripslashes($t);

$t = preg_replace( "/\\\/", "\", $t );

return $t;
}

//---------------------------
// Sets up time offset for ACP use
//----------------------------


function get_date($date="", $method="")
{
global $INFO, $IN, $MEMBER;

$this->time_options = array( 'JOINED' => $INFO['clock_joined'],
'SHORT' => $INFO['clock_short'],
'LONG' => $INFO['clock_long']
);

if (!$date)
{
return '--';
}

if (empty($method))
{
$method = 'LONG';
}

$this->time_offset = (($MEMBER['time_offset'] != "") ? $MEMBER['time_offset'] : $INFO['time_offset']) * 3600;

if ($INFO['time_adjust'] != "" and $INFO['time_adjust'] != 0)
{
$this->time_offset += ($INFO['time_adjust'] * 60);
}

if ($MEMBER['dst_in_use'])
{
$this->time_offset += 3600;
}

return gmdate($this->time_options[$method], ($date + $this->time_offset) );


}

//**********************************************/
// save_log
//
// Add an entry into the admin logs, yeah.
//**********************************************/

function save_log($action="")
{
global $INFO, $DB, $IN, $MEMBER;

$str = $DB->compile_db_insert_string( array(
'act' => $IN['act'],
'code' => $IN['code'],
'member_id' => $MEMBER['id'],
'ctime' => time(),
'note' => $action,
'ip_address' => $IN['IP_ADDRESS'],
) );

$DB->query("INSERT INTO ibf_admin_logs ({$str['FIELD_NAMES']}) VALUES ({$str['FIELD_VALUES']})");

return true; // to anyone that cares..

}


//**********************************************/
// get_tar_names
//
// Simply returns a list of tarballs that start
// with the given filename
//**********************************************/

function get_tar_names($start='lang-')
{
global $INFO;

// Remove trailing slashes..

$files = array();

$dir = $INFO['base_dir']."archive_in";

if ( is_dir($dir) )
{
$handle = opendir($dir);

while (($filename = readdir($handle)) !== false)
{
if (($filename != ".") && ($filename != ".."))
{
if (preg_match("/^$start.+?\.tar$/", $filename))
{
$files[] = $filename;
}
}
}

closedir($handle);

}

return $files;

}

//**********************************************/
// copy_dir
//
// Copies to contents of a dir to a new dir, creating
// destination dir if needed.
//
//**********************************************/

function copy_dir($from_path, $to_path, $mode = 0777)
{

global $INFO;

// Strip off trailing slashes...

$from_path = preg_replace( "#/$#", "", $from_path);
$to_path = preg_replace( "#/$#", "", $to_path);

if ( ! is_dir($from_path) )
{
$this->errors = "Could not locate directory '$from_path'";
return FALSE;
}

if ( ! is_dir($to_path) )
{
if ( ! @mkdir($to_path, $mode) )
{
$this->errors = "Could not create directory '$to_path' please check the CHMOD permissions and re-try";
return FALSE;
}
else
{
@chmod($to_path, $mode);
}
}

$this_path = getcwd();

if (is_dir($from_path))
{
chdir($from_path);
$handle=opendir('.');
while (($file = readdir($handle)) !== false)
{
if (($file != ".") && ($file != ".."))
{
if (is_dir($file))
{

$this->copy_dir($from_path."/".$file, $to_path."/".$file);

chdir($from_path);
}

if ( is_file($file) )
{
copy($from_path."/".$file, $to_path."/".$file);
@chmod($to_path."/".$file, 0777);
}
}
}
closedir($handle);
}

if ($this->errors == "")
{
return TRUE;
}
}

//**********************************************/
// rm_dir
//
// Removes directories, if non empty, removes
// content and directories
// (Code based on annotations from the php.net
// manual by pal@degerstrom.com)
//**********************************************/

function rm_dir($file)
{
global $INFO;

$errors = 0;

// Remove trailing slashes..

$file = preg_replace( "#/$#", "", $file );

if ( file_exists($file) )
{
// Attempt CHMOD

@chmod($file, 0777);

if ( is_dir($file) )
{
$handle = opendir($file);

while (($filename = readdir($handle)) !== false)
{
if (($filename != ".") && ($filename != ".."))
{
$this->rm_dir($file."/".$filename);
}
}

closedir($handle);

if ( ! @rmdir($file) )
{
$errors++;
}
}
else
{
if ( ! @unlink($file) )
{
$errors++;
}
}
}

if ($errors == 0)
{
return TRUE;
}
else
{
return FALSE;
}
}

//**********************************************/
// rebuild_config:
//
// Er, rebuilds the config file
//
//**********************************************/

function rebuild_config( $new = "" )
{
global $IN, $std, $root_path;

//-----------------------------------------
// Check to make sure this is a valid array
//-----------------------------------------

if (! is_array($new) )
{
$ADMIN->error("Error whilst attempting to rebuild the board config file, attempt aborted");
}

//-----------------------------------------
// Do we have anything to save out?
//-----------------------------------------

if ( count($new) < 1 )
{
return "";
}

//-----------------------------------------
// Get an up to date copy of the config file
// (Imports $INFO)
//-----------------------------------------

require ROOT_PATH.'conf_global.php';

//-----------------------------------------
// Rebuild the $INFO hash
//-----------------------------------------

foreach( $new as $k => $v )
{
// Update the old...

$v = preg_replace( "/'/", "\\'" , $v );
$v = preg_replace( "/\r/", "" , $v );

$INFO[ $k ] = $v;
}

//-----------------------------------------
// Rename the old config file
//-----------------------------------------

@rename( ROOT_PATH.'conf_global.php', ROOT_PATH.'conf_global-bak.php' );
@chmod( ROOT_PATH.'conf_global-bak.php', 0777);

//-----------------------------------------
// Rebuild the old file
//-----------------------------------------

ksort($INFO);

$file_string = "<?php\n";

foreach( $INFO as $k => $v )
{
if ($k == 'skin' or $k == 'languages')
{
// Protect serailized arrays..
$v = stripslashes($v);
$v = addslashes($v);
}

$file_string .= '$INFO['."'".$k."'".']'."\t\t\t=\t'".$v."';\n";
}

$file_string .= "\n".'?'.'>'; // Question mark + greater than together break syntax hi-lighting in BBEdit 6 :p

if ( $fh = fopen( ROOT_PATH.'conf_global.php', 'w' ) )
{
fputs ($fh, $file_string, strlen($file_string) );
fclose($fh);
}
else
{
$ADMIN->error("Fatal Error: Could not open conf_global for writing - no changes applied. Try changing the CHMOD to 0777");
}

// Pass back the new $INFO array to anyone who cares...

return $INFO;

}

//**********************************************/
// compile_forum_perms:
//
// Returns the READ/REPLY/START DB strings
//
//**********************************************/


function compile_forum_perms() {
global $DB, $IN;

$r_array = array( 'READ' => '', 'REPLY' => '', 'START' => '', 'UPLOAD' => '' );

if ($IN['READ_ALL'] == 1)
{
$r_array['READ'] = '*';
}

if ($IN['REPLY_ALL'] == 1)
{
$r_array['REPLY'] = '*';
}

if ($IN['START_ALL'] == 1)
{
$r_array['START'] = '*';
}

if ($IN['UPLOAD_ALL'] == 1)
{
$r_array['UPLOAD'] = '*';
}


$DB->query("SELECT perm_id, perm_name FROM ibf_forum_perms ORDER BY perm_id");

while ( $data = $DB->fetch_row() )
{
if ($r_array['READ'] != '*')
{
if ($IN[ 'READ_'.$data['perm_id'] ] == 1)
{
$r_array['READ'] .= $data['perm_id'].",";
}
}
//+----------------------------
if ($r_array['REPLY'] != '*')
{
if ($IN[ 'REPLY_'.$data['perm_id'] ] == 1)
{
$r_array['REPLY'] .= $data['perm_id'].",";
}
}
//+----------------------------
if ($r_array['START'] != '*')
{
if ($IN[ 'START_'.$data['perm_id'] ] == 1)
{
$r_array['START'] .= $data['perm_id'].",";
}
}
//+----------------------------
if ($r_array['UPLOAD'] != '*')
{
if ($IN[ 'UPLOAD_'.$data['perm_id'] ] == 1)
{
$r_array['UPLOAD'] .= $data['perm_id'].",";
}
}
}

$r_array['START'] = preg_replace( "/,$/", "", $r_array['START'] );
$r_array['REPLY'] = preg_replace( "/,$/", "", $r_array['REPLY'] );
$r_array['READ'] = preg_replace( "/,$/", "", $r_array['READ'] );
$r_array['UPLOAD'] = preg_replace( "/,$/", "", $r_array['UPLOAD'] );

return $r_array;

}


//+------------------------------------------------
//+------------------------------------------------
// OUTPUT FUNCTIONS
//+------------------------------------------------
//+------------------------------------------------

function print_popup() {
global $IN, $INFO, $DB, $std, $SKIN, $use_gzip;

$html = "<html>
<head><title>Remote</title>
<meta HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">
<meta HTTP-EQUIV=\"Cache-Control\" CONTENT=\"no-cache\">
<meta HTTP-EQUIV=\"Expires\" CONTENT=\"Mon, 06 May 1996 04:57:00 GMT\">";

$html .= $SKIN->get_css();

$html .= "</head>\n";

$html .= "</head>
<body marginheight='0' marginwidth='0' leftmargin='0' topmargin='0' bgcolor='#FFFFFF'>
";

$html .= $this->html;

$html .= "</body></html>";

print $html;

exit();
}


function output() {
global $IN, $INFO, $DB, $std, $SKIN, $use_gzip;

$html = $SKIN->print_top($this->page_title, $this->page_detail);
$html .= $this->html;
$html .= $SKIN->print_foot();

$DB->close_db();

$navigation = array( "<a href='{$this->base_url}&act=index' target='body'>ACP Home</a>" );

if ( count($this->nav) > 0 )
{
foreach ( $this->nav as $idx => $links )
{
if ($links[0] != "")
{
$navigation[] = "<a href='{$this->base_url}&{$links[0]}' target='body'>{$links[1]}</a>";
}
else
{
$navigation[] = $links[1];
}
}
}

if ( count($navigation) > 0 )
{
$html = str_replace( "<!--NAV-->", $SKIN->wrap_nav( implode( " -> ", $navigation ) ), $html );
}

$html = str_replace( "<!--JUMP-->", $this->build_jump_menu(), $html );

if ($use_gzip == 1)
{
$buffer = ob_get_contents();
ob_end_clean();
ob_start('ob_gzhandler');
print $buffer;
}

//@header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
//@header("Cache-Control: no-cache, must-revalidate");
//@header("Pragma: no-cache");

print $html;

exit();

}

//**********************************************/
// Error:
//
// Displays an error
//
//**********************************************/

function error($error="", $is_popup=0) {
global $IN, $INFO, $DB, $std, $SKIN, $HTTP_REFERER;

$this->page_title = "Admin CP Message";
$this->page_detail = " ";

$this->html .= "<div class='tableborder'>
<div class='maintitle'>Admin CP Message</div>
<div class='tdrow1' style='padding:8px'>
<span style='font-size:12px'>$error</span>
</div>
</div>";

if ($is_popup == 0)
{
$this->output();
}
else
{
$this->print_popup();
}

}

//**********************************************/
// Done Screen:
//
// Displays the "done" screen. Really? Yes.
//
//**********************************************/

function done_screen($title, $link_text="", $link_url="") {
global $IN, $INFO, $DB, $std, $SKIN;

$this->page_title = $title;
$this->page_detail = "The action was executed successfully";

$SKIN->td_header[] = array( " " , "100%" );

$this->html .= $SKIN->start_table("Result");

$this->html .= $SKIN->add_td_basic( "<a href='{$this->base_url}&{$link_url}' target='body'>Go to: $link_text</a>", "center" );

$this->html .= $SKIN->add_td_basic( "<a href='{$this->base_url}&act=index' target='body'>Go to: Administration Home</a>", "center" );

$this->html .= $SKIN->end_table();

$this->output();

}

function info_screen($text="", $title='Safe Mode Restriction Warning') {
global $IN, $INFO, $DB, $std, $SKIN;

$this->page_title = $title;
$this->page_detail = "Please note the following:";

$SKIN->td_header[] = array( " " , "100%" );

$this->html .= $SKIN->start_table("Result");

$this->html .= $SKIN->add_td_basic( $text );

$this->html .= $SKIN->add_td_basic( "<a href='{$this->base_url}&act=index' target='body'>Go to: Administration Home</a>", "center" );

$this->html .= $SKIN->end_table();

$this->output();

}


//**********************************************/
// MENU:
//
// Build the collapsable menu trees
//
//**********************************************/

function menu() {
global $IN, $std, $INFO, $PAGES, $CATS, $SKIN;

$links = $this->build_tree();

$html = $SKIN->menu_top() . $links . $SKIN->menu_foot();

// Saving cookie?

if ( $INFO['menu'] )
{
$std->my_setcookie( 'acpmenu', $IN['show'] );
}

print $html;
exit();


}

//+------------------------------------------------

function build_tree() {
global $IN, $std, $PAGES, $CATS, $SKIN, $DESC;

$html = "";
$links = "";


foreach($CATS as $cid => $name)
{

$ADMIN->jump_menu .= "<optgroup label='$name'>\n";

if ( preg_match( "/(?:^|,)$cid(?:,|$)/", $IN['show'] ) )
{

foreach($PAGES[ $cid ] as $pid => $pdata)
{
$links .= $SKIN->menu_cat_link($pdata[1], $pdata[0], $pdata[2]);
}

$html .= $SKIN->menu_cat_expanded( $name, $links, $cid );
unset($links);

}
else
{
$html .= $SKIN->menu_cat_collapsed( $name, $cid, $DESC[ $cid ] );
}

$ADMIN->jump_menu .= "</optgroup>\n";
}

return $html;

}

//-------------------------------------------------------------
// BUILDS JUMP MENU, yay!
//-------------------------------------------------------------

function build_jump_menu()
{
global $IN, $std, $PAGES, $CATS, $SKIN, $DESC;

$html = "<script type='text/javascript'>
function dojump()
{
if ( document.jumpmenu.val.options[document.jumpmenu.val.selectedIndex].value != '' )
{
window.location.href = '{$this->base_url}' + '&' + document.jumpmenu.val.options[document.jumpmenu.val.selectedIndex].value;
}

[ Voor 16% gewijzigd door Verwijderd op 09-07-2003 12:48 ]


  • Rusty
  • Registratie: Juni 1999
  • Laatst online: 25-08 10:40
Zet er ff bij welke regel 377 en 384 is. Ga niet zitten tellen.

En heb je je read/write al gechecked? Ik had een soort gelijke foutmelding bij mijn board (phpbb) na het installeren van een hack. Bleek simpel read/write probleempje te zijn

3 x Marstek Venus 5.12KW V151. CT003 V114 en HW P1


Verwijderd

Topicstarter
yep het was idd eenread/write geval, thnx :D
Pagina: 1