Server Add: How to?

aaanorton

Joined: 2009-01-07
Posts: 7
Posted: Wed, 2009-08-05 22:23

Can someone please explain to a dummy (me) how to use the Server Add plug-in? I have it enabled, but every path I try returns this error:
This directory is not readable by the webserver

What gives? Clearly I'm not getting this.

Thanks!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-08-05 23:12

Most likely an open_basedir restriction by your host. Post a link to phpinfo, this link explains how:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
aaanorton

Joined: 2009-01-07
Posts: 7
Posted: Wed, 2009-08-05 23:32
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-08-06 00:01

hmm, no open_basedir restriction. Make sure the directory has the permissions of 755 and make sure the path you are using is a system path like:
/home/YourUserName/photouploads/ or something like that, not http://www.example.com/gallery/uploads/
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
aaanorton

Joined: 2009-01-07
Posts: 7
Posted: Thu, 2009-08-06 00:25

Still not getting any love.
Are you saying it doesn't need to be inside my site/G3 volume? I've tried both. I've tried volumes all over the place.

Thanks!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-08-06 01:50

Give me an example of a path you've tried.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
aaanorton

Joined: 2009-01-07
Posts: 7
Posted: Thu, 2009-08-06 03:52

servername.dreamhost.com/UploadedPics
servername.dreamhost.com/username/UploadedPics
servername.dreamhost.com/domain/UploadedPics
servername.dreamhost.com/username/domain/UploadedPics
servername.dreamhost.com/domain/gallery3-1/UploadedPics
servername.dreamhost.com/username/domain/gallery3-1/UploadedPics
domain.com/UploadedPics

And a bunch more. Permissions on the folder I created are 755.
Any other ideas?

Thanks!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-08-06 03:49

None of those are going to work. You need to specify the full system path, not a URL:

/home/YourUserName/photouploads/ or /home/YourUserName/domain/gallery/UploadedPic or something like that, not http://www.example.com/gallery/uploads/ or servername.dreamhost.com/.....

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-08-06 03:58

similar to this:
/home/.fred/gallery23/Uploads
I am on the .fred server and gallery23 is my username.

so in your case it will be:
/home/.server you are on in dreamhost/your user name/UploadedPics

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
aaanorton

Joined: 2009-01-07
Posts: 7
Posted: Thu, 2009-08-06 04:19

That did it!
I was trying to think it too much and not just copying what you suggested. I do that.

Now to play with the function!

Thanks!

 
griffinmt
griffinmt's picture

Joined: 2009-09-06
Posts: 128
Posted: Sun, 2009-09-06 23:55

On a related issue (Gallery3 beta 2), I have a server based directory structure (several layers deep) and quite wide that contains a number of jpg files (no access restrictions). How can I specify a path that will search through all the layers for new pictures?

 
griffinmt
griffinmt's picture

Joined: 2009-09-06
Posts: 128
Posted: Mon, 2009-09-07 03:26

OK, I figured it out and it is SLOWLY entering about 20,000 jpg files that are about 1.5 to 3 mb each.

 
libove

Joined: 2007-08-30
Posts: 69
Posted: Mon, 2010-09-06 18:26

griffinmt, What did you figure out?
I had no problem getting Gallery3 RC2 to import the *structure* of my albums from the local server file system, but it did not actually import and *photos* from within the structure :-(
Thanks for your help...
Jay

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2010-09-06 18:29

You mean, it finished and you have all the albums but no photos? Or the photos are there and broken?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
libove

Joined: 2007-08-30
Posts: 69
Posted: Mon, 2010-09-06 19:28

Thanks bharat.
gallery3/var/logs/ contains only today's logfile (as this is a brand new attempt by me at gallery3), 2010-09-06.log.php, which contains only this:

<?php defined('SYSPATH') or die('No direct script access.'); ?>

I note at the shell that echo $SYSPATH does show that SYSPATH is empty. Is there something I need to set up so that logging happens at all?

In any case, the symptom is that the import successfully completes and creates 82 *empty* albums - no photos in them at all.
This looks very much like the original poster's issue, relating to the preg_quote() call. I made the same hack as that posted, // commenting out that call to preg_quote(), and now Gallery3 RC2 is (slowly) importing the images as well as the directory structure.

What further information would you like to have from my webhost to help understand why some environments have this problem?

You can get PHP info from http://www.felines.org/php.php
The hosting company is HostGator (http://www.hostgator.com)

Thanks,
-Jay

Here's the PHP info output:

PHP Version 5.2.14

System Linux gator1173.hostgator.com 2.6.34.6 #1 SMP Fri Aug 27 18:43:47 CDT 2010 i686
Build Date Aug 20 2010 14:46:04
Configure Command './configure' '--enable-bcmath' '--enable-calendar' '--enable-dbase' '--enable-exif' '--enable-fastcgi' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-sqlite-utf8' '--enable-wddx' '--enable-zip' '--prefix=/usr' '--with-bz2' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/opt/openssl' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mime-magic' '--with-mssql=/usr' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/opt/openssl' '--with-openssl-dir=/opt/openssl' '--with-pcre-regex=/opt/pcre' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-png-dir=/usr' '--with-pspell' '--with-sqlite=shared' '--with-tidy=/opt/tidy/' '--with-ttf' '--with-unixODBC=/usr' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/lib
Loaded Configuration File /usr/local/lib/php.ini
Scan this dir for additional .ini files (none)
additional .ini files parsed (none)
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 https, ftps, compress.zlib, compress.bzip2, php, file, data, http, ftp, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by 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 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 dl dl
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 Off Off
error_append_string no value no value
error_log error_log error_log
error_prepend_string no value no value
error_reporting 6135 6135
expose_php On On
extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20060613 /usr/local/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 .:/usr/lib/php:/usr/local/lib/php .:/usr/lib/php:/usr/local/lib/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 64M 64M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 64M 64M
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 64M 64M
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.3, 15-Feb-2005

calendar
Calendar support enabled

cgi-fcgi
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
fastcgi.logging 1 1

ctype
ctype functions enabled

curl
cURL support enabled
cURL Information libcurl/7.21.0 OpenSSL/1.0.0a zlib/1.2.3 libidn/0.6.5

date
date/time support enabled
"Olson" Timezone Database Version 2010.9
Timezone Database internal
Default timezone America/Chicago

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.7.6
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 293036 2010-01-03 09:23:27Z sebastian $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF

filter
Input Validation and Filtering enabled
Revision $Revision: 298196 $

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.2.1
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM 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.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

imagick
imagick module enabled
imagick module version 2.3.0
imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version ImageMagick 6.6.0-2 2010-07-13 Q16 http://www.imagemagick.org
ImageMagick copyright Copyright (C) 1999-2010 ImageMagick Studio LLC
ImageMagick release date 2010-07-13
ImageMagick Number of supported formats: 204
ImageMagick Supported formats 3FR, A, AI, ART, ARW, AVI, AVS, B, BGR, BGRA, BMP, BMP2, BMP3, BRF, BRG, C, CAL, CALS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FITS, FRACTAL, FTS, G, G3, GBR, GIF, GIF87, GRADIENT, GRAY, GRB, GROUP4, HALD, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, J2C, JNG, JP2, JPC, JPEG, JPG, JPX, K, K25, KDC, LABEL, M, M2V, M4V, MAP, MAT, MATTE, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RBG, RGB, RGBA, RGBO, RLA, RLE, SCR, SCT, SFW, SGI, SHTML, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, Y, YCbCr, YCbCrA, YUV

Directive Local Value Master Value
imagick.locale_fix 0 0
imagick.progress_monitor 0 0

imap
IMAP c-Client Version 2007e
SSL Support enabled
Kerberos Support enabled

json
json support enabled
json version 1.2.1

libxml
libXML support active
libXML Version 2.7.6
libXML streams enabled

magickwand
MagickWand Backend Library ImageMagick
MagickWand Extension Version 1.0.8
ImageMagick support enabled
ImageMagick version ImageMagick 6.6.0-2 2010-07-13 Q16 http://www.imagemagick.org
ImageMagick QuantumRange (MaxRGB) 65535
MagickWand supported image formats 3FR, A, AI, ART, ARW, AVI, AVS, B, BGR, BGRA, BMP, BMP2, BMP3, BRF, BRG, C, CAL, CALS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FITS, FRACTAL, FTS, G, G3, GBR, GIF, GIF87, GRADIENT, GRAY, GRB, GROUP4, HALD, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, J2C, JNG, JP2, JPC, JPEG, JPG, JPX, K, K25, KDC, LABEL, M, M2V, M4V, MAP, MAT, MATTE, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RBG, RGB, RGBA, RGBO, RLA, RLE, SCR, SCT, SFW, SGI, SHTML, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, Y, YCbCr, YCbCrA, YUV

mailparse
mailparse support enabled
Extension Version 2.1.5
Revision $Revision: 1.64 $

Directive Local Value Master Value
mailparse.def_charset us-ascii us-ascii

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 no value 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.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

mhash
MHASH support Enabled
MHASH API Version 20060101

mime_magic
mime_magic support invalid magic file, disabled

Directive Local Value Master Value
mime_magic.debug Off Off
mime_magic.magicfile /usr/local/apache/conf/magic /usr/local/apache/conf/magic

mssql
MSSQL Support enabled
Active Persistent Links 0
Active Links 0
Library version FreeTDS

Directive Local Value Master Value
mssql.allow_persistent On On
mssql.batchsize 0 0
mssql.charset no value no value
mssql.compatability_mode Off Off
mssql.connect_timeout 5 5
mssql.datetimeconvert On On
mssql.max_links Unlimited Unlimited
mssql.max_persistent Unlimited Unlimited
mssql.max_procs Unlimited Unlimited
mssql.min_error_severity 10 10
mssql.min_message_severity 10 10
mssql.secure_connection Off Off
mssql.textlimit Server default Server default
mssql.textsize Server default Server default
mssql.timeout 60 60

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.1.47
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.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 Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

mysqli
MysqlI Support enabled
Client API library version 5.1.47
Client API header version 5.1.48
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 Off Off

odbc
ODBC Support enabled
Active Persistent Links 0
Active Links 0
ODBC library unixODBC
ODBC_INCLUDE -I/usr/include
ODBC_LFLAGS -L/usr/lib
ODBC_LIBS -lodbc

Directive Local Value Master Value
odbc.allow_persistent Off Off
odbc.check_persistent Off Off
odbc.default_cursortype Static cursor Static cursor
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 1.0.0a 1 Jun 2010

pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 8.02 2010-03-19

Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000

PDO
PDO support enabled
PDO drivers sqlite, sqlite2, mysql

pdo_mysql
PDO Driver for MySQL, client library version 5.1.47

pdo_sqlite
PDO Driver for SQLite 3.x enabled
PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c 293036 2010-01-03 09:23:27Z sebastian $
SQLite Library 3.3.7

posix
Revision $Revision: 293036 $

pspell
PSpell Support enabled

Reflection
Reflection enabled
Version $Id: php_reflection.c 300129 2010-06-03 00:43:37Z felipe $

session
Session Support enabled
Registered save handlers files user sqlite
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 /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: 299016 $
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

SourceGuardian
SourceGuardian Loader Support enabled
SourceGuardian Loader Version 8.2
SourceGuardian Loader Build Number 0x00000011
phpSHIELD Support enabled

Directive Local Value Master Value
sourceguardian.restrict_unencoded 0 0

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 298697 2010-04-28 12:10:10Z iliaa $
SQLite Library 2.8.17
SQLite Encoding UTF-8

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

tidy
Tidy support enabled
libTidy Release 6 November 2007
Extension Version 2.0 ($Id: tidy.c 293036 2010-01-03 09:23:27Z sebastian $)

Directive Local Value Master Value
tidy.clean_output 0 0
tidy.default_config no value no value

tokenizer
Tokenizer Support enabled

uploadprogress
uploadprogress support enabled
Version 1.0.1

Directive Local Value Master Value
uploadprogress.file.contents_template /tmp/upload_contents_%s /tmp/upload_contents_%s
uploadprogress.file.filename_template /tmp/upt_%s.txt /tmp/upt_%s.txt
uploadprogress.get_contents 0 0

wddx
WDDX Support enabled
WDDX Session Serializer enabled

xml
XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.8

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

xsl
XSL enabled
libxslt Version 1.1.26
libxslt compiled against libxml Version 2.7.6
EXSLT enabled
libexslt Version 1.1.26

Zend Optimizer
Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 4 enabled
Optimization Pass 9 enabled
Zend Loader enabled
License Path no value
Obfuscation level 3

zip
Zip enabled
Extension Version $Id: php_zip.c 293036 2010-01-03 09:23:27Z sebastian $
Zip version 1.8.11
Libzip version 0.9.0

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
dbase
ionCube Loader

Environment
Variable Value
DOCUMENT_ROOT /home/libove/public_html
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/x-shockwave-flash, */*
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-IE
HTTP_CONNECTION Keep-Alive
HTTP_COOKIE g3sid=0887730eef7a9a9bbb493efc29d77ecf8264a4c4%7E7658fb1b53347dc43bfbedcfe5b85750; logintheme=cpanel; cprelogin=no; cpsession=libove4JLl8PBDbPtMNzS4trfi_a47WT7AAkSPqWQDe1KYsRolphEaGzOfc7ZwqQOcGQio; langedit=; lang=
HTTP_HOST www.felines.org
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; FDM; InfoPath.3; .NET4.0C; .NET4.0E)
PATH /bin:/usr/bin
QUERY_STRING no value
REDIRECT_STATUS 200
REMOTE_ADDR 95.61.5.119
REMOTE_PORT 58559
REQUEST_METHOD GET
REQUEST_URI /php.php
SCRIPT_FILENAME /home/libove/public_html/php.php
SCRIPT_NAME /php.php
SERVER_ADDR 174.120.203.91
SERVER_ADMIN

SERVER_NAME www.felines.org
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE <address>Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.felines.org Port 80</address>
SERVER_SOFTWARE Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
UNIQUE_ID TIVAMq54y0IAAH@d3S4AAANU

PHP Variables
Variable Value
PHP_SELF /php.php
_REQUEST["g3sid"] 0887730eef7a9a9bbb493efc29d77ecf8264a4c4~7658fb1b53347dc43bfbedcfe5b85750
_REQUEST["logintheme"] cpanel
_REQUEST["cprelogin"] no
_REQUEST["cpsession"] libove4JLl8PBDbPtMNzS4trfi_a47WT7AAkSPqWQDe1KYsRolphEaGzOfc7ZwqQOcGQio
_REQUEST["langedit"] no value
_REQUEST["lang"] no value
_COOKIE["g3sid"] 0887730eef7a9a9bbb493efc29d77ecf8264a4c4~7658fb1b53347dc43bfbedcfe5b85750
_COOKIE["logintheme"] cpanel
_COOKIE["cprelogin"] no
_COOKIE["cpsession"] libove4JLl8PBDbPtMNzS4trfi_a47WT7AAkSPqWQDe1KYsRolphEaGzOfc7ZwqQOcGQio
_COOKIE["langedit"] no value
_COOKIE["lang"] no value
_SERVER["DOCUMENT_ROOT"] /home/libove/public_html
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["HTTP_ACCEPT"] application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/x-shockwave-flash, */*
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-IE
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_COOKIE"] g3sid=0887730eef7a9a9bbb493efc29d77ecf8264a4c4%7E7658fb1b53347dc43bfbedcfe5b85750; logintheme=cpanel; cprelogin=no; cpsession=libove4JLl8PBDbPtMNzS4trfi_a47WT7AAkSPqWQDe1KYsRolphEaGzOfc7ZwqQOcGQio; langedit=; lang=
_SERVER["HTTP_HOST"] www.felines.org
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; FDM; InfoPath.3; .NET4.0C; .NET4.0E)
_SERVER["PATH"] /bin:/usr/bin
_SERVER["QUERY_STRING"] no value
_SERVER["REDIRECT_STATUS"] 200
_SERVER["REMOTE_ADDR"] 95.61.5.119
_SERVER["REMOTE_PORT"] 58559
_SERVER["REQUEST_METHOD"] GET
_SERVER["REQUEST_URI"] /php.php
_SERVER["SCRIPT_FILENAME"] /home/libove/public_html/php.php
_SERVER["SCRIPT_NAME"] /php.php
_SERVER["SERVER_ADDR"] 174.120.203.91
_SERVER["SERVER_ADMIN"]

_SERVER["SERVER_NAME"] www.felines.org
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["SERVER_SIGNATURE"] <address>Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.felines.org Port 80</address>
_SERVER["SERVER_SOFTWARE"] Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
_SERVER["UNIQUE_ID"] TIVAMq54y0IAAH@d3S4AAANU
_SERVER["PHP_SELF"] /php.php
_SERVER["REQUEST_TIME"] 1283801138
_SERVER["argv"] Array
(
)

_SERVER["argc"] 0
_ENV["DOCUMENT_ROOT"] /home/libove/public_html
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["HTTP_ACCEPT"] application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/x-shockwave-flash, */*
_ENV["HTTP_ACCEPT_ENCODING"] gzip, deflate
_ENV["HTTP_ACCEPT_LANGUAGE"] en-IE
_ENV["HTTP_CONNECTION"] Keep-Alive
_ENV["HTTP_COOKIE"] g3sid=0887730eef7a9a9bbb493efc29d77ecf8264a4c4%7E7658fb1b53347dc43bfbedcfe5b85750; logintheme=cpanel; cprelogin=no; cpsession=libove4JLl8PBDbPtMNzS4trfi_a47WT7AAkSPqWQDe1KYsRolphEaGzOfc7ZwqQOcGQio; langedit=; lang=
_ENV["HTTP_HOST"] www.felines.org
_ENV["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; FDM; InfoPath.3; .NET4.0C; .NET4.0E)
_ENV["PATH"] /bin:/usr/bin
_ENV["QUERY_STRING"] no value
_ENV["REDIRECT_STATUS"] 200
_ENV["REMOTE_ADDR"] 95.61.5.119
_ENV["REMOTE_PORT"] 58559
_ENV["REQUEST_METHOD"] GET
_ENV["REQUEST_URI"] /php.php
_ENV["SCRIPT_FILENAME"] /home/libove/public_html/php.php
_ENV["SCRIPT_NAME"] /php.php
_ENV["SERVER_ADDR"] 174.120.203.91
_ENV["SERVER_ADMIN"]

_ENV["SERVER_NAME"] www.felines.org
_ENV["SERVER_PORT"] 80
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["SERVER_SIGNATURE"] <address>Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.felines.org Port 80</address>
_ENV["SERVER_SOFTWARE"] Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
_ENV["UNIQUE_ID"] TIVAMq54y0IAAH@d3S4AAANU

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

.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2010-09-06 21:56

Ok, I need to figure out the preg_quote issue, but I can't reproduce it. Any chance that I can get ssh access to your system so that I can see if I can write some code to properly detect your setup and work around it?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
jeffmcclain

Joined: 2010-09-01
Posts: 105
Posted: Thu, 2010-09-09 01:58

Any chance the server upload will have ability to do "symlinks" like in G2 (I have static photo albums, and it would be nice to avoid duplicating the images). Also, maybe I'm dense, but trying to figure out how to load a whole directory. For example, directory inside the base server upload enabled path, I click it, and it opens, but I can't seem to "select" the photos in there except by clicking them one at a time (gonna be NASTY for >17000 photos). Clicking just on "upload" directory doesn't pick up any of the photos...creates an "album", but no photos?

Also, any plans to allow MIME restrictions on what can be uploaded?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-09-09 02:05

symlinks, no plans, it's a complex problem, iirc, it's been discussed, try searching.

for an entire directory click on the directory and click upload, an album of that name will be created and all photos will be imported

mime restrictions, no plans. since the only types that can be uploaded into G3 at this time are jpg, png, gif, flv, mp4 there probably isn't much of a reason to have such restrictions at this time.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
jeffmcclain

Joined: 2010-09-01
Posts: 105
Posted: Thu, 2010-09-09 02:35

Thanks. I did that, and it just created an empty album with the name "upload". Only clicking each file in the "upload" directory seemed to work. I'll try it again. I also notice that the maintenance->rebuild images doesn't seem to actually rebuild them when you change the image size setting...it just says they are all up to date. I'll post another place.

 
libove

Joined: 2007-08-30
Posts: 69
Posted: Thu, 2010-09-09 09:10

Jeff, what hosting company are you using?
I experienced that same problem with server import of a directory creating only the directory and not copying in the photos.
Someone else had earlier experienced it (see http://gallery.menalto.com/node/89982#comment-352845 ), and I had success using the same hack as that person did (commenting out the call to preg_quote() in the server import php module file).
Bharat has kindly offered to look at it, once I get my hosting company to offer a way to give the necessary access. If your problem turns out to be the same, and you can get bharat the needed access sooner, then perhaps that will speed up the resolution of the issue.
Jay

 
jeffmcclain

Joined: 2010-09-01
Posts: 105
Posted: Thu, 2010-09-09 12:55
libove wrote:
Jeff, what hosting company are you using?
I experienced that same problem with server import of a directory creating only the directory and not copying in the photos.
Someone else had earlier experienced it (see http://gallery.menalto.com/node/89982#comment-352845 ), and I had success using the same hack as that person did (commenting out the call to preg_quote() in the server import php module file).
Bharat has kindly offered to look at it, once I get my hosting company to offer a way to give the necessary access. If your problem turns out to be the same, and you can get bharat the needed access sooner, then perhaps that will speed up the resolution of the issue.
Jay

Hum...I'm using IX Webhosting. I'm using IE8, so was going to try Chrome and Firefox too, just to see if it made any difference. I'll report back when I've had a bit more time. I don't believe they grant SSH or any sort of telnet access (I've never been able to get it).