PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Ordnerumzug:komm nicht mehr ins ACP


ensid
21.09.2005, 19:05
Hi,
hatte bein vB im ordner /f auf meinem Server zum erstmal testen, nun wollte ich das Board ausm Ordner rausnehmen und auf meine standart seite packen! Also statt myjam.de/f aufrufbar mit myjam.de (neu)!
Wenn ich nur www.myjam.de aufrufe, wird alles richtig angezeigt, wenn ich in admin berreich gehen will, dann kommt dieser fehler

Warning: chdir(): No such file or directory (errno 2) in C:\Inetpub\vhosts\myjam.de\httpdocs\admincp\global.php on line 30

Warning: main(./includes/init.php): failed to open stream: No such file or directory in C:\Inetpub\vhosts\myjam.de\httpdocs\admincp\global.php on line 32

Fatal error: main(): Failed opening required './includes/init.php' (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\myjam.de\httpdocs\admincp\global.php on line 32


Was muss ich ändern oder was hab ich falsch gemacht`?

Gruß

Mystics
21.09.2005, 20:07
Bei manchen Windows-Servern kommt es zu diesem Problem.

Dort kannst du vB 3.0.x nur in einem Unterverzeichnis laufen lassen.

Ab vB 3.5 gibt es in der config.php einen Workaround, indem man dort den kompletten Pfad zum Forum angibt.// ******** FULL PATH TO FORUMS DIRECTORY ******
// On a few systems it may be necessary to input the full path to your forums directory
// for vBulletin to function normally. You can ignore this setting unless vBulletin
// tells you to fill this in. Do not include a trailing slash!
// Example Unix:
// $config['Misc']['forumpath'] = '/home/users/public_html/forums';
// Example Win32:
// $config['Misc']['forumpath'] = 'c:\program files\apache group\apache\htdocs\vb3';
$config['Misc']['forumpath'] = '';

ensid
21.09.2005, 20:11
Bei manchen Windows-Servern kommt es zu diesem Problem.

Dort kannst du vB 3.0.x nur in einem Unterverzeichnis laufen lassen.

Ab vB 3.5 gibt es in der config.php einen Workaround, indem man dort den kompletten Pfad zum Forum angibt.// ******** FULL PATH TO FORUMS DIRECTORY ******
// On a few systems it may be necessary to input the full path to your forums directory
// for vBulletin to function normally. You can ignore this setting unless vBulletin
// tells you to fill this in. Do not include a trailing slash!
// Example Unix:
// $config['Misc']['forumpath'] = '/home/users/public_html/forums';
// Example Win32:
// $config['Misc']['forumpath'] = 'c:\program files\apache group\apache\htdocs\vb3';
$config['Misc']['forumpath'] = '';

da gibts auch keine lösung dafür?:( will mein forum ja gerne über myjam.de aufrufen, sonst muss ich das dann halt anders machen)

StGaensler
21.09.2005, 20:23
Kannst du auf deinem Server mod_rewrite verwenden? Wenn ja, dann schieb das Forum wieder nach /f oder /forum, und verwende folgenden Code in einer .htaccess-Datei im Server-Root (myjam.de/):
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/forum/.*$ [NC]
RewriteRule ^forum/(.*)$ $1Sollte eigentlich funktionieren :)

Mystics
21.09.2005, 20:25
Ich denke nicht. Aber ich habe nochmal nachgefragt und warte auf Antwort.

Du kannst ja ins Root-Verzeichnis eine entsprechende index.php legen:<?php
header("Location: http://www.myjam.de/f");
?>Oder alle URLs über .htaccess umschreiben, wovon ich aber leider keine Ahnung habe.

[EDIT]
Punkt 2 hat sich ja nun erübrigt ;)

Mystics
21.09.2005, 20:53
Laut Scott MacVicar benötigt Apache/PHP Zugriffsrechte auf das Hauptverzeichnis, in deinem Fall also C:\Inetpub\vhosts\myjam.de\httpdocs. Wenn das nicht gerade dein Server ist, wirst du da nichts machen können...außer einem Upgrade auf vB 3.5.you need to give permission to read the parent folder for it to work
basically its been locked down so when the user logs into ftp they are in the httpdocs folder

ensid
22.09.2005, 00:08
danke für eure antworten!

So hab jetzt ein upgrade gemacht, es geht nur im ordner, aber immer noch nicht im hauptverzeichnis(also der admin berreich im hauptverzeichnis)!

Der Fehler kommt:
Warning: chdir(): No such file or directory (errno 2) in C:\Inetpub\vhosts\myjam.de\httpdocs\admincp\global.php on line 34

Warning: main(C:\Inetpub\vhosts\myjam.de\httpdocs\admincp/includes/init.php): failed to open stream: No such file or directory in C:\Inetpub\vhosts\myjam.de\httpdocs\admincp\global.php on line 37

Fatal error: main(): Failed opening required 'C:\Inetpub\vhosts\myjam.de\httpdocs\admincp/includes/init.php' (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\myjam.de\httpdocs\admincp\global.php on line 37

Und das hab ich in der config eingegeben!
$config['Misc']['forumpath'] = 'C:\Inetpub\vhosts\myjam.de\httpdocs';

Mystics
22.09.2005, 00:54
Gib es mal so ein:$config['Misc']['forumpath'] = 'C:/Inetpub/vhosts/myjam.de/httpdocs';Wenn das nicht geht:

Erstelle bitte ein Support-Ticket mit Admin-Zugang (alle Rechte), FTP- und phpMyAdmin-Daten.

http://members.vbulletin-germany.com/membersupport_contactform.php

Ich gebe es dann an die Entwickler weiter.