Problem with CPG: Disk quota exceeded et al. Problem with CPG: Disk quota exceeded et al.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Problem with CPG: Disk quota exceeded et al.

Started by sfumato, June 02, 2004, 02:38:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sfumato

I am trying to get CPG 1.2 up and running on my server, which is hosted by ipowerweb.
The installation went well, and I can now login but I am having all sorts of problems with uploading photos.
When I turn on debug mode, I get the following bulk of error messages:
Notice: Undefined variable: visibility in /home/bullpenc/public_html/gallery/index.php on line 360
Notice: Undefined variable: visibility in /home/bullpenc/public_html/gallery/index.php on line 360
Notice: Undefined variable: visibility in /home/bullpenc/public_html/gallery/index.php on line 360
Notice: Undefined variable: visibility in /home/bullpenc/public_html/gallery/index.php on line 360
Notice: Undefined variable: visibility in /home/bullpenc/public_html/gallery/index.php on line 360
Notice: Undefined variable: visibility in /home/bullpenc/public_html/gallery/index.php on line 360
Notice: Undefined index: album_title in /home/bullpenc/public_html/gallery/themes/hardwired/theme.php on line 1134
Notice: Undefined index: aid in /home/bullpenc/public_html/gallery/themes/hardwired/theme.php on line 1136
Notice: Undefined index: album_adm_menu in /home/bullpenc/public_html/gallery/themes/hardwired/theme.php on line 1138
Notice: Undefined index: album_desc in /home/bullpenc/public_html/gallery/themes/hardwired/theme.php on line 1139
Notice: Undefined index: album_info in /home/bullpenc/public_html/gallery/themes/hardwired/theme.php on line 1140
Notice: Undefined index: album_title in /home/bullpenc/public_html/gallery/themes/hardwired/theme.php on line 1134
Notice: Undefined index: aid in /home/bullpenc/public_html/gallery/themes/hardwired/theme.php on line 1136
Notice: Undefined index: album_adm_menu in /home/bullpenc/public_html/gallery/themes/hardwired/theme.php on line 1138
Notice: Undefined index: album_desc in /home/bullpenc/public_html/gallery/themes/hardwired/theme.php on line 1139
Notice: Undefined index: album_info in /home/bullpenc/public_html/gallery/themes/hardwired/theme.php on line 1140


When user mode is not turned on and I try to upload through the "Upload Picture" link, I get this error:
Failed to create directory albums/userpics/10001 !
File: /home/bullpenc/public_html/gallery/db_input.php - Line: 223
Warning: mkdir(albums/userpics/10001): Disk quota exceeded in /home/bullpenc/public_html/gallery/db_input.php on line 222


I also get this debug information:

Array
(
   [ID] => 7a4c11510f7716dbc5382a89a4d11f7f
   [am] => 1
)

GET :

Array
(
)

POST :

Array
(
   [event] => picture
   [album] => 3
   [MAX_FILE_SIZE] => 1048576
   [title] =>
   [caption] =>
   [keywords] =>
   [user1] =>
   [user2] =>
   [user3] =>
   [user4] =>
)


I have spent the better part of a day trying to figure this out, reading every possible thing I could turn up here on the forum, and trying out advice given. I still cannot figure it out.

Any advice on this matter would be greatly appreciated.


Thanks,

Bryan Perry


PS- Info from info.php is below:

PHP Version 4.3.2

System Linux host12.ipowerweb.com 2.4.26DELL72 #1 SMP Sun Apr 25 20:36:45 PDT 2004 i686
Build Date Jul 31 2003 06:12:42
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-imap' '--with-kerberos' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-ming=../ming-0.2a' '--enable-magic-quotes' '--with-mysql' '--with-pear' '--enable-xslt' '--with-xslt-sablot' '--enable-safe-mode' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--enable-versioning' '--with-zlib'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
------------------------------------------------------------------------

PHP Credits
------------------------------------------------------------------------

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 error_log error_log
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/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 On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 60 60
max_input_time -1 -1
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 15M 15M
precision 14 14
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 /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 15M 15M
upload_tmp_dir /tmp /tmp
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance Off Off

apache
APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache/1.3.27
Apache Release 10327100
Apache API Version 19990320
Hostname:Port www.bullpencatcher.com:80
User/Group nobody(99)/99
Max Requests Per Child: 50 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 60 - Keep-Alive: 5
Server Root /usr/local/apache
Loaded Modules mod_auth_passthrough, mod_tsunami, mod_log_bytes, mod_bwlimited, mod_php4, mod_frontpage, mod_setenvif, mod_so, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_ssl, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, http_core
Directive Local Value Master Value
child_terminate 0 0
engine 1 1
last_modified 0 0
xbithack 0 0

Apache Environment
Variable Value
DOCUMENT_ROOT /home/bullpenc/public_html
downgrade-1_0 1
downgrade-1_0 1
force-response-1_0 1
force-response-1_0 1
forceresponse-1_0 1
forceresponse-1_0 1
HTTP_ACCEPT */*
HTTP_ACCEPT_LANGUAGE en
HTTP_CONNECTION Keep-Alive
HTTP_COOKIE cpg11d_data=YToyOntzOjI6IklEIjtzOjMyOiI3YTRjMTE1MTBmNzcxNmRiYzUzODJhODlhNGQxMWY3ZiI7czoyOiJhbSI7aToxO30%3D; cpg11d_uid=1; cpg11d_pass=8fde6a6592bb16b80a40c8a641232c2e
HTTP_EXTENSION Security/Remote-Passphrase
HTTP_HOST www.bullpencatcher.com
HTTP_UA_CPU PPC
HTTP_UA_OS MacOS
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
nokeepalive 1
PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
REMOTE_ADDR 66.156.104.59
REMOTE_PORT 50706
SCRIPT_FILENAME /home/bullpenc/public_html/info.php
SERVER_ADDR 12.129.206.112
SERVER_ADMIN webmaster@bullpencatcher.com
SERVER_NAME www.bullpencatcher.com
SERVER_PORT 80
SERVER_SIGNATURE no value
SERVER_SOFTWARE Apache/1.3.27 (Unix) mod_auth_passthrough/1.8 mod_tsunami/2.0 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.2 FrontPage/5.0.2.2510 mod_ssl/2.8.12 OpenSSL/0.9.6i
ssl-unclean-shutdown 1
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /info.php
SCRIPT_NAME /info.php

HTTP Headers Information
HTTP Request Headers
HTTP Request GET /info.php HTTP/1.1
Accept */*
Accept-Language en
Connection Keep-Alive
Cookie cpg11d_data=YToyOntzOjI6IklEIjtzOjMyOiI3YTRjMTE1MTBmNzcxNmRiYzUzODJhODlhNGQxMWY3ZiI7czoyOiJhbSI7aToxO30%3D; cpg11d_uid=1; cpg11d_pass=8fde6a6592bb16b80a40c8a641232c2e
Extension Security/Remote-Passphrase
Host www.bullpencatcher.com
UA-CPU PPC
UA-OS MacOS
User-Agent Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
HTTP Response Headers
X-Powered-By PHP/4.3.2
Connection close
Content-Type text/html

bcmath
BCMath support enabled

calendar
Calendar support enabled

ctype
ctype functions enabled

curl
CURL support enabled
CURL Information libcurl/7.10.5 OpenSSL/0.9.6 zlib/1.1.4

domxml
DOM/XML enabled
DOM/XML API Version 20020815
libxml Version 20508
HTML Support enabled
XPath Support enabled
XPointer Support enabled
DOM/XSLT enabled
libxslt Version 1.0.31
libxslt compiled against libxml Version 2.5.8
DOM/EXSLT enabled
libexslt Version 1.0.31

ftp
FTP support enabled

gd
GD Support enabled
GD Version bundled (2.0.12 compatible)
FreeType Support enabled
FreeType Linkage with TTF library
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

imap
IMAP c-Client Version 2001
Kerberos Support enabled

mbstring
Multibyte Support enabled
Japanese 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 none none
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

ming
Ming SWF output library enabled
Version 0.2a

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout -1 -1
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

overload
User-Space Object Overloading Support enabled

pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 3.92 11-Sep-2002

posix
Revision $Revision: 1.51.2.2 $

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

sockets
Sockets Support enabled

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,form=,fieldset= a=href,area=href,frame=src,form=,fieldset=
user_agent no value no value

swf
swf support enabled

tokenizer
Tokenizer Support enabled

xml
XML Support active
XML Namespace Support active
EXPAT Version 1.95.2

xslt
XSLT support enabled
Backend Sablotron
Sablotron Version 0.98
Sablotron Information Cflags: -g -O2 Libs: -L/usr/local/lib -lexpat Prefix: /usr/local

zlib
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value

Additional Modules
Module Name

Environment
Variable Value
PWD /
BOOT_FILE /boot/vmlinuz-2.4.26DELL72
HOSTNAME host12.ipowerweb.com
CONSOLE /dev/console
PREVLEVEL N
AUTOBOOT YES
CONFIRM no value
runlevel 3
MACHTYPE i386-redhat-linux-gnu
LANG en_US
SHLVL 3
previous N
BOOT_IMAGE linux-latest
SHELL /bin/bash
HOSTTYPE i386
OSTYPE linux-gnu
HOME /
TERM linux
PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
RUNLEVEL 3
INIT_VERSION sysvinit-2.78
_ /usr/local/apache/bin/httpd.safe

PHP Variables
Variable Value
PHP_SELF /info.php
_REQUEST["cpg11d_data"] YToyOntzOjI6IklEIjtzOjMyOiI3YTRjMTE1MTBmNzcxNmRiYzUzODJhODlhNGQxMWY3ZiI7czoyOiJhbSI7aToxO30=
_REQUEST["cpg11d_uid"] 1
_REQUEST["cpg11d_pass"] 8fde6a6592bb16b80a40c8a641232c2e
_COOKIE["cpg11d_data"] YToyOntzOjI6IklEIjtzOjMyOiI3YTRjMTE1MTBmNzcxNmRiYzUzODJhODlhNGQxMWY3ZiI7czoyOiJhbSI7aToxO30=
_COOKIE["cpg11d_uid"] 1
_COOKIE["cpg11d_pass"] 8fde6a6592bb16b80a40c8a641232c2e
_SERVER["DOCUMENT_ROOT"] /home/bullpenc/public_html
_SERVER["downgrade-1_0"] 1
_SERVER["force-response-1_0"] 1
_SERVER["forceresponse-1_0"] 1
_SERVER["HTTP_ACCEPT"] */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] en
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_COOKIE"] cpg11d_data=YToyOntzOjI6IklEIjtzOjMyOiI3YTRjMTE1MTBmNzcxNmRiYzUzODJhODlhNGQxMWY3ZiI7czoyOiJhbSI7aToxO30%3D; cpg11d_uid=1; cpg11d_pass=8fde6a6592bb16b80a40c8a641232c2e
_SERVER["HTTP_EXTENSION"] Security/Remote-Passphrase
_SERVER["HTTP_HOST"] www.bullpencatcher.com
_SERVER["HTTP_UA_CPU"] PPC
_SERVER["HTTP_UA_OS"] MacOS
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
_SERVER["nokeepalive"] 1
_SERVER["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
_SERVER["REMOTE_ADDR"] 66.156.104.59
_SERVER["REMOTE_PORT"] 50706
_SERVER["SCRIPT_FILENAME"] /home/bullpenc/public_html/info.php
_SERVER["SERVER_ADDR"] 12.129.206.112
_SERVER["SERVER_ADMIN"] webmaster@bullpencatcher.com
_SERVER["SERVER_NAME"] www.bullpencatcher.com
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/1.3.27 (Unix) mod_auth_passthrough/1.8 mod_tsunami/2.0 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.2 FrontPage/5.0.2.2510 mod_ssl/2.8.12 OpenSSL/0.9.6i
_SERVER["ssl-unclean-shutdown"] 1
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /info.php
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_TRANSLATED"] /home/bullpenc/public_html/info.php
_SERVER["PHP_SELF"] /info.php
_SERVER["argv"]
Array
(
)

_SERVER["argc"] 0
_ENV["PWD"] /
_ENV["BOOT_FILE"] /boot/vmlinuz-2.4.26DELL72
_ENV["HOSTNAME"] host12.ipowerweb.com
_ENV["CONSOLE"] /dev/console
_ENV["PREVLEVEL"] N
_ENV["AUTOBOOT"] YES
_ENV["CONFIRM"] no value
_ENV["runlevel"] 3
_ENV["MACHTYPE"] i386-redhat-linux-gnu
_ENV["LANG"] en_US
_ENV["SHLVL"] 3
_ENV["previous"] N
_ENV["BOOT_IMAGE"] linux-latest
_ENV["SHELL"] /bin/bash
_ENV["HOSTTYPE"] i386
_ENV["OSTYPE"] linux-gnu
_ENV["HOME"] /
_ENV["TERM"] linux
_ENV["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
_ENV["RUNLEVEL"] 3
_ENV["INIT_VERSION"] sysvinit-2.78
_ENV["_"] /usr/local/apache/bin/httpd.safe

Joachim Müller

Quote from: sfumato on June 02, 2004, 02:38:51 AM
When user mode is not turned on and I try to upload through the "Upload Picture" link, I get this error:
Failed to create directory albums/userpics/10001 !
File: /home/bullpenc/public_html/gallery/db_input.php - Line: 223
Warning: mkdir(albums/userpics/10001): Disk quota exceeded in /home/bullpenc/public_html/gallery/db_input.php on line 222

Although I apreciate your thought to give as much information as possible, your posting is a bit "information overkill" ;)

Did you CHMOD your albums folder and everything within it as suggested in the documentation that comes with coppermine? Do you actually have enough webspace left?

GauGau

sfumato

I have CHMODed everything to 777 as that seems to be the only way to get anything to even begin to work, and it was required during install.

If I try to batch upload files (that were FTPed NOT to the 'userpics' folder) I receive this message:

Warning: imagejpeg(): gd-jpeg: JPEG library reports unrecoverable error: in /home/bullpenc/public_html/gallery/include/picmgmt.inc.php on line 183

Warning: getimagesize(): Read error! in /home/bullpenc/public_html/gallery/include/picmgmt.inc.php on line 191
Unable to create thumbnail or reduced size image.

I am not sure if this is related to my other problems, but perhaps????

Didn't mean to give too much information, but didn't want to you to be left without enough....


Thanks for any help you can give.



Bryan

sfumato

PS-- I also have over 400 MB of disk space available to me on the server, so I do not think that is the problem.


Joachim Müller

Quote from: sfumato on June 02, 2004, 06:40:53 AM
I have CHMODed everything to 777 as that seems to be the only way to get anything to even begin to work, and it was required during install.
It might be necessary to CHMOD 755 (depends on your server's settings.

Quote from: sfumato on June 02, 2004, 06:40:53 AM
Warning: imagejpeg(): gd-jpeg: JPEG library reports unrecoverable error: in /home/bullpenc/public_html/gallery/include/picmgmt.inc.php on line 183
Your GD library appears to be broken. Test with a known-good jpeg (e.g. one you downloaded from our demo page). If you get this error again, contact your webhost and ask them to fix the GD library.

GauGau

sfumato

I will check on the GD stuff and see if that is the problem. Had the same issue with a good image from the demo.

I CHMODed everything to 755 and got the same errors.

Any other advice on this?

Thanks for all the help so far,

Bryan