File center problems

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Rudi
Posts: 6
Joined: Fri 17. Sep 2004, 09:40

File center problems

Post by Rudi »

Hi folks, i am just implementing phpwcms for our club site, but i cannot upload images using the file center. Ftp transfer works fine, but I need to use single picture upload 'cause I run my site from different computers where I cannot transfer files via ftp (I dont have administrator's rights).

When I start uploading files, I select a file from my harddisk drive, push the upload button and wait for the file to be transferred. "Active" and "public" are selected of course.The display shows data transfer, but there is no picture showing up in my archive. The only message that is shown:
Select a file you wish to upload
.

I tested my site offline on my own pc and everything works fine. When I transferred all data to the internet service provider (hostloco) I am facing the problems described above. All pathes and setting are correct, I think. I use gd2 (as selected with conf.inc).
Maybe the provider must set some things for me.

What php settings have to be made? Maybe someone has an idea how to manage this problem.

Here are the settings:

PHP Version 4.3.10

System Linux pepper 2.6.6 #2 Thu Jun 3 17:23:35 CEST 2004 i686
Build Date Dec 24 2004 00:55:40
Configure Command './configure' '--prefix=/www/php' '--with-apxs=/www/bin/apxs' '--disable-ipv6' '--enable-exif' '--with-mysql' '--enable-bcmath' '--with-gd' '--with-config-file-path=/www/conf' '--with-jpeg-dir' '--with-png-dir' '--with-t1lib' '--with-zlib-dir' '--with-ttf' '--with-freetype-dir' '--enable-track-vars' '--with-calendar=shared' '--enable-magic-quotes' '--enable-wddx' '--enable-trans-sid' '--with-mcrypt' '--with-openssl' '--with-bison' '--with-curl' '--enable-socket' '--enable-ftp' '--with-bz2' '--with-imap' '--with-imap-ssl' '--enable-mbstring' '--with-xslt-sablot=/usr' '--with-expat-dir=/usr' '--with-xmlrpc' '--enable-xslt' '--enable-yp' '--without-pear' '--enable-memory-limit' '--enable-zend-multibyte'

Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /www/conf/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, 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 Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
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 no value no value
display_errors On On
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 2039 2039
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC

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 .: .:
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 30 30
max_input_time 60 60
memory_limit 16M 16M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode Off Off
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 /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
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 EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On

apache
APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache/1.3.33 (Unix) TuxTrafficLogRotate/20041219-00 TuxSQLConf/20041219-01 mod_perl/1.29 PHP/4.3.10 FrontPage/5.0.2.2635
Apache Release 10333100
Apache API Version 19990320
Hostname:Port reitenbach-neuss.de:80
User/Group www-data(33)/33
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 0
Timeouts Connection: 30 - Keep-Alive: 15
Server Root /www
Loaded Modules mod_tuxtrafficlog, mod_tuxsqlconf, mod_perl, mod_php4, mod_frontpage, mod_setenvif, mod_so, mod_unique_id, mod_example, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy, mod_digest, mod_auth_dbm, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_referer, mod_log_agent, mod_log_config, mod_env, mod_vhost_alias, mod_mmap_static, http_core

Directive Local Value Master Value
child_terminate 0 0
engine 1 1
last_modified 0 0
xbithack 0 0

Apache Environment
Variable Value
DOCUMENT_ROOT /www/htdocs/reiten/
HTTP_ACCEPT */*
HTTP_COOKIE PHPSESSID=1396880d11a53392dd90f1d8c2fe3ec7
HTTP_HOST reiten.hl-users.com
HTTP_PRAGMA no-cache
HTTP_REFERER http://www.reitenbach-neuss.de/mk/phpwc ... =admin&p=6
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0
HTTP_X_UD_LOOPCOUNT 2
HTTP_X_UD_REMOTE_ADDR 212.144.139.57
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
REMOTE_ADDR 213.61.105.137
REMOTE_HOST h-213.61.105.137.host.de.colt.net
REMOTE_PORT 54286
SCRIPT_FILENAME /www/htdocs/reiten/mk/include/inc_act/act_phpinfo.php
SERVER_ADDR 80.237.216.72
SERVER_ADMIN webmaster@reitenbach-neuss.de
SERVER_NAME reiten.hl-users.com
SERVER_PORT 80
SERVER_SIGNATURE <ADDRESS>Apache/1.3.33 Server at reiten.hl-users.com Port 80</ADDRESS>
SERVER_SOFTWARE Apache/1.3.33 (Unix) TuxTrafficLogRotate/20041219-00 TuxSQLConf/20041219-01 mod_perl/1.29 PHP/4.3.10 FrontPage/5.0.2.2635
UNIQUE_ID Qe0w9FDt2FMAABLpjCo
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /mk/include/inc_act/act_phpinfo.php
SCRIPT_NAME /mk/include/inc_act/act_phpinfo.php

HTTP Headers Information
HTTP Request Headers
HTTP Request GET /mk/include/inc_act/act_phpinfo.php HTTP/1.1
Accept */*
Cookie PHPSESSID=1396880d11a53392dd90f1d8c2fe3ec7
Host reiten.hl-users.com
Pragma no-cache
Referer http://www.reitenbach-neuss.de/mk/phpwc ... =admin&p=6
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0
X-UD-Loopcount 2
X-UD-REMOTE_ADDR 212.144.139.57
HTTP Response Headers
X-Powered-By PHP/4.3.10
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache
Transfer-Encoding chunked
Content-Type text/html

bcmath
BCMath support enabled

bz2
BZip2 Support Enabled
BZip2 Version 1.0.2, 30-Dec-2001

ctype
ctype functions enabled

curl
CURL support enabled
CURL Information libcurl/7.12.1 OpenSSL/0.9.6c zlib/1.1.4 libidn/0.5.2

exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.118.2.29 2004/11/10 01:44:58 iliaa Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF

ftp
FTP support enabled

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

imap
IMAP c-Client Version 2001
SSL Support enabled

mbstring
Multibyte Support enabled
Japanese support enabled
Simplified chinese support enabled
Traditional chinese support enabled
Korean support enabled
Russian support enabled
Multibyte (japanese) regex support enabled

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.script_encoding no value no value
mbstring.substitute_character no value no value

mcrypt
mcrypt support enabled
version >= 2.4.x
Supported ciphers twofish rijndael-128 rijndael-192 rijndael-256 saferplus rc2 xtea serpent safer-sk64 safer-sk128 cast-256 loki97 gost threeway cast-128 blowfish des blowfish-compat tripledes enigma arcfour panama wake
Supported modes ofb cfb nofb cbc ecb stream ncfb ctr

Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value

Directive Local Value Master Value
mysql.allow_persistent Off Off
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

openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6c 21 dec 2001

overload
User-Space Object Overloading Support enabled

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

posix
Revision $Revision: 1.51.2.2 $

session
Session Support enabled
Registered save handlers files user

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
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 100 100
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 /tmp /tmp
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
Path to sendmail /usr/sbin/sendmail -t -i

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=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
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 expat_1.95.2

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
Sablotron Information Cflags: -lstdc++ -O2 -D_REENTRANT Libs: -L/usr/lib -lexpat Prefix: /usr

yp
YP Support enabled

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
PWD /root
USER root
MAIL /var/mail/root
SSH_CLIENT 81.169.187.177 51476 22
LOGNAME root
SHLVL 2
SHELL /bin/bash
HOME /root
TERM Eterm
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
SSH_TTY /dev/pts/106
_ /www/bin/httpd

PHP Variables
Variable Value
PHP_SELF /mk/include/inc_act/act_phpinfo.php
_REQUEST["PHPSESSID"] 1396880d11a53392dd90f1d8c2fe3ec7
_COOKIE["PHPSESSID"] 1396880d11a53392dd90f1d8c2fe3ec7
_SERVER["DOCUMENT_ROOT"] /www/htdocs/reiten/
_SERVER["HTTP_ACCEPT"] */*
_SERVER["HTTP_COOKIE"] PHPSESSID=1396880d11a53392dd90f1d8c2fe3ec7
_SERVER["HTTP_HOST"] reiten.hl-users.com
_SERVER["HTTP_PRAGMA"] no-cache
_SERVER["HTTP_REFERER"] http://www.reitenbach-neuss.de/mk/phpwc ... =admin&p=6
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0
_SERVER["HTTP_X_UD_LOOPCOUNT"] 2
_SERVER["HTTP_X_UD_REMOTE_ADDR"] 212.144.139.57
_SERVER["PATH"] /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
_SERVER["REMOTE_ADDR"] 213.61.105.137
_SERVER["REMOTE_HOST"] h-213.61.105.137.host.de.colt.net
_SERVER["REMOTE_PORT"] 54286
_SERVER["SCRIPT_FILENAME"] /www/htdocs/reiten/mk/include/inc_act/act_phpinfo.php
_SERVER["SERVER_ADDR"] 80.237.216.72
_SERVER["SERVER_ADMIN"] webmaster@reitenbach-neuss.de
_SERVER["SERVER_NAME"] reiten.hl-users.com
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_SIGNATURE"] <ADDRESS>Apache/1.3.33 Server at reiten.hl-users.com Port 80</ADDRESS>
_SERVER["SERVER_SOFTWARE"] Apache/1.3.33 (Unix) TuxTrafficLogRotate/20041219-00 TuxSQLConf/20041219-01 mod_perl/1.29 PHP/4.3.10 FrontPage/5.0.2.2635
_SERVER["UNIQUE_ID"] Qe0w9FDt2FMAABLpjCo
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /mk/include/inc_act/act_phpinfo.php
_SERVER["SCRIPT_NAME"] /mk/include/inc_act/act_phpinfo.php
_SERVER["PATH_TRANSLATED"] /www/htdocs/reiten/mk/include/inc_act/act_phpinfo.php
_SERVER["PHP_SELF"] /mk/include/inc_act/act_phpinfo.php
_SERVER["argv"]

Array
(
)

_SERVER["argc"] 0
_ENV["PWD"] /root
_ENV["USER"] root
_ENV["MAIL"] /var/mail/root
_ENV["SSH_CLIENT"] 81.169.187.177 51476 22
_ENV["LOGNAME"] root
_ENV["SHLVL"] 2
_ENV["SHELL"] /bin/bash
_ENV["HOME"] /root
_ENV["TERM"] Eterm
_ENV["PATH"] /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
_ENV["SSH_TTY"] /dev/pts/106
_ENV["_"] /www/bin/httpd
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

Are all the CHMOD values correct for all folders? For reference please look at this page under "Files & Folder settings":

http://www.phpwcms-docu.de/installation_en.phtml
Rudi
Posts: 6
Joined: Fri 17. Sep 2004, 09:40

Post by Rudi »

Hi spirelli.
Yes, I am sure, that all CHMODs are set correctly. I checked it twice. Do you know if there must be a special entry set in php.ini?
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

No sorry. Otherwise I don't know really, as I am not very knowfedgable with theese things. Maybe someone else can help?
Pappnase

Post by Pappnase »

hello

other question wich release did you use!? is it an freshinstall or an update!?
Rudi
Posts: 6
Joined: Fri 17. Sep 2004, 09:40

Post by Rudi »

Hi Pappnase,
I am using the actual release (Release 1.1-RC4 27-08-2004) with all patches installed (Fresh).
Quizmaster
Posts: 35
Joined: Fri 27. May 2005, 11:45

Post by Quizmaster »

Rudi wrote:Hi Pappnase,
I am using the actual release (Release 1.1-RC4 27-08-2004) with all patches installed (Fresh).
Hi Rudi,
Any update on this problem? I have got same problem too. When I upload a file which is bigger then aprox. 2 MB I got the same message.

Thanks in advance :wink:
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Hi Quizmaster,

have a look into your php settings:

:!: upload_max_filesize 2M 2M :?: :idea: :idea: :idea:
Quizmaster
Posts: 35
Joined: Fri 27. May 2005, 11:45

Post by Quizmaster »

Hi pepe, thanks fot the quick reply !!!!
I already checked the config.ini.php and set max filesize to aprox 50MB. So that shouldn't be the problem I guess. Any other solutions?
Thanks ! 8)
Post Reply