Hi,
I've installed everything correctly (this is not the first time) and now when I try to create a new album i can't! When I clic on 'update/create category', my browser doesn't find the webpage! If I simply try to create an album, there is no problem, then quid ???
Thanks in advance!
Gregl
Take a look at phpinfo (under "admin tools" and search the page output if you can find the var $PHP_SELF (it'll show up without the $ in front of it). Post the content of it in your reply here. Do you get an actual error message? If yes, post it as well.
Joachim
Sorry i can't find the var $PHP_SELF! Here is the copy of the page, and i have no message error, just 'page not found'!
Configuration
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 /data/apache/php/mmp_lib/append.php /data/apache/php/mmp_lib/append.php
auto_prepend_file /data/apache/php/mmp_lib/prepend.php /data/apache/php/mmp_lib/prepend.php
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 highlight_file,diskfreespace, exec, passthru, system, popen, show_source, php_uname, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, chgrp, link highlight_file,diskfreespace, exec, passthru, system, popen, show_source, php_uname, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, chgrp, link
display_errors On On
display_startup_errors On On
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl Off Off
error_append_string no value no value
error_log no value no value
error_prepend_string <font color='#ff0000'> <font color='#ff0000'>
error_reporting 2039 1797
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 .:/data/apache/php/mmp_lib:/data/session .:/data/apache/php/mmp_lib:/data/session
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 -1 -1
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 50M 50M
precision 14 14
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode On On
safe_mode_exec_dir /data/apache/php/safe_exec /data/apache/php/safe_exec
safe_mode_gid On On
safe_mode_include_dir /data/apache/php/mmp_lib:/data/session /data/apache/php/mmp_lib:/data/session
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail /usr/sbin/sendmail
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 50M 50M
upload_tmp_dir /tmp /tmp
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance Off Off
Zend Optimizer
Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 9 disabled
Optimization Pass 10 disabled
Zend Loader enabled
License Path no value
bcmath
BCMath support enabled
bz2
BZip2 Support Enabled
BZip2 Version 1.0.2, 30-Dec-2001
calendar
Calendar support enabled
ctype
ctype functions enabled
domxml
DOM/XML enabled
DOM/XML API Version 20020815
libxml Version 20603
HTML Support enabled
XPath Support enabled
XPointer Support enabled
ftp
FTP support enabled
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
gettext
GetText Support enabled
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.2.5
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
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 ISO-8859-1 no value
mbstring.language neutral neutral
mbstring.substitute_character no value no value
mcrypt
mcrypt support enabled
version >= 2.4.x
Supported ciphers cast-128 cast-128 gost gost rijndael-128 rijndael-128 twofish twofish arcfour arcfour cast-256 cast-256 loki97 loki97 rijndael-192 rijndael-192 saferplus saferplus wake wake blowfish-compat blowfish-compat des des panama panama rijndael-256 rijndael-256 serpent serpent xtea xtea blowfish blowfish enigma enigma rc2 rc2 tripledes tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream
Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value
mhash
MHASH support Enabled
MHASH API Version 20020524
mime_magic
mime_magic support enabled
Directive Local Value Master Value
mime_magic.magicfile no value no value
ming
Ming SWF output library enabled
Version 0.3a
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 1
Client API version 3.23.57
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr//include/mysql
MYSQL_LIBS -L/usr//lib -lmysqlclient
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 5 5
mysql.max_persistent 0 0
mysql.trace_mode Off Off
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6k 30 Sep 2003
overload
User-Space Object Overloading Support enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 4.5 01-December-2003
pspell
PSpell Support enabled
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 3600 3600
session.cookie_path no value no value
session.cookie_secure Off Off
session.entropy_file /dev/urandom /dev/urandom
session.entropy_length 16 16
session.gc_divisor 100 100
session.gc_maxlifetime 1200 1200
session.gc_probability 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /data/session /data/session
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
sockets
Sockets Support enabled
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail
Directive Local Value Master Value
assert.active 1 1
assert.bail no value no value
assert.callback 0 0
assert.quiet_eval 1 1
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,form=,fieldset= a=href,area=href,frame=src,form=,fieldset=
user_agent no value no value
tokenizer
Tokenizer Support 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 0.98
zip
Zip 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
Thanks for your help!
Gregl
take a look at the very bottom of phpinfo - the most important part "PHP Variables" is not in your quote.
Joachim
ok So, I have the same problem on a online.net hosting (works fine on free.fr)
well so my PHP_SELF in my phpinfo.php says:
/www.pressescape.net/cpg132/phpinfo.php
and this is the point, it shouldn't be full path, but relative
on a galery that works fine i get: /cpg132/phpinfo.php
so where can we fix this?
thanks a lot
Open your include/init.inc.php and change
$PHP_SELF = isset($HTTP_SERVER_VARS['REDIRECT_URL']) ? $HTTP_SERVER_VARS['REDIRECT_URL'] : $HTTP_SERVER_VARS['SCRIPT_NAME'];
to
$PHP_SELF = $HTTP_SERVER_VARS['SCRIPT_NAME'];