Current time: 09-28-2024, 02:06 AM Hello There, Guest! (LoginRegister)


Post Reply 
Error 500 bei Debian Etch und RC6
Author Message
neptun_ger Offline
Junior Member
*

Posts: 10
Joined: Nov 2008
Reputation: 0
Post: #5
RE: Error 500 bei Debian Etch und RC6
Hallo,

dies ist ein Auszug aus der Index.php, die beispielsweise ein Problem macht. Es handelt sich hierbei um eine direct_mail Funktion in Typo3.
PHP Code:
// DEFAULT initialization of a module [BEGIN]
error_reporting (E_ALL E_NOTICE);
unset(
$MCONF);
require (
'conf.php');
require (
$BACK_PATH.'init.php');
require (
$BACK_PATH.'template.php');
$LANG->includeLLFile('EXT:direct_mail/locallang/locallang_mod2-6.xml');
//$LANG->includeLLFile('EXT:direct_mail/mod/locallang_csh_web_directmail.xml');
$LANG->includeLLFile('EXT:direct_mail/locallang/locallang_csh_sysdmail.xml');
$BE_USER->modAccess($MCONF,1);    // This checks permissions and exits if the users has no permission for entry.

// Make instance:
require_once(t3lib_extMgm::extPath('direct_mail').'mod2/class.tx_directmail_dmail.php');
$SOBE t3lib_div::makeInstance('tx_directmail_dmail');
$SOBE->init();

// Include files?
foreach($SOBE->include_once as $INC_FILE) {
        include_once(
$INC_FILE);
}


Hier noch ein Auszug aus der zugehörigen Conig-Datei:

<?
php

        
// DO NOT REMOVE OR CHANGE THESE 3 LINES:
define('TYPO3_MOD_PATH''../typo3conf/ext/direct_mail/mod2/');
$BACK_PATH='../../../../typo3/';
$MCONF['name'] = 'txdirectmailM1_txdirectmailM2';

$MLANG['default']['tabs_images']['tab'] = 'mod_icon.gif';
$MLANG['default']['ll_ref'] = 'LLL:EXT:direct_mail/mod2/locallang_mod.xml';

$MCONF['access'] = 'user,group';
$MCONF['script']='index.php';

$MCONF['workspaces'] = 'online'
?>

Hier noch ein Auszug aus der locallang_mod.xml:

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>^M
<T3locallang>^M
    <meta type="array">^M
        <description>Labels for the main Direct Mail module</description>^M
        <type>module</type>^M
        <csh_table></csh_table>^M
        <fileId>EXT:direct_mail/mod/locallang.xml</fileId>^M
        <labelContext type="array">^M
                    <label index="mlang_tabs_tab"></label>^M
            <label index="mlang_labels_tablabel"></label>^M
            <label index="mlang_labels_tabdescr"></label>^M
        </labelContext>^M
    </meta>^M
    <data type="array">^M
        <languageKey index="default" type="array">^M
                    <label index="mlang_tabs_tab">Direct Mail</label>^M
            <label index="mlang_labels_tablabel">Direct Mailer</label>^M
            <label index="mlang_labels_tabdescr">Direct mailing of newsletters to targeted recipients.</label>^M
        </languageKey>^M
        <languageKey index="de" type="array">^M
            <label index="mlang_tabs_tab">Direct Mail</label>^M
            <label index="mlang_labels_tablabel">Direct Mailer</label>^M
            <label index="mlang_labels_tabdescr">Direct mailing von Newslettern an ausgewählte Empfänger.</label>^M
        </languageKey>^M
    </data>^M
</T3locallang>^M 

Könnt ihr damit etwas anfangen?


MfG

Neptun_ger
(This post was last modified: 11-20-2008 04:22 AM by ZooL.)
11-20-2008 01:11 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Error 500 bei Debian Etch und RC6 - neptun_ger - 11-20-2008 01:11 AM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)