OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



OJS 2.2 installation/upgrade problem (500 error code)

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

OJS 2.2 installation/upgrade problem (500 error code)

Postby Sherman » Thu Jan 03, 2008 9:29 am

I had problems using my ISP to patch Education Policy Analysis Archives using OJS 2.1.0-1 into 2.2 (massive errors the first time; the ISP backed up the director and tried again to produce see this patch log), so I installed 2.2 into a new directory and started the upgrade, which told me it worked fine.

So I edited the config.inc.php file to installed=On, and I'm getting error-500 messages whenever I try to access pages that require the back-end database, such as the About page (now with database debugging turned on). But because the database has been upgraded, the older version in another directory won't work, either. So I've put together a technical-problems page for my users but need help fairly quickly!

I've checked the permissions for the subdirectories and the config.inc.php file, have checked that I've copied the same database stuff from the older config.inc.php into the new one, and am not sure where to go from here.

:?:

Help!
Sherman
 
Posts: 60
Joined: Sat Dec 10, 2005 8:18 pm
Location: Tampa, FL

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby smiri » Thu Jan 03, 2008 11:42 am

Hi Sherman,

As part of the upgrade instruction in the new installation, you were supposed to copy your old config.inc.php file to the new directory and add new fields to it. To see what changes you would need to make to the old config file, you should check out "docs/release-notes/" directory and apply all the changes required between your version and the last version. Once everything is done, you are also supposed to run the database upgrade tool:
Code: Select all
php tools/upgrade.php upgrade


Also, you should read the README file for some more permissions if you haven't done so already. The "cache" directory also needs to have read/write permission by apache.

I hope this solves your problem.

Regards,
smiri
 
Posts: 183
Joined: Thu Sep 06, 2007 7:01 pm

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby Sherman » Thu Jan 03, 2008 12:01 pm

Thanks for the quick response, but I'm confused: I thought that I had a bunch of options for upgrading, and one of them was a fresh installation with the carryover from config.inc.php (which I did, albeit plugging in the critical lines into the fresh-install config file), and after putting Install=Off, going to the site, and updating the database, I was told the update was successful. I've also double-checked that the cache subdirectory has read/write permissions.

Have you looked at the About page (with debugging on) to see if there are specific clues there as to what's wrong?
Sherman
 
Posts: 60
Joined: Sat Dec 10, 2005 8:18 pm
Location: Tampa, FL

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby smiri » Thu Jan 03, 2008 12:11 pm

Hi Sherman,

Could you turn database debugging off so I can have a look at the site.

Also when you get error 500, you should have a look at your apache error logs for more info on the error messages.

Thanks,
smiri
 
Posts: 183
Joined: Thu Sep 06, 2007 7:01 pm

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby Sherman » Thu Jan 03, 2008 12:17 pm

Thanks: the database debugging is now off.
Sherman
 
Posts: 60
Joined: Sat Dec 10, 2005 8:18 pm
Location: Tampa, FL

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby smiri » Thu Jan 03, 2008 12:21 pm

Thank you, now have a look at your web server error logs each time error 500 appears to see more info on the problem.
smiri
 
Posts: 183
Joined: Thu Sep 06, 2007 7:01 pm

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby Sherman » Thu Jan 03, 2008 12:37 pm

Will do.

(For future reference, please be aware that some of us do not have access to server logs or command-line terminal environments, so we have to ask our ISP support to provide these things. I'm just tech-savvy enough to know to ask my ISP support staff, but you may want to have the or ask your ISP staff to check for you as a standard line to add when you suggest these server-admin actions.
Sherman
 
Posts: 60
Joined: Sat Dec 10, 2005 8:18 pm
Location: Tampa, FL

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby Sherman » Thu Jan 03, 2008 4:22 pm

smiri wrote:Thank you, now have a look at your web server error logs each time error 500 appears to see more info on the problem.

Here is the response by my ISP's support team. Is there any reason why OJS shouldn't work with PHP5?
Hello,
Unfortunately, you do not have access to the server error log. Please stand by while we investigate the issue.
================
We did several tests on your ojs script and the 500 Error was showing up only when the script was running under the PHP5 engine. The script was returning a 500 Error as it was terminating its execution with SIGSEGV (Segmentation fault).
When we changed the PHP interpeter to PHP4, the 500 Error messages gone and the site started to work properly. So we create an .htaccess file in your ojs directory with the following line in it:
AddHandler application/x-httpd-php4 .php
This rule instructs the server to use PHP 4 as the interpreter for all .php files under /www/www/ojs.
Note that the PHP development team announced that support for PHP 4 will continue until the end of this year only, and there will be no more releases of PHP 4.4 after 2007-12-31. This is why we may have to remove PHP 4 from our servers at any point after January 1st, 2008. Although we have no immediate plans to cancel PHP 4 support, you should have all PHP5-incompatible scripts on your account updated to a PHP5-compatible version at your earliest convenience. So you may wish to contact the ojs vendors and ask them to address this PHP5 compatibility issue.

The journal site is working now, but that's only for as long as my ISP keeps PHP4.4. Could I ask for a bug to be entered on this issue?
Sherman
 
Posts: 60
Joined: Sat Dec 10, 2005 8:18 pm
Location: Tampa, FL

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby smiri » Thu Jan 03, 2008 4:48 pm

Hi Sherman,

Thanks for the info. Actually now that we know what the problem is, you could have a look here:

http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=2403

You're probably using a buggy version of Zend Optimizer. Is it possible to get server info from your ISP? Or perhaps a phpinfo page?

Thanks again,
smiri
 
Posts: 183
Joined: Thu Sep 06, 2007 7:01 pm

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby Sherman » Thu Jan 03, 2008 5:00 pm

smiri wrote:You're probably using a buggy version of Zend Optimizer. Is it possible to get server info from your ISP? Or perhaps a phpinfo page?

Two separate phpinfos, first for php4:
PHP Version 4.4.7
System Linux s432.sureserver.com 2.6.21.3-grsec #2 SMP Wed Jun 6 18:27:48 EEST 2007 i686
Build Date Oct 17 2007 08:51:27
Configure Command './configure' '--enable-discard-path' '--with-gettext' '--enable-exif' '--enable-bcmath' '--enable-calendar' '--enable-magic-quotes' '--with-curl' '--with-db' '--enable-ftp' '--with-gd' '--with-zlib' '--with-t1lib=/usr/local' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib-dir=/usr' '--with-ttf' '--with-freetype-dir=/usr' '--with-imap=/usr/local' '--with-imap-ssl' '--with-mhash=/usr/local' '--with-mcrypt=/usr/local' '--with-openssl=/usr/local/ssl' '--with-mysql=/usr/local/mysql5' '--with-ldap' '--enable-mbstring' '--enable-memory-limit' '--enable-inline-optimization' '--with-iconv' '--enable-pcntl' '--with-pspell' '--with-bz2' '--enable-sockets' '--prefix=/usr/local' '--with-config-file-path=/etc' '--enable-xslt' '--with-xslt-sablot' '--with-sablot-js' '--with-dom' '--with-dom-xslt' '--with-dom-exslt'
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend Technologies
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 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 0 2039
expose_php Off Off
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 .:/usr/local/lib/php .:/usr/local/lib/php
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 120 120
max_input_time 60 60
memory_limit 80M 80M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 20M 20M
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 /var/qmail/bin/sendmail -t -i /var/qmail/bin/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 20M 20M
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 Optimizer
Optimization Pass 1 disabled
Optimization Pass 2 disabled
Optimization Pass 3 disabled
Optimization Pass 4 disabled
Optimization Pass 9 disabled
Zend Loader enabled
License Path no value
Obfuscation level 3
bcmath
BCMath support enabled
bz2
BZip2 Support Enabled
BZip2 Version 1.0.1, 23-June-2000
calendar
Calendar support enabled
ctype
ctype functions enabled
curl
CURL support enabled
CURL Information libcurl/7.15.5 OpenSSL/0.9.7l zlib/1.2.3
db
This is GDBM version 1.8.0, as of May 19, 1999.
domxml
DOM/XML enabled
DOM/XML API Version 20020815
libxml Version 20623
HTML Support enabled
XPath Support enabled
XPointer Support enabled
DOM/XSLT enabled
libxslt Version 1.1.15
libxslt compiled against libxml Version 2.6.23
DOM/EXSLT enabled
libexslt Version 1.1.15
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.118.2.37.2.7 2007/01/09 11:38:04 tony2001 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
gettext
GetText Support enabled
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.2.4
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 2004
SSL Support enabled
ldap
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.130.2.13.2.2 2007/01/01 09:46:44 sebastian Exp $
Total Links 0/unlimited
API Version 3001
Vendor Name OpenLDAP
Vendor Version 20331
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 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
mhash
MHASH support Enabled
MHASH API Version 20020524
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.45
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql5/include/mysql
MYSQL_LIBS -L/usr/local/mysql5/lib/mysql -lmysqlclient
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
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.7l 28 Sep 2006
overload
User-Space Object Overloading Support enabled
pcntl
pcntl support enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 7.0 18-Dec-2006
posix
Revision $Revision: 1.51.2.4.2.3 $
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 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
sockets
Sockets Support enabled
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /var/qmail/bin/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
xml
XML Support active
XML Namespace Support active
EXPAT Version 1.95.6
xslt
XSLT support enabled
Backend Sablotron
Sablotron Version 1.0.1
Sablotron Information Cflags: -g -O2 Libs: -L/usr/local/lib -lexpat -ljs Prefix: /usr/local
zlib
ZLib Support enabled
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
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.

And a second for PHP5:
PHP Version 5.2.5
System Linux s432.sureserver.com 2.6.21.3-grsec #2 SMP Wed Jun 6 18:27:48 EEST 2007 i686
Build Date Nov 28 2007 05:02:56
Configure Command './configure' '--enable-discard-path' '--with-gettext' '--enable-exif' '--enable-bcmath' '--enable-calendar' '--enable-magic-quotes' '--with-curl' '--with-db' '--enable-ftp' '--with-gd' '--with-zlib' '--with-t1lib=/usr/local' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib-dir=/usr' '--with-ttf' '--with-freetype-dir=/usr' '--with-imap=/usr/local' '--with-imap-ssl' '--with-mhash=/usr/local' '--with-mcrypt=/usr/local' '--with-openssl=/usr/local/ssl' '--with-mysql=/usr/local/mysql5' '--with-ldap' '--enable-mbstring' '--enable-memory-limit' '--enable-inline-optimization' '--with-iconv' '--enable-pcntl' '--with-pspell' '--with-bz2' '--enable-sockets' '--prefix=/usr/local/php5' '--with-xsl' '--with-config-file-path=.:/etc' '--enable-soap' '--with-mysqli' '--with-pdo-mysql=/usr/local/mysql5'
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path .:/etc
Loaded Configuration File /etc/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, http, ftp, compress.bzip2, compress.zlib, https, ftps
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.*, bzip2.*, zlib.*
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend Technologies
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include 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_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 STDOUT STDOUT
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 0 6135
expose_php Off Off
extension_dir ./ ./
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 .:/usr/local/php5/lib/php .:/usr/local/php5/lib/php
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
mail.force_extra_parameters no value no value
max_execution_time 120 120
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 80M 80M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 20M 20M
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 /var/qmail/bin/sendmail -t -i /var/qmail/bin/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 20M 20M
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
bcmath
BCMath support enabled
bz2
BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.1, 23-June-2000
calendar
Calendar support enabled
cgi
Directive Local Value Master Value
cgi.check_shebang_line 1 1
cgi.fix_pathinfo 1 1
cgi.nph 0 0
cgi.rfc2616_headers 0 0
ctype
ctype functions enabled
curl
cURL support enabled
cURL Information libcurl/7.15.5 OpenSSL/0.9.7l zlib/1.2.3
date
date/time support enabled
"Olson" Timezone Database Version 2007.9
Timezone Database internal
Default timezone America/New_York
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.23
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.173.2.5.2.20 2007/06/10 20:12:45 iliaa Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
filter
Input Validation and Filtering enabled
Revision $Revision: 1.52.2.39 $
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.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.3
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
gettext
GetText 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 2.2.4
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 2004
SSL Support enabled
json
json support enabled
json version 1.2.1
ldap
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.161.2.3.2.11 2007/07/17 09:09:42 jani Exp $
Total Links 0/unlimited
API Version 3001
Vendor Name OpenLDAP
Vendor Version 20331
libxml
libXML support active
libXML Version 2.6.23
libXML streams enabled
mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On
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.strict_detection Off Off
mbstring.substitute_character no value no value
mcrypt
mcrypt support enabled
Version 2.5.7
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
mhash
MHASH support Enabled
MHASH API Version 20020524
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.45
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql5/include/mysql
MYSQL_LIBS -L/usr/local/mysql5/lib/mysql -lmysqlclient
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
mysqli
MysqlI Support enabled
Client API library version 5.0.45
Client API header version 5.0.45
MYSQLI_SOCKET /tmp/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 Off Off
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.7l 28 Sep 2006
pcntl
pcntl support enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 7.3 2007-08-28
Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000
PDO
PDO support enabled
PDO drivers sqlite2, sqlite, mysql
pdo_mysql
PDO Driver for MySQL, client library version 5.0.45
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.2 2007/03/23 14:30:00 wez Exp $
SQLite Library 3.3.17
posix
Revision $Revision: 1.70.2.3.2.16 $
pspell
PSpell Support enabled
Reflection
Reflection enabled
Version $Id: php_reflection.c,v 1.164.2.33.2.47 2007/10/28 13:47:14 iliaa Exp $
session
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary
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 /tmp /tmp
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.35 $
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
sockets
Sockets Support enabled
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.9 2007/05/19 17:58:22 iliaa 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 /var/qmail/bin/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
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.23
xmlreader
XMLReader enabled
xmlwriter
XMLWriter enabled
xsl
XSL enabled
libxslt Version 1.1.15
libxslt compiled against libxml Version 2.6.23
EXSLT enabled
libexslt Version 1.1.15
Zend Optimizer
Optimization Pass 1 disabled
Optimization Pass 2 disabled
Optimization Pass 3 disabled
Optimization Pass 4 disabled
Optimization Pass 9 disabled
Zend Loader enabled
License Path no value
Obfuscation level 3
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
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.

My apologies for the messy de-HTMLization, but I hope it provides the information you need.
Sherman
 
Posts: 60
Joined: Sat Dec 10, 2005 8:18 pm
Location: Tampa, FL

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby Sherman » Thu Jan 03, 2008 5:03 pm

smiri wrote:Hi Sherman,

Thanks for the info. Actually now that we know what the problem is, you could have a look here:

http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=2403

Thanks. Remember that I'm working through my ISP on some things. The following is the entire text of my domain's php.ini:
Code: Select all
register_globals = on
post_max_size = 20M
memory_limit = 80M
upload_max_filesize = 20M
max_execution_time = 120
expose_php=off

To remove Zend Optimizer for my domain (which I'd be happy to do if that solves the problem), I'd need to add code, and I don't know what it would be.
Sherman
 
Posts: 60
Joined: Sat Dec 10, 2005 8:18 pm
Location: Tampa, FL

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby smiri » Thu Jan 03, 2008 5:39 pm

Hi Sherman,

I would suggest you ask your ISP as to how you can remove Zend Optimizer. I've also asked someone and am waiting for a reply.

Regards,
smiri
 
Posts: 183
Joined: Thu Sep 06, 2007 7:01 pm

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby Sherman » Thu Jan 03, 2008 7:22 pm

Thanks! For future reference, my ISP is ICDSoft, and here is what they put in a php.ini file in the directory where ojs resides:
Code: Select all
register_globals = on
post_max_size = 20M
memory_limit = 80M
upload_max_filesize = 20M
max_execution_time = 120
expose_php=off

That solved the problem.
Sherman
 
Posts: 60
Joined: Sat Dec 10, 2005 8:18 pm
Location: Tampa, FL

Re: OJS 2.2 installation/upgrade problem (500 error code)

Postby smiri » Thu Jan 03, 2008 9:44 pm

I'm glad this is solved. So what code did you have to add to this php.ini to remove zend optimizer? the two php.ini you posted look the same.

Regards,
smiri
 
Posts: 183
Joined: Thu Sep 06, 2007 7:01 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Baidu [Spider], ctgraham, Google [Bot] and 6 guests