Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Cannot be placed  (Read 2987 times)

0 Members and 1 Guest are viewing this topic.

leszek

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Cannot be placed
« on: January 11, 2006, 11:58:38 am »

Witam...

Code: [Select]
USER:
------------------
Array
(
    [ID] => d13d644b9ae00336d80e8974698bccde
    [am] => 1
    [lang] => polish
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [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] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg143_filetypes; (0.004s)
    [1] => select * from cpg143_plugins order by priority asc; (0.002s)
    [2] => delete from `bazastrzegom`.cpg143_sessions where time<1136972778 and remember=0; (0.003s)
    [3] => delete from `bazastrzegom`.cpg143_sessions where time<1135766778; (0.002s)
    [4] => select user_id from `bazastrzegom`.cpg143_sessions where session_id=md5("bb56e4c4d6e895ddb28b841b66e373158a78599f3e90dd773840421431b674f8"); (0.001s)
    [5] => select user_id as id, user_password as password from `bazastrzegom`.cpg143_users where user_id=1 (0.002s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `bazastrzegom`.cpg143_users AS u INNER JOIN `bazastrzegom`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.003s)
    [7] => SELECT user_group_list FROM `bazastrzegom`.cpg143_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
    [8] => 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 cpg143_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `bazastrzegom`.cpg143_sessions set time='1136976378' where session_id=md5('bb56e4c4d6e895ddb28b841b66e373158a78599f3e90dd773840421431b674f8'); (0.001s)
    [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0.002s)
    [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-01-11 10:46:19' (0.002s)
    [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='80.50.30.146' OR ip_addr='80.50.30.146' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT group_id, group_name FROM cpg143_usergroups WHERE 1 (0.001s)
    [15] => UPDATE cpg143_usergroups SET has_admin_access = '1' WHERE group_id = '1' LIMIT 1 (0.001s)
    [16] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0.002s)
    [17] => SELECT * FROM cpg143_usergroups WHERE 1 ORDER BY group_id (0.002s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.0.24
------------------
Coppermine version: 1.4.3(stable)
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
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 | no value | no value
file_uploads | On | On
include_path | .:/usr/lib/php | .:/usr/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
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 | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 1.21 seconds - 18 queries in 0.032 seconds - Album set : ; Meta set: ;


http://www.strzegom.pl/galeria/
username/password= test/test

When i try to upload images i get this message: "The previous file could not be placed. You have successfully placed all the files. "

Please, about assistance
I thank
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot be placed
« Reply #1 on: January 11, 2006, 08:33:10 pm »

OMG, the test user account you posted had admin privileges. Never do that, an admin account could be used to ruin your entire website. I created another admin user named gaugau and used it to make the test user an ordinary registered user. It's safe to delete the gaugau-user.
You haven't set the groups page as needed for troubleshooting - I did this for you as well. In the future, read the docs more carefully to avoid a lot of work for supporters.
The actual error message you get when doing everything as suggested is
Quote
Error executing ImageMagick - Return value: 127
, which means that you haven't specified the correct path to ImageMagick when setting up coppermine, or that you don't have ImageMagick at all. I tried switching to GD2, but you don't have GD neither. In other words: you don't have the minimum requirements to run coppermine. Either get GD or ImageMagick (only your webhost can install them for you, see FAQ), or you can't use coppermine at all.
Doing all this took me about 20 minutes, because your server is so slow. My guess is that you're self-hosted on a Mac. Self-hosting is not recommended at all.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.