Koozali.org: home of the SME Server

can't upload pix in gallery

ldavies

can't upload pix in gallery
« on: May 03, 2004, 03:16:58 AM »
Hi.

Using 6.0.1 with Geeklog 1.3.9 in an ibay.  Gallery 1.4.3 is nested in Geeklog.

My problem is that I cannot upload pictures to Gallery.  I had a long discussion with quite an expert at the gallery site and his conclusion (after reading a phpinfo file I sent him was that enable-safe-mode was on even though he know that my php.ini file said that it was off.  He said
Quote
that it was because php had been compiled that way the


His suggestion was to recompile php.

I am new to all this and am lost.  Can anyone help here?

Phpinfo:
=================================
System:
Linux sme60build 2.4.20-18.7 #1 Thu May 29 08:32:50 EDT 2003 i686 unknown
=================================
Build Date
july  8 2003
=================================
Configure Command:
[code] './configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-mm' '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring' '--enable-mbstr-enc-trans' '--with-apxs=/usr/sbin/apxs'
==============================
Configuration
PHP Core
Directive               Local Value     Master Value
======================   ===========    ============
allow_call_time_pass_reference   On        On
allow_url_fopen              no value       no value
always_populate_raw_post_data    0          0
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_functions          no value         no value
display_errors            Off                 Off
display_startup_errors      Off              Off
doc_root                  no value        no value
enable_dl                  On                 On
error_append_string       no value          no value
error_log               syslog               syslog
error_prepend_string       no value         no value
error_reporting            2039                 2039
expose_php                 On                     On
extension_dir       /usr/lib/php4      /usr/lib/php4
file_uploads               1                     1
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_user_abort           Off              Off
implicit_flush            Off                 Off
include_path       .:/usr/share/php .:/usr/share/php
log_errors             On                     On
magic_quotes_gpc        Off                  Off
magic_quotes_runtime        Off               Off
magic_quotes_sybase      Off              Off
max_execution_time     30                  30
memory_limit            32M                32M
open_basedir              /               no value
output_buffering         no value         no value
output_handler         no value            no value
post_max_size          20M                   20M
precision              14                      14
register_argc_argv         On               On
register_globals           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    me@localhost.com   me@localhost.com
sendmail_path   /usr/sbin/sendmail -t -i  /usr/sbin/sendmail -t -i  
short_open_tag            On             On
SMTP               localhost      localhost
sql.safe_mode            Off       Off
track_errors            Off           Off
upload_max_filesize        10M             10M
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          Off            Off

ldavies

can't upload pix in gallery
« Reply #1 on: May 03, 2004, 03:18:23 AM »
for additional information gallery used netpbm which I have located in /opt/netpbm and I have chown'd -R /opt/netpbm

Thanks again

icpix

can't upload pix in gallery
« Reply #2 on: May 05, 2004, 03:49:17 PM »
Use Gallery's addon 'Remote' to upload, it's a lot easier particularly if you are experiencing difficulties.