MyXoops Forum

Re: deutsche version xdonations [Sprachfiles] - myXOOPS German Support

Sven71

"myXOOPs"-Neuling
Gepostet am:03.04.2007 11:28
Sven71
Sven71 Offline (Show more)
"myXOOPs"-Neuling
Posts: 18
Since: 26.12.2005
#13

Re: deutsche version xdonations

Hatte dieselbe Fehlermeldung. Die common.php ist in xdonations/include/ ist fehlerhaft, daher scheitert der IPN-Testversuch aus der Modul-Config heraus an einer Fehlermeldung.

Ersetze den Inhalt Deiner xdonations/include/common.php wie folgt:

<?php
/************************************************************************/
/* Donations - Paypal financial management module for Xoops 2           */
/* Copyright (c) 2004 by Xoops2 Donations Module Dev Team          */
/* http://dev.xoops.org/modules/xfmod/project/?group_id=1060      */
/* $Id: common.php,v 1.5 2004/10/15 17:58:57 blackdeath_csmc Exp $      */
/************************************************************************/
/*                                                                      */
/* Based on NukeTreasury for PHP-Nuke - by Dave Lawrence AKA Thrash     */
/* NukeTreasury - Financial management for PHP-Nuke                     */
/* Copyright (c) 2004 by Dave Lawrence AKA Thrash                       */
/*                       thrash@fragnastika.com                         */
/*                       thrashn8r@hotmail.com                          */
/*                                                                      */
/************************************************************************/
/*                                                                      */
/* 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.       */
/*                                                                      */
/* This program is distributed in the hope that it will be useful, but  */
/* WITHOUT ANY WARRANTY; without even the implied warranty of           */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU     */
/* General Public License for more details.                             */
/*                                                                      */
/* You should have received a copy of the GNU General Public License    */
/* along with this program; if not, write to the Free Software          */
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  */
/* USA                                                                  */
/************************************************************************/

// This is a stripped-down version of Xoops common.php, with web-specific code removed. 

  // ############## Activate error handler ##############
              
global $xoopsLogger, $xoopsErrorHandler;
    
              include_once 
XOOPS_ROOT_PATH . '/class/logger.php';
              
$xoopsLogger =& XoopsLogger::instance();
  
$xoopsErrorHandler =& $xoopsLogger;
              
$xoopsLogger->startTime();
              
$xoopsLogger->startTime( 'XOOPS Boot' );
 
  
set_magic_quotes_runtime(0);  
  include_once 
XOOPS_ROOT_PATH.'/class/logger.php'; 
  
$xoopsLogger =& XoopsLogger::instance();  
  
$xoopsLogger->startTime();  
  
define('XOOPS_DB_CHKREF', 0);
 
  
// ############## Include common functions file ##############  
  
include_once XOOPS_ROOT_PATH.'/include/functions.php';    

  
// #################### Connect to DB ##################  
  
require_once XOOPS_ROOT_PATH.'/class/database/databasefactory.php'; 
  
$xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection();  

  
// ################# Include required files ##############  
  
require_once XOOPS_ROOT_PATH.'/kernel/object.php';  
  require_once 
XOOPS_ROOT_PATH.'/class/criteria.php'; 

  
// #################### Include text sanitizer ################## 
  
include_once XOOPS_ROOT_PATH.'/class/module.textsanitizer.php'; 

  
// ################# Load Config Settings ##############  
  
$config_handler =& xoops_gethandler('config');  
  
$xoopsConfig =& $config_handler->getConfigsByCat(XOOPS_CONF); 

  
// #################### Error reporting settings ##################
              
if ( $xoopsConfig['debug_mode'] == 1 || $xoopsConfig['debug_mode'] == 2 ) {
                  
error_reporting(E_ALL);
                  
$xoopsLogger->enableRendering();
                  
$xoopsLogger->usePopup = ( $xoopsConfig['debug_mode'] == 2 );
              } else {
                
error_reporting(0);
                  
$xoopsLogger->activated = false;
              }

  
// ################# Include version info file ############## 
  
include_once XOOPS_ROOT_PATH."/include/version.php";  

  
// #################### Include site-wide lang file ##################  
  
if (file_exists(XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php")) {   
    include_once 
XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php"; 
  } else {    
    include_once 
XOOPS_ROOT_PATH."/language/english/global.php";  
  } 

  
// ################ Include page-specific lang file ################  
  
if (isset($xoopsOption['pagetype']) && false ===strpos($xoopsOption['pagetype'], '.')) {    
    if (
file_exists(XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/".$xoopsOption['pagetype'].".php")) {                 include_once XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/".$xoopsOption['pagetype'].".php";   
    } else {      
      include_once 
XOOPS_ROOT_PATH."/language/english/".$xoopsOption['pagetype'].".php";    
    } 
  } 
  
$xoopsOption = array(); 
  if ( !
defined("XOOPS_USE_MULTIBYTES") ) {   
    
define("XOOPS_USE_MULTIBYTES",0); 
  }

?>

surfman

Ehrenmitglied
Gepostet am:11.06.2006 21:44
surfman
surfman Offline (Show more)
Ehrenmitglied
Posts: 1325
Since: 07.01.2005
#12

Re: deutsche version xdonations

bei mir auf 2.2.4
Keine Probleme. Jetzt online schalten und der Rubel rollt

Advertisement

Gepostet am:0
Advertisement (Show more)
Posts: 0
Since: 0


Hier könnten Sie Ihre Anzeige aufgeben!
Bitte kontaktieren Sie uns, um mehr darüber zu erfahren.

alfred

Administrator
Gepostet am:11.06.2006 21:10
alfred
alfred Offline (Show more)
Administrator
Posts: 7619
Since: 06.12.2004
#11

Re: deutsche version xdonations

Wann tritt der Fehler auf (Administration etc.) ?
Hast du das Modul vom Link von sato-san ?

Ich hab es grad eben getestet, Fehler nicht reproduzierbar, heisst das Modul läuft bei mir
auf einer 2.0.14er Installation.

susta

"myXOOPs"-Neuling
Gepostet am:11.06.2006 20:52
susta
susta Offline (Show more)
"myXOOPs"-Neuling
Posts: 71
Since: 27.05.2006
#10

Re: deutsche version xdonations

... keine Idee, wie man dieses Modul zum laufen bekommt ?

susta

"myXOOPs"-Neuling
Gepostet am:09.06.2006 17:34
susta
susta Offline (Show more)
"myXOOPs"-Neuling
Posts: 71
Since: 27.05.2006
#9

Re: deutsche version xdonations

wie oben geschrieben: xoops 2.0.14 und php-Version 4.4.1

sato-san

"myXOOPs"-Master
Gepostet am:09.06.2006 14:43
sato-san
sato-san Offline (Show more)
"myXOOPs"-Master
Posts: 3022
Since: 05.08.2004
#8

Re: deutsche version xdonations

Welche Xoops-Version + PHP-Version nutzt Du?

susta

"myXOOPs"-Neuling
Gepostet am:09.06.2006 14:27
susta
susta Offline (Show more)
"myXOOPs"-Neuling
Posts: 71
Since: 27.05.2006
#7

Re: deutsche version xdonations

eben das funktioniert nicht (oder besser diese Version):

Fatal error: call to undefined function: getinstance() in /www .../html/modules/xdonations/includes/common.php on line 36 ...

sato-san

"myXOOPs"-Master
Gepostet am:09.06.2006 09:51
sato-san
sato-san Offline (Show more)
"myXOOPs"-Master
Posts: 3022
Since: 05.08.2004
#6

Re: deutsche version xdonations

Also ich habe nur einmal gegoogelt und schon gefunden. Nimm mal das hier:
http://dev.xoops.org/modules/xfmod/project/showfiles.php?group_id=1060
nice xoopsing

susta

"myXOOPs"-Neuling
Gepostet am:09.06.2006 09:45
susta
susta Offline (Show more)
"myXOOPs"-Neuling
Posts: 71
Since: 27.05.2006
#5

Re: deutsche version xdonations

würde ich ja gerne, aber wo finde ich die ?

surfman

Ehrenmitglied
Gepostet am:08.06.2006 20:26
surfman
surfman Offline (Show more)
Ehrenmitglied
Posts: 1325
Since: 07.01.2005
#4

Re: deutsche version xdonations

Schon mal Donations, Version 1.90 versucht?
Diesen Thread durchsuchen:  1 Anonyme Benutzer

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5731 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 2061 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag