Seite 1 von 1

Probleme biem Zugang zur Administrationsebene

Verfasst: 20.11.2002 10:27
von Anarchy2k
Hallo...
Ich habe ien Problem. Ich habe ein Inntranetsystem aufgebaut (WAMP), auf dem das PHPBB laufen soll. Die Installation mit den Basis-Infos ist gut durchgelaufen, habe meinen Intranetserver angegeben, MySQL, etc...

Als normaler User kann ich mich anmeldung und kann dementsprechen im Forum agieren, also posten, eigenes Profil bearbeiten, etc...

Nur: sobald ich das Forum administrieren will, taucht folgende Meldung auf
Warning: Unable to access templates/BlackSoul/images/lang_english in c:\daten\board\includes\functions.php on line 291

Warning: Cannot add header information - headers already sent by (output started at c:\daten\board\includes\functions.php:291) in c:\daten\board\admin\index.php on line 581

Warning: Cannot add header information - headers already sent by (output started at c:\daten\board\includes\functions.php:291) in c:\daten\board\admin\index.php on line 582
Dies habe ich auch mit dem originalen SubSilver gehabt.
Im englischen Forum habe ich das auch hineingepostet, aber aufgrund meiner leidlichen Englischkenntnisse glaube ich kaum, dass mich dort jemand versteht.

Könnt ihr hier helfen?

MFG

Anarchy

Verfasst: 20.11.2002 11:45
von Acid
..welche Sprache benutzt Du auf dem Board ?

Verfasst: 20.11.2002 13:13
von Gast
englisch... ist nur eine Standard-installation.

Verfasst: 20.11.2002 13:15
von Acid
..gibt es im /BlackSoul Ordner einen Unterordner /lang_english mit Images darin ?

Verfasst: 20.11.2002 13:57
von Gast
ja. den gibt es.

Verfasst: 20.11.2002 14:09
von Acid
..hat Deine local-Konfig vielleicht ´n Problem mit file_exists () ? :roll:

Verfasst: 20.11.2002 15:44
von Anarchy2k
ich bin ja auch nimmer untätig... ;)
Ich habe mir sämtliche Enviroment-Variablen angesehen, ich zieh die mal alle hier hinein. vielleicht hilft das ja weiter.
System Windows NT 4.0 build 1381
Build Date Sep 6 2002 10:38:51
Server API Apache
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINNT\php.ini
Debug Build no
Thread Safety enabled

PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference
On On
allow_url_fopen
1 1
always_populate_raw_post_data
0 0
arg_separator.input
& &
arg_separator.output
& &
asp_tags
Off Off
auto_append_file
no value no value
auto_prepend_file
no value no value
browscap
no value no value
default_charset
no value no value
default_mimetype
text/html text/html
define_syslog_variables
Off Off
disable_functions
no value no value
display_errors
On On
display_startup_errors
Off Off
doc_root
C:/Daten C:/Daten
enable_dl
On On
error_append_string
no value no value
error_log
no value no value
error_prepend_string
no value no value
error_reporting
2039 2039
expose_php
On On
extension_dir
c:/php4/extensions c:/php4/extensions
file_uploads
1 1
gpc_order
GPC GPC
highlight.bg
#FFFFFF #FFFFFF
highlight.comment
#FF8000 #FF8000
highlight.default
#0000BB #0000BB
highlight.html
#000000 #000000
highlight.keyword
#007700 #007700
highlight.string
#DD0000 #DD0000
html_errors
On On
ignore_user_abort
Off Off
implicit_flush
Off Off
include_path
.;c:\php4\pear .;c:\php4\pear
log_errors
Off Off
magic_quotes_gpc
On On
magic_quotes_runtime
On On
magic_quotes_sybase
On On
max_execution_time
30 30
open_basedir
no value no value
output_buffering
no value no value
output_handler
no value no value
post_max_size
8M 8M
precision
14 14
register_argc_argv
On On
register_globals
On On
safe_mode
On On
safe_mode_exec_dir
no value no value
safe_mode_gid
Off Off
safe_mode_include_dir
no value no value
sendmail_from
board@mpnt.local board@mpnt.local
sendmail_path
no value no value
short_open_tag
On On
SMTP
mailto.t-online.de mailto.t-online.de
sql.safe_mode
On On
track_errors
Off Off
unserialize_callback_func
no value no value
upload_max_filesize
2M 2M
upload_tmp_dir
no value no value
user_dir
no value no value
variables_order
GPCS GPCS
xmlrpc_error_number
0 0
xmlrpc_errors
Off Off
y2k_compliance
Off Off

apache
Apache for Windows 95/NT

Apache Version Apache/1.3.24
Apache Release 10324100
Apache API Version 19990320
Hostname:Port localhost:80
Timeouts Connection: 300 - Keep-Alive: 15

Apache Environment
Variable Value
COMSPEC C:\WINNT\system32\cmd.exe
DOCUMENT_ROOT c:/daten
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE de
HTTP_CONNECTION Keep-Alive
HTTP_HOST mp07
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0;)
PATH C:\WINNT\system32;C:\WINNT;
REMOTE_ADDR 192.168.10.140
REMOTE_PORT 4946
SCRIPT_FILENAME c:/daten/index1.php
SERVER_ADDR 192.168.10.66
SERVER_ADMIN mail@localhost
SERVER_NAME localhost
SERVER_PORT 80
SERVER_SIGNATURE <ADDRESS>Apache/1.3.27 Server at localhost Port 80</ADDRESS>

SERVER_SOFTWARE Apache/1.3.27 (Win32) PHP/4.2.3
SystemRoot C:\WINNT
WINDIR C:\WINNT
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /index1.php
SCRIPT_NAME /index1.php

HTTP Headers Information
HTTP Request Headers
HTTP Request GET /index1.php HTTP/1.1
Accept */*
Accept-Encoding gzip, deflate
Accept-Language de
Connection Keep-Alive
Host mp07
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0; MediPlan Call-Center Rheine)
HTTP Response Headers
X-Powered-By PHP/4.2.3
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html

PHP Variables
Variable Value
PHP_SELF /index1.php
_SERVER["COMSPEC"] C:\WINNT\system32\cmd.exe
_SERVER["DOCUMENT_ROOT"] c:/daten
_SERVER["HTTP_ACCEPT"] */*
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] de
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_HOST"] mp07
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0;)
_SERVER["PATH"] C:\WINNT\system32;C:\WINNT;
_SERVER["REMOTE_ADDR"] 192.168.10.140
_SERVER["REMOTE_PORT"] 4946
_SERVER["SCRIPT_FILENAME"] c:/daten/index1.php
_SERVER["SERVER_ADDR"] 192.168.10.66
_SERVER["SERVER_ADMIN"] mail@localhost
_SERVER["SERVER_NAME"] localhost
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_SIGNATURE"] <ADDRESS>Apache/1.3.27 Server at localhost Port 80</ADDRESS>

_SERVER["SERVER_SOFTWARE"] Apache/1.3.27 (Win32) PHP/4.2.3
_SERVER["SystemRoot"] C:\WINNT
_SERVER["WINDIR"] C:\WINNT
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"]
_SERVER["REQUEST_URI"] /index1.php
_SERVER["SCRIPT_NAME"] /index1.php
_SERVER["PATH_TRANSLATED"] c:/daten/index1.php
_SERVER["PHP_SELF"] /index1.php
_SERVER["argv"] Array
(
)
_SERVER["argc"] 0
Ich hoffe, es wird nicht zu unübersichtlich, bei HTML-Option hätte ich dne Quelltext reintippern können.

Verfasst: 22.11.2002 00:26
von Puffel
Ich habe das gleiche Problem:
Auf meinem Webspace läuft alles völlig Problemlos aber heir auf meinem eigenen PC als Server läuft ds Board mit gleicher Fehlermeldung. Ich hatte zuerst den Kompletten Board Ordner auf meinen lokalen PC kopiert und datenbank erstellt, daten in mysql importiert und dann beim einloggen in den Admin Bereich der o.g. Fehler. Dann habe ich in einem anderen Ordner auf meinem lokalen Server phpBB komplett neu installiert, der gleiche Fehler!
Stimmt irendwas mit meiner Konfiguration hier nicht?
Apache 1.3.27
PHP 4.2.3
MySQL 3.23.39
:cry:

Verfasst: 22.11.2002 00:40
von Gast
Nach einer kurzen suche im englischen forum hier die lösung:
unclepbreda wrote:
I installed PHPBB about two months ago. But now the admin stopped working.
I didn't make any changes to the forum. The only thing that changed was the version of PHP. Our provider installed PHP 4.2.3.
On an other server I installed this forum as well. PHP wasn't upgraded there and the Admin still works fine.

I get the error:

Warning: Unable to access templates/subSilver/images/lang_dutch in /usr/local/psa/home/vhosts/domain.com/httpdocs/forum/includes/functions.php on line 291

Does anyone know if it has something to do with my version of PHP?

I don't know if that has anything to do with it, but it sure sounds like it could.
While I have only helped people with the lang_english version of this problem, the warning and symptoms are the same, so I'm going to give you something to try that should get you back into the admin panel.
So far, this has worked for everyone that I have suggested it to, so why not give it a go.
In: /yourforumdirectory/includes/functions.php
on line #291 is this code:

Code:
$img_lang = ( file_exists($current_template_path . '/images/lang_' . $board_config['default_lang']) ) ? $board_config['default_lang'] : 'english';


place an @ like so:

Quote:
$img_lang = ( @file_exists($current_template_path . '/images/lang_' . $board_config['default_lang']) ) ? $board_config['default_lang'] : 'english';


Save file, close and upload. This should work.
bei mir hats so funktioniert
:)