Author Topic: [function.include]: failed to open stream: No such file or directory  (Read 6324 times)

0 Members and 1 Guest are viewing this topic.

Offline crs

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Hallo Community,

seitdem ich auf einen neuen Webspace umgezogen bin, habe ich das Problem, dass ich keine .php Skripte mehr in .html einbinden kann.
Ich wollte nur eine simple shoutbox in ein template mit "<?PHP include("shout2.php");?>" einbinden und dann www.meineurl.de/index.php?template=shout aufrufen.

Auf diese Seite gibt es dann folgende Fehlermeldung, habe schon einiges versucht, bin aber auch eher Anfänger :-/

"Warning: include(shout2.php) [function.include]: failed to open stream: No such file or directory in /home/content/79/7010979/html/includes/template.php(101) : eval()'d code on line 5

Warning: include() [function.include]: Failed opening 'shout2.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/79/7010979/html/includes/template.php(101) : eval()'d code on line 5"

Mir kommt es so vor, als ob 4images nicht mit dem Konstrukt des Hosters klarkommt. Vorher lag ja einfach alles in /, nun gibt es einen riesigen Pfad zu meinem Space.


Danke für Hilfe!

Rembrandt

  • Guest
Re: [function.include]: failed to open stream: No such file or directory
« Reply #1 on: July 14, 2011, 05:29:17 PM »
also an 4images liegt es mit sicherheit nicht.
wenn du die "shout2.php" in der html einbindest dann wird die auch sofort ausgeführt und nicht erst wenn du sie per link aufrufst.

mfg Andi