PHP-Fehlermeldung auf Index-Seite seit Änderung des Designs

Diskussion zum Modul Newsletter für ConPresso 4
Gesperrt
Benutzeravatar
allnewgrey
ConPresso-User
Beiträge: 30
Registriert: 02.07.2007 19:43

PHP-Fehlermeldung auf Index-Seite seit Änderung des Designs

Beitrag von allnewgrey »

Hallo,

das Newsletter-Modul hat bei mir immer super geklappt, aber seitdem ich das Design meiner Homepage geändert habe, wodurch natürlich auch die index.php im Newsletter-Verzeichnis von mir angepasst wurde, wird statt des Eingabeformulars nur noch folgende Fehlermeldung ausgegeben:

Code: Alles auswählen

Warning: require(CPO_BASEDIR_include/message.php): failed to open stream: No such file or directory in /home/www-data/htdocs/g/greys/www/home/cms/newsletter_mod/index.php on line 127

Fatal error: require(): Failed opening required 'CPO_BASEDIR_include/message.php' (include_path='.:/usr/share/php') in /home/www-data/htdocs/g/greys/www/home/cms/newsletter_mod/index.php on line 127 
Hier könnt Ihr euch das ganze auch noch mal live ansehen:
http://greys.redio.de/home/cms/newsletter_mod/index.php

Hat sonst immer so geklappt...

Hier dann mal der Quelltext:

Code: Alles auswählen

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head> 
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

<link rel="shortcut icon" href="favicon.ico" >
      <link rel="icon" href="animated_favicon1.gif" type="image/gif" >
<link rel="alternate" type="application/rss+xml" title="Greys-Anatomy.de.gg - RSS-Feed" href="http://greys.redio.de/home/cms/mod_latest_news/rss-feed.xml" />
  <title>Greys-Anatomy.de.gg</title>

<link rel="stylesheet" media="all" type="text/css" href="http://greys.redio.de/home/pro_dropline.css" />
<!--[if IE]>
<link rel="stylesheet" media="all" type="text/css" href="http://greys.redio.de/home/pro_dropline_ie.css" />
<![endif]-->

  <style type="text/css">
<!--
a {
text-decoration: underline;
color: rgb(102, 00, 00);
}
a:visited {
text-decoration: underline;
color: rgb(102, 00, 00);
}
a:hover{
color: rgb(80, 00, 00);
text-decoration: none;
}
-->
  </style>

<!--Fade-Header-->
<script src="http://greys.redio.de/home/fadeheader.js" type="text/javascript"></script>

<style type="text/css">
* {margin: 0 auto; padding: 0;}
#navibg { width:900px; height:35px; position:absolute; top:250px; }
#header { width:900px; height:40px; position:relative; top:0px; }
#search { position:relative; top:30px; left:750px; }
#flash { position:relative; top:15px; }
</style>
<!--Fade-Header-->

</head>
<body style="background-repeat: no-repeat; background-color: rgb(181, 220, 130); background-image: url(http://greys.redio.de/home/images/3.0/sitebackground.jpg); background-position: right top;">

<table align="center" border="0" cellpadding="0" cellspacing="0" width="900">

  <tbody>

    <tr>

      <td valign="top" background="http://greys.redio.de/home/images/3.0/header_women.jpg" height="250" width="900">

<div id="header"><script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), onetime (0=continuous, 1=one time), optionalRandomOrder)
new fadeshow(fadeimages, 900, 250, 0, 5000, 0, 0)
</script></div>

<!--Start Forensuche-->
<div id="search">
      <form action="http://greys.redio.de/forum/search.php" method="post">
<img src="http://greys.redio.de/home/images/3.0/suchelinks.png"
 style="vertical-align: middle;" alt=""><input
 name="keywords" value="Forensuche" onfocus="this.value=''" style="border-style: solid; border-color: #e3db21; border-width: 2px 0px; vertical-align: middle; height: 14px; background-color: transparent; width: 100px; font-size: 10pt;"><input
 name="search_user" value="" type="hidden"><input
 name="search_forum" value="-1" type="hidden"><input
 name="search_author" value="" type="hidden"><input
 name="search_time" value="0" type="hidden"><input
 name="search_cat" value="-1" type="hidden"><input
 name="sort_by" value="0" type="hidden"><input
 name="show_results" value="topics" type="hidden"><input
 name="search_fields" value="all" type="hidden"><input
   type="image" style="border: none; vertical-align: middle" src="http://greys.redio.de/home/images/3.0/suchbutton.png" alt="Suchen"/></form>
</div>

 </td>

    </tr>

  </tbody>
</table>



<table style="background-color: transparent;" align="center" border="0" cellpadding="0" cellspacing="0" width="900">

  <tbody>

    <tr>

      <td valign="top" height="35" width="900" background="http://greys.redio.de/home/images/3.0/navibg_women.jpg">

<div id="navibg"><script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), onetime (0=continuous, 1=one time), optionalRandomOrder)
new fadeshow(fadeimages2, 900, 35, 0, 5000, 0, 0)
</script></div>


<?php include('navi.php'); ?>

      </td>

    </tr>

  </tbody>
</table>

<table style="background-repeat: no-repeat; background-position: center top; background-image: url(http://greys.redio.de/home/images/3.0/mainbg.jpg); background-color: rgb(255, 255, 210); width: 900px; text-align: left; margin-left: auto; margin-right: auto;" align="center" border="0" cellpadding="0" cellspacing="0">

  <tbody>

    <tr style="background-color: transparent;">
<td style="background-color: transparent;">
<br>

<?php
require(CPO_BASEDIR."_include/message.php");
require(CPO_BASEDIR.$directory.'/includes/i_index.php');
?>

</td></tr>
</body>
</html>
Vielen Dank schon mal für Eure Hilfe!
Benutzeravatar
Matthias V
Modul-Entwickler
Beiträge: 1251
Registriert: 01.01.1970 01:00
Wohnort: Sondershausen
Hat sich bedankt: 54 Mal
Danksagung erhalten: 147 Mal
Kontaktdaten:

Beitrag von Matthias V »

Hallo,

füge mal ganz am Anfang

Code: Alles auswählen

<?php
require_once('../_include/common.inc.php');
?>
ein. Denn er kennt CPO_BASEDIR nicht, wodurch das require bei dir fehlschlägt.

Gruß Matthias
mod_Guestbook 4.1.0

Features:
- Einträge als ConPresso-Artikel
- benutzt Templates, Rubriken, ...
- Captcha
- BB-Code + Smilies + Zitieren
- Badwords
- Anonymisierung
Benutzeravatar
MarkusR
Handbuchversteher
Beiträge: 7362
Registriert: 01.01.1970 01:00
Hat sich bedankt: 111 Mal
Danksagung erhalten: 934 Mal
Kontaktdaten:

Beitrag von MarkusR »

Und außerdem ersetzt Du den ganzen Quatsch in der index.php durch den Originalcode:

Code: Alles auswählen

define('CPO', true);
require_once('../_include/common.inc.php');

$pagetype = 'index';
require(CPO_BASEDIR.'_include/var_category.php');
require(CPO_BASEDIR.'_include/secure.php');
include(CPO_BASEDIR.$directory.'/includes/producer.inc.php');
// Funktionen
include_once(CPO_BASEDIR.$directory.'/includes/newsletter_functions.inc.php');
// Aktionen
include_once(CPO_BASEDIR.$directory.'/includes/actions.inc.php');

// Seitenausgabe ********************************************************

// Header
include(CPO_BASEDIR.$directory.'/loadheaders.php');
require(CPO_BASEDIR."_include/message.php");

require(CPO_BASEDIR.$directory.'/includes/i_index.php');

// Footer
include(CPO_BASEDIR.$directory.'/loadfooters.php');
und beginnst damit Handbücher und Anleitungen zu lesen!!!

Und jetzt mache ich diesen Thread zu. Es kann nicht angehen, daß jemand eine Datei völlig verändert, fast alles wegnimmt, was wichtig ist und sich dann hier mit Fehlermeldungen meldet!
Ciao Markus
ConPresso-Module

Kein Support per PN!!! Für Fragen und Diskussionen ist das Forum da!

Succi recentis officinalis
Hochwertige Kräutersäfte und -Öle
Gesperrt