Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 874
  • Last Modified:

phpBB installation on windows hosting, utf_tools.php file is getting problem while defining utf8_encode and utf8_decode functions.

Hello All,

I have been trying to install phpBB on a windows hosting server where already a asp.net site is running. I have uploaded the complete folder of phpBB there and renamed it as forum.

Now on running the installation it is actually showing a blank page...

Then I was just trying to catch the bug point and I found that in utf/utf_tools.php the functions utf8_encode and utf8_decode are creating the problem. If I comments these two function definitions then the code runs but some fatal errors, definitly as these are playing some role in the project.  I don't know how it is going on, I need to make it done as soon as possible.

here are full phpinfo() details I have about my server:
------------------------------------------------------------------------
PHP Version 4.3.11

System       Windows NT P3SWH186 5.2 build 3790
Build Date       Mar 30 2005 17:32:35
Server API       ISAPI
Virtual Directory Support       enabled
Configuration File (php.ini) Path       C:\WINDOWS\php.ini
PHP API       20020918
PHP Extension       20020429
Zend Extension       20021010
Debug Build       no
Thread Safety       enabled
Registered PHP Streams       php, http, ftp, compress.zlib

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

PHP Credits
Configuration
PHP Core
Directive      Local Value      Master Value
allow_call_time_pass_reference      Off      Off
allow_url_fopen      On      On
always_populate_raw_post_data      Off      Off
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_classes      no value      no value
disable_functions      getmyinode, getopt, getrusage, extension_loaded, dl, mysql_pconnect, crack_check, crack_closedict, crack_getlastmessage, crack_opendict, fsockopen, pfsockopen,  mysql_list_dbs, mysql_stat, ini_get, ini_get_all, ini_alter, ini_set, get_current_user, get_defined_constants, get_include_path,  php_ini_scanned_files, php_uname, phpcredits, restore_include_path, set_include_path, set_time_limit, version_compare, zend_version, getmypid, getmyuid, getmygid, assert_options, assert, fopen, fwrite, fread, file, fpassthru, file, mail, opendir, readdir, closedir      getmyinode, getopt, getrusage, extension_loaded, dl, mysql_pconnect, crack_check, crack_closedict, crack_getlastmessage, crack_opendict, fsockopen, pfsockopen,  mysql_list_dbs, mysql_stat, ini_get, ini_get_all, ini_alter, ini_set, get_current_user, get_defined_constants, get_include_path,  php_ini_scanned_files, php_uname, phpcredits, restore_include_path, set_include_path, set_time_limit, version_compare, zend_version, getmypid, getmyuid, getmygid, assert_options, assert, fopen, fwrite, fread, file, fpassthru, file, mail, opendir, readdir, closedir
display_errors      Off      Off
display_startup_errors      Off      Off
doc_root      no value      no value
docref_ext      no value      no value
docref_root      no value      no value
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      2047      2047
expose_php      On      On
extension_dir      ./      ./
file_uploads      On      On
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_repeated_errors      Off      Off
ignore_repeated_source      Off      Off
ignore_user_abort      Off      Off
implicit_flush      Off      Off
include_path      .;c:\php4\pear      .;c:\php4\pear
log_errors      On      On
log_errors_max_len      1024      1024
magic_quotes_gpc      Off      Off
magic_quotes_runtime      Off      Off
magic_quotes_sybase      Off      Off
max_execution_time      30      30
max_input_time      60      60
open_basedir      no value      no value
output_buffering      4096      4096
output_handler      no value      no value
post_max_size      8M      8M
precision      14      14
register_argc_argv      Off      Off
register_globals      Off      Off
report_memleaks      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      no value      no value
sendmail_path      no value      no value
serialize_precision      100      100
short_open_tag      On      On
SMTP      localhost      localhost
smtp_port      25      25
sql.safe_mode      Off      Off
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      On      On

ISAPI
Server Variable      Value
CONTENT_LENGTH       0
PATH_TRANSLATED       d:\hosting\kevinandreosky\phpbb_old\index.php
REMOTE_ADDR       117.199.113.69
REMOTE_HOST       117.199.113.69
REQUEST_METHOD       GET
SERVER_NAME       mybadflight.com
SERVER_PORT       80
SERVER_PROTOCOL       HTTP/1.1
SERVER_SOFTWARE       Microsoft-IIS/6.0
APPL_MD_PATH       /LM/W3SVC/3016123/ROOT
APPL_PHYSICAL_PATH       d:\hosting\kevinandreosky\
INSTANCE_ID       3016123
INSTANCE_META_PATH       /LM/W3SVC/3016123
URL       /phpbb_old/index.php
ALL_HTTP       HTTP_CONNECTION:keep-alive HTTP_KEEP_ALIVE:300 HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING:gzip,deflate HTTP_ACCEPT_LANGUAGE:en-us,en;q=0.5 HTTP_HOST:mybadflight.com HTTP_USER_AGENT:Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 (BT-canucks) Firefox/3.0.5
HTTPS       off
SCRIPT_NAME       /phpbb_old/index.php
SERVER_PORT_SECURE       0

bcmath
BCMath support       enabled

calendar
Calendar support       enabled

com
Directive      Local Value      Master Value
com.allow_dcom      Off      Off
com.autoregister_casesensitive      On      On
com.autoregister_typelib      Off      Off
com.autoregister_verbose      Off      Off
com.typelib_file      no value      no value

ctype
ctype functions       enabled

domxml
DOM/XML       enabled
DOM/XML API Version       20020815
libxml Version       20611
HTML Support       enabled
XPath Support       enabled
XPointer Support       enabled
DOM/XSLT       enabled
libxslt Version       1.1.7
libxslt compiled against libxml Version       2.6.11

ftp
FTP support       enabled

gd
GD Support       enabled
GD Version       bundled (2.0.28 compatible)
FreeType Support       enabled
FreeType Linkage       with freetype
GIF Read Support       enabled
GIF Create Support       enabled
JPG Support       enabled
PNG Support       enabled
WBMP Support       enabled
XBM Support       enabled

gettext
GetText Support       enabled

ming
Ming SWF output library       enabled
Version       0.2a

mysql
MySQL Support      enabled
Active Persistent Links       0
Active Links       0
Client API version       3.23.49

Directive      Local Value      Master Value
mysql.allow_persistent      On      On
mysql.connect_timeout      60      60
mysql.default_host      no value      no value
mysql.default_password      no value      no value
mysql.default_port      no value      no value
mysql.default_socket      no value      no value
mysql.default_user      no value      no value
mysql.max_links      Unlimited      Unlimited
mysql.max_persistent      Unlimited      Unlimited
mysql.trace_mode      Off      Off

odbc
ODBC Support      enabled
Active Persistent Links       0
Active Links       0
ODBC library       Win32

Directive      Local Value      Master Value
odbc.allow_persistent      On      On
odbc.check_persistent      On      On
odbc.default_db      no value      no value
odbc.default_pw      no value      no value
odbc.default_user      no value      no value
odbc.defaultbinmode      return as is      return as is
odbc.defaultlrl      return up to 4096 bytes      return up to 4096 bytes
odbc.max_links      Unlimited      Unlimited
odbc.max_persistent      Unlimited      Unlimited

overload
User-Space Object Overloading Support       enabled

pcre
PCRE (Perl Compatible Regular Expressions) Support       enabled
PCRE Library Version       4.5 01-December-2003

session
Session Support       enabled
Registered save handlers       files user

Directive      Local Value      Master Value
session.auto_start      Off      Off
session.bug_compat_42      Off      Off
session.bug_compat_warn      On      On
session.cache_expire      180      180
session.cache_limiter      nocache      nocache
session.cookie_domain      no value      no value
session.cookie_lifetime      0      0
session.cookie_path      /      /
session.cookie_secure      Off      Off
session.entropy_file      no value      no value
session.entropy_length      0      0
session.gc_divisor      1000      1000
session.gc_maxlifetime      1440      1440
session.gc_probability      1      1
session.name      PHPSESSID      PHPSESSID
session.referer_check      no value      no value
session.save_handler      files      files
session.save_path      no value      no value
session.serialize_handler      php      php
session.use_cookies      On      On
session.use_only_cookies      Off      Off
session.use_trans_sid      Off      Off

standard
Regex Library       Bundled library enabled
Dynamic Library Support       enabled
Internal Sendmail Support for Windows       enabled

Directive      Local Value      Master Value
assert.active      1      1
assert.bail      0      0
assert.callback      no value      no value
assert.quiet_eval      0      0
assert.warning      1      1
auto_detect_line_endings      0      0
default_socket_timeout      60      60
safe_mode_allowed_env_vars      PHP_      PHP_
safe_mode_protected_env_vars      LD_LIBRARY_PATH      LD_LIBRARY_PATH
url_rewriter.tags      a=href,area=href,frame=src,input=src,form=fakeentry      a=href,area=href,frame=src,input=src,form=fakeentry
user_agent      no value      no value

tokenizer
Tokenizer Support       enabled

wddx
WDDX Support      enabled
WDDX Session Serializer       enabled

xml
XML Support       active
XML Namespace Support       active
EXPAT Version       1.95.6

xmlrpc
core library version       xmlrpc-epi v. 0.51
php extension version       0.51
author       Dan Libby
homepage       http://xmlrpc-epi.sourceforge.net
open sourced by       Epinions.com

xslt
XSLT support       enabled
Backend       Sablotron
Sablotron Version       1.0

zlib
ZLib Support       enabled
Compiled Version       1.1.4
Linked Version       1.1.4

Directive      Local Value      Master Value
zlib.output_compression      Off      Off
zlib.output_compression_level      -1      -1
zlib.output_handler      no value      no value

Additional Modules
Module Name

Environment
Variable      Value
ALLUSERSPROFILE       C:\Documents and Settings\All Users
ClusterLog       C:\WINDOWS\Cluster\cluster.log
CommonProgramFiles       C:\Program Files\Common Files
COMPUTERNAME       P3SWH186
ComSpec       C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK       NO
NUMBER_OF_PROCESSORS       4
OS       Windows_NT
Path       C:\Program Files\VERITAS\NetBackup\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT       .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE       x86
PROCESSOR_IDENTIFIER       x86 Family 6 Model 15 Stepping 11, GenuineIntel
PROCESSOR_LEVEL       6
PROCESSOR_REVISION       0f0b
ProgramFiles       C:\Program Files
SystemDrive       C:
SystemRoot       C:\WINDOWS
TEMP       d:\temp
TMP       d:\temp
USERPROFILE       C:\Documents and Settings\Default User
windir       C:\WINDOWS

PHP Variables
Variable      Value
_SERVER["ALL_HTTP"]      HTTP_CONNECTION:keep-alive HTTP_KEEP_ALIVE:300 HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING:gzip,deflate HTTP_ACCEPT_LANGUAGE:en-us,en;q=0.5 HTTP_HOST:mybadflight.com HTTP_USER_AGENT:Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 (BT-canucks) Firefox/3.0.5
_SERVER["HTTPS"]      off
_SERVER["SCRIPT_NAME"]      /phpbb_old/index.php
_SERVER["HTTP_COOKIE"]      no value
_SERVER["AUTH_PASSWORD"]      no value
_SERVER["AUTH_TYPE"]      no value
_SERVER["AUTH_USER"]      no value
_SERVER["CONTENT_LENGTH"]      0
_SERVER["CONTENT_TYPE"]      no value
_SERVER["PATH_TRANSLATED"]      d:\hosting\kevinandreosky
_SERVER["QUERY_STRING"]      no value
_SERVER["REMOTE_ADDR"]      117.199.113.69
_SERVER["REMOTE_HOST"]      117.199.113.69
_SERVER["REMOTE_USER"]      no value
_SERVER["REQUEST_METHOD"]      GET
_SERVER["SERVER_NAME"]      mybadflight.com
_SERVER["SERVER_PORT"]      80
_SERVER["SERVER_PROTOCOL"]      HTTP/1.1
_SERVER["SERVER_SOFTWARE"]      Microsoft-IIS/6.0
_SERVER["APPL_MD_PATH"]      /LM/W3SVC/3016123/ROOT
_SERVER["APPL_PHYSICAL_PATH"]      d:\hosting\kevinandreosky\
_SERVER["INSTANCE_ID"]      3016123
_SERVER["INSTANCE_META_PATH"]      /LM/W3SVC/3016123
_SERVER["LOGON_USER"]      no value
_SERVER["REQUEST_URI"]      /phpbb_old/index.php
_SERVER["URL"]      /phpbb_old/index.php
_SERVER["SCRIPT_FILENAME"]      d:\hosting\kevinandreosky\phpbb_old\index.php
_SERVER["ORIG_PATH_INFO"]      /phpbb_old/index.php
_SERVER["PATH_INFO"]      no value
_SERVER["ORIG_PATH_TRANSLATED"]      d:\hosting\kevinandreosky\phpbb_old\index.php
_SERVER["DOCUMENT_ROOT"]      d:\hosting\kevinandreosky
_SERVER["PHP_SELF"]      /phpbb_old/index.php
_SERVER["HTTP_CONNECTION"]      keep-alive
_SERVER["HTTP_KEEP_ALIVE"]      300
_SERVER["HTTP_ACCEPT"]      text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_CHARSET"]      ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_ACCEPT_ENCODING"]      gzip,deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"]      en-us,en;q=0.5
_SERVER["HTTP_HOST"]      mybadflight.com
_SERVER["HTTP_USER_AGENT"]      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 (BT-canucks) Firefox/3.0.5

PHP License

This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
------------------------------------------------------------------------


Thanks in advance
0
san4u49
Asked:
san4u49
  • 2
  • 2
1 Solution
 
BarsMonsterCommented:
Your problem is old PHP without XML/unicode libraries.
Try 5x PHP with built in XML libs.
0
 
san4u49Author Commented:
Hello BarsMonster,

I appreciate your reply. But I want to ask a single thing and that is that, I want to install phpBB on the same server so is it possible for me or not.

Thanks in advance.
0
 
BarsMonsterCommented:
If you cannot upgrade server software, it is impossible to install PhpBB here.
0
 
san4u49Author Commented:
I am completely agree with you as I found it some other sites too. I am really very thankful for your cooperation.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now