Blank page after setup

I'm sure this must be a really easy problem.

I'm trying to put up a reference demo version of ZenPhoto on our server (Red Hat).

I download, extract the tarball, fetch the page up in a browser, and I get the setup script. I set the mysql settings, and save these, and I then get... A blank page. No data returned at all. THe new database remains untouched as well, however it's doing something since if I change the password on the database server I get the setup page back, complaining that it's getting permisison denied.

Must be somethnig dead easy, but I've got nothing to go on.

Any hints gratefully recieved.

Andy Holyer
University of the Arts London.

Comments

  • easiest way to find out what's going on is to check your server error logs, it'll give whatever fatal call is being made. Blank screens are normally that.
  • There's no error message posted. Logs the fetch as delivered correctly - just zero length

    10.20.69.84 - - [14/Jun/2010:13:33:30 +0100] "GET /zp-demo/zp-core/setup.php HT\
    TP/1.1" 200 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Ge\
    cko/20100115 Firefox/3.6"
  • acrylian Administrator, Developer
    Are you sure that your server matches the requirements and supports PHP at all? Just asking... Best you post a little info about your server configuration.
  • It defintely matches the requirements. We've got loads of Wordpress instances running, for example.

    I can post the output of phpinfo() if need be, but I don't want to flood the forum with too much data.

    What confuses mee is that I setup() responds when it can't get to the database, but then goes completely quiet once I give it the credentials.
  • acrylian Administrator, Developer
    Ok. As micheall already said a blank screen is normally a fatal php error. If nothing is in the server error log we are actually guessing.

    I suggest to post some info of your server, does not need to be the full phpinfo() yet but at least PHP version, MySQL version.
  • The logs you want to check are normally called the "CGI" or script error logs.
  • I've checked those - each of our vhosts has their own pair of logfiles, plus I've monitored /var/log/php and /var/log/messages - none of them show an error.

    Here's the output of phpinfo to see if that gives a clue:

    `

    PHP Logo

    PHP Version 5.2.1

    System Linux web-infra5-drl 2.6.18-128.el5 #1 SMP Wed Dec 17 11:42:39 EST 2008 i686

    Build Date Feb 17 2010 14:47:31

    Configure Command './configure' '--prefix=/usr/local/php5' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mm=/usr/local/lib' '--with-openssl' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-oci8=instantclient,/u01/instantclient_10_2' '--with-iodbc=/usr/local/lib' '--enable-ftp' '--with-ldap' '--with-mcrypt=/usr/local/lib/' '--with-xmlrpc' '--enable-wddx' '--with-curl=/usr/local/lib/' '--with-curlwrappers' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-freetype-dir=/usr' '--with-zlib-dir=/usr' '--enable-gd-native-ttf' '--with-gd' '--with-iconv=/usr/local/lib/' '--enable-soap' '--with-pspell'

    Server API Apache 2.0 Handler

    Virtual Directory Support disabled

    Configuration File (php.ini) Path /usr/local/php5/lib/php.ini

    PHP API 20041225

    PHP Extension 20060613

    Zend Extension 220060519

    Debug Build no

    Thread Safety disabled

    Zend Memory Manager enabled

    IPv6 Support enabled

    Registered PHP Streams php, file, data, tftp, ftp, telnet, dict, ldap, http, https, ftps, compress.zlib

    Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls

    Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.*

    Zend logo This program makes use of the Zend Scripting Language Engine:

    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

    PHP Credits

    Configuration

    PHP Core

    Directive Local Value Master Value

    allow_call_time_pass_reference On On

    allow_url_fopen On On

    allow_url_include Off Off

    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_globals_jit On On

    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 /var/log/php /var/log/php

    error_prepend_string no value no value

    error_reporting 6135 6135

    expose_php On On

    extension_dir /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613 /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613

    file_uploads On On

    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 .:/php/includes:/web/shared/php:/usr/local/php5/lib/php .:/php/includes:/web/shared/php:/usr/local/php5/lib/php

    log_errors On On

    log_errors_max_len 1024 1024

    magic_quotes_gpc On On

    magic_quotes_runtime Off Off

    magic_quotes_sybase Off Off

    mail.force_extra_parameters no value no value

    max_execution_time 360 360

    max_input_time 60 60

    memory_limit 25M 25M

    open_basedir no value no value

    output_buffering no value no value

    output_handler no value no value

    post_max_size 25M 25M

    precision 12 12

    realpath_cache_size 16K 16K

    realpath_cache_ttl 120 120

    register_argc_argv On On

    register_globals On On

    register_long_arrays On On

    report_memleaks On On

    report_zend_debug 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 25M 25M

    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

    zend.ze1_compatibility_mode Off Off

    apache2handler

    Apache Version Apache

    Apache API Version 20051115

    Server Administrator webmaster@arts.ac.uk

    Hostname:Port intranet.arts.ac.uk:0

    User/Group nobody(99)/99

    Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100

    Timeouts Connection: 12000 - Keep-Alive: 15

    Virtual Server Yes

    Server Root /usr/local/apache2

    Loaded Modules core prefork http_core mod_so mod_authn_file mod_authn_dbm mod_authn_anon mod_authn_dbd mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_dbm mod_authz_owner mod_authnz_ldap mod_authz_default mod_auth_basic mod_auth_digest mod_dbd mod_dumpio mod_example mod_ext_filter mod_include mod_filter mod_deflate util_ldap mod_log_config mod_log_forensic mod_logio mod_env mod_mime_magic mod_cern_meta mod_expires mod_headers mod_ident mod_usertrack mod_unique_id mod_setenvif mod_version mod_proxy mod_proxy_connect mod_proxy_ftp mod_proxy_http mod_proxy_ajp mod_proxy_balancer mod_ssl mod_mime mod_status mod_autoindex mod_asis mod_info mod_cgi mod_vhost_alias mod_negotiation mod_dir mod_imagemap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_php5 mod_suphp mod_jk

    Directive Local Value Master Value

    engine 1 1

    last_modified 0 0

    xbithack 0 0

    Apache Environment

    Variable Value

    UNIQUE_ID TBZOGQpABKgAACaEHYsAAACF

    SCRIPT_URL /itt/info.php

    SCRIPT_URI http://intranet.arts.ac.uk/itt/info.php

    HTTP_HOST intranet.arts.ac.uk

    HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6

    HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

    HTTP_ACCEPT_LANGUAGE en-gb,en;q=0.5

    HTTP_ACCEPT_ENCODING gzip,deflate

    HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7

    HTTP_KEEP_ALIVE 115

    HTTP_CONNECTION keep-alive

    HTTP_COOKIE __utma=173576435.549470971.1233918040.1276267657.1276272627.175; __utmz=173576435.1276267657.174.67.utmcsr=showtime.arts.ac.uk|utmccn=(referral)|utmcmd=referral|utmcct=/showtime/; __utma=189202419.1095956854.1263304175.1267546482.1267549459.10; __utmz=189202419.1263304175.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); style=null; __utmc=173576435; PHPSESSID=5c0eaae2a7807d9dc15137f909027a7d

    PATH /opt/reddot/LiveServer/tomcat/webapps/cps/WEB-INF/lib/se/verity/k2/_ilnx21/bin:/sbin:/usr/sbin:/bin:/usr/bin

    SERVER_SIGNATURE

    Apache Server at intranet.arts.ac.uk Port 80
    SERVER_SOFTWARE Apache

    SERVER_NAME intranet.arts.ac.uk

    SERVER_ADDR 195.195.69.11

    SERVER_PORT 80

    REMOTE_ADDR 10.20.69.84

    DOCUMENT_ROOT /web/sites/virtual/intranet.arts.ac.uk

    SERVER_ADMIN webmaster@arts.ac.uk

    SCRIPT_FILENAME /web/sites/sub/intranet.arts.ac.uk/itt/info.php

    REMOTE_PORT 3185

    GATEWAY_INTERFACE CGI/1.1

    SERVER_PROTOCOL HTTP/1.1

    REQUEST_METHOD GET

    QUERY_STRING no value

    REQUEST_URI /itt/info.php

    SCRIPT_NAME /itt/info.php

    HTTP Headers Information

    HTTP Request Headers

    HTTP Request GET /itt/info.php HTTP/1.1

    Host intranet.arts.ac.uk

    User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6

    Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

    Accept-Language en-gb,en;q=0.5

    Accept-Encoding gzip,deflate

    Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7

    Keep-Alive 115

    Connection keep-alive

    Cookie __utma=173576435.549470971.1233918040.1276267657.1276272627.175; __utmz=173576435.1276267657.174.67.utmcsr=showtime.arts.ac.uk|utmccn=(referral)|utmcmd=referral|utmcct=/showtime/; __utma=189202419.1095956854.1263304175.1267546482.1267549459.10; __utmz=189202419.1263304175.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); style=null; __utmc=173576435; PHPSESSID=5c0eaae2a7807d9dc15137f909027a7d

    HTTP Response Headers

    X-Powered-By PHP/5.2.1

    Keep-Alive timeout=15, max=100

    Connection Keep-Alive

    Transfer-Encoding chunked

    Content-Type text/html

    apc

    APC Support disabled

    Version 3.0.14

    MMAP Support Enabled

    MMAP File Mask no value

    Locking type File Locks

    Revision $Revision: 3.140 $

    Build Date Apr 30 2007 08:33:19

    Directive Local Value Master Value

    apc.cache_by_default On On

    apc.enable_cli Off Off

    apc.enabled Off Off

    apc.file_update_protection 2 2

    apc.filters -^.*wp\-.*$,-^.*designagainstcrime.*$, -^.*cochranetheatre.*$ -^.*wp\-.*$,-^.*designagainstcrime.*$, -^.*cochranetheatre.*$

    apc.gc_ttl 1 1

    apc.include_once_override Off Off

    apc.localcache On On

    apc.localcache.size 10000 10000

    apc.max_file_size 1M 1M

    apc.mmap_file_mask no value no value

    apc.num_files_hint 60000 60000

    apc.report_autofilter Off Off

    apc.rfc1867 Off Off

    apc.shm_segments 1 1

    apc.shm_size 256 256

    apc.slam_defense 0 0

    apc.stat On On

    apc.stat_ctime Off Off

    apc.ttl 60 60

    apc.user_entries_hint 4096 4096

    apc.user_ttl 0 0

    apc.write_lock On On

    ctype

    ctype functions enabled

    curl

    cURL support enabled

    cURL Information libcurl/7.19.4 OpenSSL/0.9.8b zlib/1.2.3

    date

    date/time support enabled

    Timezone Database Version 2006.16

    Timezone Database internal

    Default timezone Europe/London

    Directive Local Value Master Value

    date.default_latitude 31.7667 31.7667

    date.default_longitude 35.2333 35.2333

    date.sunrise_zenith 90.583333 90.583333

    date.sunset_zenith 90.583333 90.583333

    date.timezone no value no value

    dom

    DOM/XML enabled

    DOM/XML API Version 20031129

    libxml Version 2.6.26

    HTML Support enabled

    XPath Support enabled

    XPointer Support enabled

    Schema Support enabled

    RelaxNG Support enabled

    filter

    Input Validation and Filtering enabled

    Revision $Revision: 1.52.2.38 $

    Directive Local Value Master Value

    filter.default unsafe_raw unsafe_raw

    filter.default_flags no value no value

    ftp

    FTP support enabled

    gd

    GD Support enabled

    GD Version bundled (2.0.28 compatible)

    FreeType Support enabled

    FreeType Linkage with freetype

    FreeType Version 2.2.1

    GIF Read Support enabled

    GIF Create Support enabled

    JPG Support enabled

    PNG Support enabled

    WBMP Support enabled

    XBM Support enabled

    hash

    hash support enabled

    Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

    iconv

    iconv support enabled

    iconv implementation glibc

    iconv library version 1.11

    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

    json

    json support enabled

    json version 1.2.1

    ldap

    LDAP Support enabled

    RCS Version $Id: ldap.c,v 1.161.2.3.2.3 2007/01/05 15:06:55 iliaa Exp $

    Total Links 0/unlimited

    API Version 3001

    Vendor Name OpenLDAP

    Vendor Version 20343

    libxml

    libXML support active

    libXML Version 2.6.26

    libXML streams enabled

    mcrypt

    mcrypt support enabled

    Version 2.5.8

    Api No 20021217

    Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 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

    memcache

    memcache support enabled

    Active persistent connections 0

    Revision $Revision: 1.80 $

    Directive Local Value Master Value

    memcache.allow_failover 1 1

    memcache.chunk_size 8192 8192

    memcache.default_port 11211 11211

    memcache.max_failover_attempts 20 20

    mysql

    MySQL Support enabled

    Active Persistent Links 0

    Active Links 0

    Client API version 5.0.45

    MYSQL_MODULE_TYPE external

    MYSQL_SOCKET /var/lib/mysql/mysql.sock

    MYSQL_INCLUDE -I/usr/include/mysql

    MYSQL_LIBS -L/usr/lib/mysql -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 16 16

    mysql.max_persistent 16 16

    mysql.trace_mode Off Off

    mysqli

    MysqlI Support enabled

    Client API library version 5.0.45

    Client API header version 5.0.45

    MYSQLI_SOCKET /var/lib/mysql/mysql.sock

    Directive Local Value Master Value

    mysqli.default_host no value no value

    mysqli.default_port 3306 3306

    mysqli.default_pw no value no value

    mysqli.default_socket no value no value

    mysqli.default_user no value no value

    mysqli.max_links Unlimited Unlimited

    mysqli.reconnect On On

    oci8

    OCI8 Support enabled

    Version 1.2.3

    Revision $Revision: 1.269.2.16.2.30 $

    Active Persistent Connections 0

    Active Connections 0

    Oracle Instant Client Version 10.2

    Temporary Lob support enabled

    Collections support enabled

    Directive Local Value Master Value

    oci8.default_prefetch 10 10

    oci8.max_persistent -1 -1

    oci8.old_oci_close_semantics 0 0

    oci8.persistent_timeout -1 -1

    oci8.ping_interval 60 60

    oci8.privileged_connect Off Off

    oci8.statement_cache_size 20 20

    odbc

    ODBC Support enabled

    Active Persistent Links 0

    Active Links 0

    ODBC library iodbc

    ODBC_INCLUDE -I/usr/local/lib/include

    ODBC_LFLAGS -L/usr/local/lib/lib

    ODBC_LIBS -liodbc

    Directive Local Value Master Value

    odbc.allow_persistent Off Off

    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

    openssl

    OpenSSL support enabled

    OpenSSL Version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

    pcre

    PCRE (Perl Compatible Regular Expressions) Support enabled

    PCRE Library Version 6.7 04-Jul-2006

    PDO

    PDO support enabled

    PDO drivers sqlite2, sqlite

    pdo_sqlite

    PDO Driver for SQLite 3.x enabled

    PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.1 2007/01/01 09:36:05 sebastian Exp $

    SQLite Library 3.3.7

    posix

    Revision $Revision: 1.70.2.3.2.12 $

    pspell

    PSpell Support enabled

    Reflection

    Reflection enabled

    Version $Id: php_reflection.c,v 1.164.2.33.2.33 2007/01/01 09:36:05 sebastian Exp $

    session

    Session Support enabled

    Registered save handlers files user mm sqlite memcache

    Registered serializer handlers php php_binary wddx

    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_httponly Off Off

    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.hash_bits_per_character 4 4

    session.hash_function 0 0

    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 0 0

    SimpleXML

    Simplexml support enabled

    Revision $Revision: 1.151.2.22.2.20 $

    Schema support enabled

    soap

    Soap Client enabled

    Soap Server enabled

    Directive Local Value Master Value

    soap.wsdl_cache 1 1

    soap.wsdl_cache_dir /tmp /tmp

    soap.wsdl_cache_enabled 1 1

    soap.wsdl_cache_limit 5 5

    soap.wsdl_cache_ttl 86400 86400

    SPL

    SPL support enabled

    Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject

    Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

    SQLite

    SQLite support enabled

    PECL Module version 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.6 2007/01/01 09:36:07 sebastian Exp $

    SQLite Library 2.8.17

    SQLite Encoding iso8859

    Directive Local Value Master Value

    sqlite.assoc_case 0 0

    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

    libxml2 Version 2.6.26

    xmlreader

    XMLReader enabled

    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

    xmlwriter

    XMLWriter enabled

    zlib

    ZLib Support enabled

    Stream Wrapper support compress.zlib://

    Stream Filter support zlib.inflate, zlib.deflate

    Compiled Version 1.2.3

    Linked Version 1.2.3

    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

    HOSTNAME web-infra5-drl

    TERM xterm-color

    SHELL /bin/bash

    HISTSIZE 1000

    NLS_LANG american_america.WE8DEC

    USER root

    LS_COLORS no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:

    LD_LIBRARY_PATH /opt/reddot/LiveServer/tomcat/webapps/cps/WEB-INF/lib/se/verity/k2/_ilnx21/bin::/u01/instantclient_10_2

    SUDO_USER aholyer

    ORACLE_SID QLSL.world

    SUDO_UID 1046

    ORACLE_BASE /u01/instantclient_10_2

    USERNAME root

    LIBPATH /opt/reddot/LiveServer/tomcat/webapps/cps/WEB-INF/lib/se/verity/k2/_ilnx21/bin:

    MAIL /var/spool/mail/aholyer

    PATH /opt/reddot/LiveServer/tomcat/webapps/cps/WEB-INF/lib/se/verity/k2/_ilnx21/bin:/sbin:/usr/sbin:/bin:/usr/bin

    TNS_ADMIN /u01/instantclient_10_2

    INPUTRC /etc/inputrc

    PWD /home/aholyer

    LANG en_US.UTF-8

    HOME /home/aholyer

    SUDO_COMMAND /etc/init.d/httpd start

    SHLVL 2

    LOGNAME root

    SUDO_GID 1046

    ORA_NLS33 /u01/instantclient_10_2

    _ /usr/local/apache2/bin/httpd

    PHP Variables

    Variable Value

    PHP_SELF /itt/info.php

    _REQUEST["__utma"] 173576435.549470971.1233918040.1276267657.1276272627.175

    _REQUEST["__utmz"] 173576435.1276267657.174.67.utmcsr=showtime.arts.ac.uk|utmccn=(referral)|utmcmd=referral|utmcct=/showtime/

    _REQUEST["style"] null

    _REQUEST["__utmc"] 173576435

    _REQUEST["PHPSESSID"] 5c0eaae2a7807d9dc15137f909027a7d

    _COOKIE["__utma"] 173576435.549470971.1233918040.1276267657.1276272627.175

    _COOKIE["__utmz"] 173576435.1276267657.174.67.utmcsr=showtime.arts.ac.uk|utmccn=(referral)|utmcmd=referral|utmcct=/showtime/

    _COOKIE["style"] null

    _COOKIE["__utmc"] 173576435

    _COOKIE["PHPSESSID"] 5c0eaae2a7807d9dc15137f909027a7d

    _SERVER["UNIQUE_ID"] TBZOGQpABKgAACaEHYsAAACF

    _SERVER["SCRIPT_URL"] /itt/info.php

    _SERVER["SCRIPT_URI"] http://intranet.arts.ac.uk/itt/info.php

    _SERVER["HTTP_HOST"] intranet.arts.ac.uk

    _SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6

    _SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

    _SERVER["HTTP_ACCEPT_LANGUAGE"] en-gb,en;q=0.5

    _SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate

    _SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7

    _SERVER["HTTP_KEEP_ALIVE"] 115

    _SERVER["HTTP_CONNECTION"] keep-alive

    _SERVER["HTTP_COOKIE"] __utma=173576435.549470971.1233918040.1276267657.1276272627.175; __utmz=173576435.1276267657.174.67.utmcsr=showtime.arts.ac.uk|utmccn=(referral)|utmcmd=referral|utmcct=/showtime/; __utma=189202419.1095956854.1263304175.1267546482.1267549459.10; __utmz=189202419.1263304175.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); style=null; __utmc=173576435; PHPSESSID=5c0eaae2a7807d9dc15137f909027a7d

    _SERVER["PATH"] /opt/reddot/LiveServer/tomcat/webapps/cps/WEB-INF/lib/se/verity/k2/_ilnx21/bin:/sbin:/usr/sbin:/bin:/usr/bin

    _SERVER["SERVER_SIGNATURE"]

    Apache Server at intranet.arts.ac.uk Port 80
    _SERVER["SERVER_SOFTWARE"] Apache

    _SERVER["SERVER_NAME"] intranet.arts.ac.uk

    _SERVER["SERVER_ADDR"] 195.195.69.11

    _SERVER["SERVER_PORT"] 80

    _SERVER["REMOTE_ADDR"] 10.20.69.84

    _SERVER["DOCUMENT_ROOT"] /web/sites/virtual/intranet.arts.ac.uk

    _SERVER["SERVER_ADMIN"] webmaster@arts.ac.uk

    _SERVER["SCRIPT_FILENAME"] /web/sites/sub/intranet.arts.ac.uk/itt/info.php

    _SERVER["REMOTE_PORT"] 3185

    _SERVER["GATEWAY_INTERFACE"] CGI/1.1

    _SERVER["SERVER_PROTOCOL"] HTTP/1.1

    _SERVER["REQUEST_METHOD"] GET

    _SERVER["QUERY_STRING"] no value

    _SERVER["REQUEST_URI"] /itt/info.php

    _SERVER["SCRIPT_NAME"] /itt/info.php

    _SERVER["PHP_SELF"] /itt/info.php

    _SERVER["REQUEST_TIME"] 1276530201

    _SERVER["argv"]

    Array

    (

    )

    _SERVER["argc"] 0

    _ENV["HOSTNAME"] web-infra5-drl

    _ENV["TERM"] xterm-color

    _ENV["SHELL"] /bin/bash

    _ENV["HISTSIZE"] 1000

    _ENV["NLS_LANG"] american_america.WE8DEC

    _ENV["USER"] root

    _ENV["LS_COLORS"] no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:

    _ENV["LD_LIBRARY_PATH"] /opt/reddot/LiveServer/tomcat/webapps/cps/WEB-INF/lib/se/verity/k2/_ilnx21/bin::/u01/instantclient_10_2

    _ENV["SUDO_USER"] aholyer

    _ENV["ORACLE_SID"] QLSL.world

    _ENV["SUDO_UID"] 1046

    _ENV["ORACLE_BASE"] /u01/instantclient_10_2

    _ENV["USERNAME"] root

    _ENV["LIBPATH"] /opt/reddot/LiveServer/tomcat/webapps/cps/WEB-INF/lib/se/verity/k2/_ilnx21/bin:

    _ENV["MAIL"] /var/spool/mail/aholyer

    _ENV["PATH"] /opt/reddot/LiveServer/tomcat/webapps/cps/WEB-INF/lib/se/verity/k2/_ilnx21/bin:/sbin:/usr/sbin:/bin:/usr/bin

    _ENV["TNS_ADMIN"] /u01/instantclient_10_2

    _ENV["INPUTRC"] /etc/inputrc

    _ENV["PWD"] /home/aholyer

    _ENV["LANG"] en_US.UTF-8

    _ENV["HOME"] /home/aholyer

    _ENV["SUDO_COMMAND"] /etc/init.d/httpd start

    _ENV["SHLVL"] 2

    _ENV["LOGNAME"] root

    _ENV["SUDO_GID"] 1046

    _ENV["ORA_NLS33"] /u01/instantclient_10_2

    _ENV["_"] /usr/local/apache2/bin/httpd

    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.

    `

  • acrylian Administrator, Developer
    It looks okay so far. If I recall correctly we had an issue with the gettext extension not being present and causing setup trouble. gettext is not required actually if you use Zenphoto's backend in English anyway (which I suppose you do..;-)) Don't remember right now if that was 1.3 or 1.2.9 though. But actually this should really cause an php error in the log.

    You said you have some Wordpress installs running. Did you maybe accidentally messed up index files of both or so? (Just guessing...) Did you install zenphoto in a subfolder? Do you have a correct .htaccess file? If possible you could post a link so we can take a look directly.

    What you could try for now is to install the nightly build.
  • I'm not putting ZP up as part of Wordpress - it's stand-alone, for a particular customer.

    It "should" be visible at http://www.arts.ac.uk/zp-demo/ (this is a demo installation before the final one. Feel free to poke around. Do you want me to change the DB password so you get some response?
  • acrylian Administrator, Developer
    Well, Zenphoto is always standalone, it can be used with Wordpress but as a part of it.. J

    Since I really see an empty page only I guess the change to get a response would be good...:)
  • From the PHP info you posted, the log that you want is stored on the server at `/var/log/php`. If you can't get access to that file, you could add these lines to Zenphoto's `index.php` to (hopefully) redirect any error output to Zenphoto's error log:

    `
    $error_log_path = dirname(dirname(__FILE__)) . '/' . DATA_FOLDER . '/error_log.txt';
    ini_set('error_log', $error_log_path);
    ini_set('display_startup_errors', 1);
    `
    This should show any errors in `zp-data/error_log.txt`.
  • I've got access to that file, it's not showing any error.

    I've now changed the password on the database, and now I get a response from setup:

    Zenphoto Setup Setup

    Welcome to Zenphoto! This page will set up Zenphoto on your web server.
    Systems Check:

    * PHP version 5.2.1
    * PHP Safe Mode
    * PHP magic_quotes_gpc [is enabled]
    Warning!
    You should consider disabling magic_quotes_gpc. For more information See What is magic_quotes_gpc and why should it be disabled? in the Zenphoto troubleshooting guide.
    * PHP gettext() support [is not present]
    Warning!
    Localization of Zenphoto currently requires native PHP gettext() support
    * PHP mbstring package [is not present]
    Warning!
    Strings generated internally by PHP may not display correctly. (e.g. dates)
    * PHP MySQL support
    * zp-config.php file
    * File/Folder Permissions [are strict (0755)] Notice! click for details
    Notice!

    If file and folder permissions are not set to strict or tighter there could be a security risk. However, on some servers Zenphoto does not function correctly with tight file/folder permissions. If Zenphoto has permission errors, run setup again and select a more relaxed permission.
    Change file/folder permissions mask:

    * MySQL setup in zp-config.php
    Error!
    Access denied for user 'zp-demo'@'web-infra5-dr.arts.ac.uk' (using password: YES)
    *

    Fill in the information below and setup will attempt to update your zp-config.php file.
    MySQL admin user *
    MySQL admin password *
    MySQL host
    MySQL database *
    Database table prefix
    * required

    * Zenphoto core files
    * Zenphoto core file permissions
    * .htaccess file (RewriteEngine is ON)
    * .htaccess RewriteBase is /zp-demo
    * robots.txt file [Not created] Notice! click for details
    Notice!

    Setup did not create a robots.txt file because one already exists.
    * albums folder
    * cache folder
    * locale folders
    * uploaded folder
    * zp-data folder
    * HTML cache folder (cache_html)
    * Third party plugins folder (plugins)

    You need to address the problems indicated above then run setup.php again.

    Stop

    zenphoto | Forum | Trac | Change log

    What's funny is if the password is correct I get the blank page...
  • The error you are getting is from your MySQL software. Either the user/password you supplied is not correct/has insufficient permissions, or your MySQL server has a bug. In either case we can not help much.
  • If you look further up the posting you will see that I deliberately changed the MySQL account password, so as to not get a blank screen. If the mysql account password is correct, then ZenPhoto returns nothing at all, with no error that I can find in any logs. This, as you point out is because MySQL is complaining about a bad password - which I set deliberately. I'd like to know if anything else is wrong. If you look above, the URL is globally accessible,

    What I'm trying to find out is what could be causing that.
  • Well, normally blank screens are caused by PHP script errors. If there is no error that you can find it is pretty difficult to tell what the error was.

    Things that have been known to cause this in the past (all corrected in the current version of Zenphoto) have been lack of gettext() support, skippping too many Zenphoto versions, problems with mbstring(), and PHP saying it has Imagick support when it does not.

    If you cannot find the error and the current build still exhibits this problem we are really at an impass.
  • Hello,

    I'm getting the blank screen too. I have trashed my local installation, a copy of the remote site, because I had messed it up. I wanted to get a copy from the remote version again, but I cannot set it up anymore.

    The former installation was on the same computer, I'm working with Mampp. I did it exactly like yesterday when I did the first copy to my local "server":

    1. Installed Zenphoto locally.
    2. Copied all customized themes or plugins from the old to the new location.
    3. Copied the albums and the cache folder from the old to the new location and if you used Zenpage also the uploaded folder.
    4. Exported the database with the phpadmin wizard and imported it to Mampp.
    5. Tried to run setup (zp-core/setup.php).

    And that was it... blank screen.
  • See post above.
  • But I had the exact same installation installed the day before on the same environment, my local computer. Where should there suddenly an error be coming from?
  • acrylian Administrator, Developer
    Without knowing what error actually appears we will not be able to help. So please look into the server error log.
  • I was experiencing the same issue when setting up on a RHEL (RHEL 5.5 w/ MySQL 5.1.48 & php 5.3.2). Everything worked perfect on my local install (Mac OS X 10.6 w/ MySQL 5.1.47 & php 5.3.1). What solved it for me was to go to command line mysql, log in and grant all to the db using a hostname of '%'.

    For example:
    mysql> grant all on zenphoto.* to 'admin'@'%';

    Obviously, you'll need to change the name of the database and the user associated with your setup.
Sign In or Register to comment.