download - användaren finns inte??
Moderatorer: Moderatorgrupp, Supportgrupp
download - användaren finns inte??
När jag som inloggad användare laddar upp en fil får jag beskedet
"Den användaren finns inte. Försök igen."
Det märkliga är att filen kommer på plats och verkar fungera som den ska. Men jag vill ju ha bort det förvirrande beskedet.
Hur gör jag?
Vi ses på Lyktstolpen!
Kod: Markera allt
<?php
/**
* dload.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: dload.php,v 1.10 2005/04/21 20:55:42 jonohlsson Exp $
*/
/**
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
// Switch for making this run as a phpBB MOD or mxBB module
if ( file_exists( './viewtopic.php' ) ) // -------------------------------------------- phpBB MOD MODE
{
define( 'MXBB_MODULE', false );
define( 'IN_PHPBB', true );
define( 'IN_PORTAL', true );
define( 'IN_DOWNLOAD', true );
// When run as a phpBB mod these paths are identical ;)
$phpbb_root_path = $module_root_path = $mx_root_path = './';
include( $phpbb_root_path . 'extension.inc' );
include( $phpbb_root_path . 'common.' . $phpEx );
include_once( $phpbb_root_path . 'includes/bbcode.' . $phpEx );
include_once( $phpbb_root_path . 'includes/functions_post.' . $phpEx );
define( 'PAGE_DOWNLOAD', -501 ); // If this id generates a conflict with other mods, change it ;)
// Start session management
$userdata = session_pagestart( $user_ip, PAGE_DOWNLOAD );
init_userprefs( $userdata );
// End session management
}
else
{
define( 'MXBB_MODULE', true );
if ( !function_exists( 'read_block_config' ) )
{
define( 'IN_PORTAL', true );
$mx_root_path = '../../';
include_once( $mx_root_path . 'extension.inc' );
include_once( $mx_root_path . 'common.' . $phpEx );
// Start session management
$userdata = session_pagestart( $user_ip, PAGE_INDEX );
mx_init_userprefs( $userdata );
// End session management
$block_id = ( !empty( $HTTP_GET_VARS['block_id'] ) ) ? $HTTP_GET_VARS['block_id'] : $HTTP_POST_VARS['id'];
if ( empty( $block_id ) )
{
$sql = "SELECT * FROM " . BLOCK_TABLE . " WHERE block_title = 'PafileDB' LIMIT 1";
if ( !$result = $db->sql_query( $sql ) )
{
message_die( GENERAL_ERROR, "Could not query PafileDB module information", "", __LINE__, __FILE__, $sql );
}
$row = $db->sql_fetchrow( $result );
$block_id = $row['block_id'];
}
$is_block = false;
}
else
{
// Read block Configuration
$block_config = read_block_config( $block_id );
$title = $block_config[$block_id]['block_title'];
$block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' );
$is_block = true;
global $images;
}
define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) );
}
list( $trash, $mx_script_name_temp ) = split ( trim( $board_config['server_name'] ), PORTAL_URL );
$mx_script_name = preg_replace( '#^\/?(.*?)\/?$#', '\1', trim( $mx_script_name_temp ) );
// ===================================================
// Include the common file
// ===================================================
/* - orig
include($phpbb_root_path . 'pafiledb/pafiledb_common.'.$phpEx);
*/
// MX
include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx );
// ===================================================
// Get action variable other wise set it to the main
// ===================================================
$action = ( isset( $_REQUEST['action'] ) ) ? htmlspecialchars( $_REQUEST['action'] ) : 'main';
// ===================================================
// if the database disabled give them a nice message
// ===================================================
if ( intval( $pafiledb_config['settings_disable'] ) )
{
message_die( GENERAL_MESSAGE, $lang['pafiledb_disable'] );
}
// ===================================================
// an array of all expected actions
// ===================================================
$actions = array( 'download' => 'download',
'category' => 'category',
'file' => 'file',
'viewall' => 'viewall',
'search' => 'search',
'license' => 'license',
'rate' => 'rate',
'email' => 'email',
'stats' => 'stats',
'toplist' => 'toplist',
'user_upload' => 'user_upload',
'post_comment' => 'post_comment',
'mcp' => 'mcp',
'ucp' => 'ucp',
'main' => 'main' );
// ===================================================
// Lets Build the page
// ===================================================
$page_title = $lang['Download'];
if ( $action != 'download' )
{
/* - orig
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
*/
// MX
if ( !$is_block )
{
include( $mx_root_path . 'includes/page_header.' . $phpEx );
}
}
$pafiledb->module( $actions[$action] );
$pafiledb->modules[$actions[$action]]->main( $action );
if ( $action != 'download' )
{
/* - orig
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
*/
// MX
if ( !$is_block )
{
include( $mx_root_path . 'includes/page_tail.' . $phpEx );
}
}
?>Vi ses på Lyktstolpen!
http://www.phpbb-se.com/forum/viewtopic.php?t=2225
Ingen support via PM!
Har du alltså överfört ditt forum från Forum24 till b-one? Hur gick det till?
Installerade forum24 allt hos b-one åt dig?
Ingen support via PM!
Jag betalade en klart överkomlig summa och fick allting installerat inklusive ett tiotal moddar, hos B-one. Supporten kan jag verkligen inte klaga på och jag betalade inte förrän allt (som jag testade) funkade helt ok.
Däremot glömde jag att testa en del av moddarna ordentligt.
Men de har ställt upp över förväntan på alla frågor som jag haft även efter avslutad installation.
De fixar säkert till det här också, men jag ville som sagt hellre se om jag kunde lära mig nåt själv
Vi ses på Lyktstolpen!
Vilka är online
Användare som besöker denna kategori: 11 och 0 gäster


