Hello,
I'm an artist and attempting to be a new user of Coppermine. Coppermine has come to my attention from other artist's excellent sites using this gallery.
Unfortunately, I've come stuck with few problems.
Install went ok and all things set up fine.
http://Http://dev.martinsanders.com/coppermineBatch Add shows all correct files and file names but no thumbnails (only broken image/red x symbols). Clicking the missing image loads the picture in another window fine.
Clicking continue, no symbols are displayed (so I don't know if it says 'OK' 'PB' etc).
The outcome is no files are added.
The same occurs for single uploads.
I changed the Upload form configuration of administrators from 'File-URI' to 'Single file uploads only'
and the error was:
Script called without the required parameter(s).
File: /var/www/SAN02/martinsanders.com/dev/coppermine/db_input.php - Line: 41
I've been into the
config.inc.php and inserted
the define('SILLY_SAFE_MODE', 1);
I also went into the
db_input.php file and changed all the
$HTTP_POST_VARS
with the replacement
$_POST
Having checked everything I can within my knowledge, it still doesn't work.
I have also CHMOD'd the correct folders to both 755 and 777 to check and neither changes the outcome.
I checked the PHP info and the following is being used by my webhost.
PHP version 4.3.1
Apache 2.0 Filter
file_uploads is ON
safe_mode is OFF
upload_max_filesize is 8MB
GD version 2.0 or higher
Everything seems to be fine according to recommendations and requirements posted in the forums.
You can try for yourself using the following guest account
User: guest
Pass: guest
For interest here is the DEBUG info:
USER:
------------------
Array
(
[ID] => 02ace83521c5e27de3651ea8387467e0
[am] => 1
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_group] => 1
[user_active] => YES
[user_name] => **********************
[user_password] => *******************
[user_lastvisit] => 2005-02-28 00:48:30
[user_regdate] => 2005-02-27 22:14:07
[user_group_list] =>
[user_email] =>
[user_website] =>
[user_location] =>
[user_interests] =>
[user_occupation] =>
[user_actkey] =>
[user_favpics] =>
[disk_max] => 1024
[disk_min] => 1024
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 0
[ufc_min] => 0
[custom_user_upload] => 0
[num_file_upload] => 5
[num_URI_upload] => 3
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 1
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Administrators
[upload_form_config] => 0
[group_quota] => 1024
[can_see_all_albums] => 1
[group_id] => 1
[groups] => Array
(
[1] => 1
)
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg132_filetypes;
[1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '5c4027a887580e1b07d9eb52eeaffb96'
[2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM cpg132_usergroups WHERE group_id in (1)
[3] => SELECT group_name FROM cpg132_usergroups WHERE group_id= 1
[4] => DELETE FROM cpg132_banned WHERE expiry < 1109554477
[5] => SELECT * FROM cpg132_banned WHERE ip_addr='81.154.123.153' OR ip_addr='81.154.123.153' OR user_id=1
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.1 - OK
------------------
mySQL version: 3.23.41
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.41
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.3
Linked Version 1.1.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
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
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | shell_exec,system,exec,dl,passthru,popen,proc_open | shell_exec,system,exec,dl,passthru,popen,proc_open
file_uploads | On | On
include_path | .:/var/www/SAN02/martinsanders.com/incs:/usr/local/php/share/pear | .:/usr/local/php/share/pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | ****@****.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 0.282 seconds - 6 queries in 0.007 seconds - Album set :
I've tried to give all the relevant information - and have tried to search for a solution before posting.
I'm not familiar or educated in PHP and such. So as a genuine end user, I would greatly appreciate anyone's help to get me up and running with Coppermine.
- Further addition:
When I go to Batch Add, I get the file listing (with no thumbnails) and the following errors:
Notice: Undefined variable: fullimagesize in /var/www/SAN02/martinsanders.com/dev/coppermine/searchnew.php on line 136
Notice: Undefined variable: fullimagesize in /var/www/SAN02/martinsanders.com/dev/coppermine/searchnew.php on line 137
If anyone wishing to help needs any further information, please just ask.