Advanced search  

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]

Pages: [1]   Go Down

Author Topic: HELP  (Read 5757 times)

0 Members and 1 Guest are viewing this topic.

tamurai

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
HELP
« on: September 27, 2007, 05:36:19 pm »

I am having big problems with the Gallery. i have used this on my other websites for years. Now I have problems Hope you can help. I uploaded the pics into a folder in the albums folder changed all permissions to 777.  clicked batch add selected file and the pics are in. Usally when I do this I can see the pics on the right side. all are broken images.

[Edit GauGau] Replaced hotlinked image with attachment [/Edit]


So I continue anyhow and save to the album I choose and still broken images I click edit thubnails and there is nothing there not even broken images. Below is the Debug ifo.


Hope someone can help


Thank you
Tammy


Code: [Select]
USER:
------------------
Array
(
    [ID] => 3b95aba887b049b4ae68bdc63fc354ab
    [lang] => english
)

==========================
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 cpg14x_filetypes; (0.001s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `gallery`.cpg14x_sessions where time<1190903273 and remember=0; (0.001s)
    [3] => delete from `gallery`.cpg14x_sessions where time<1189697273; (0.001s)
    [4] => select user_id from `gallery`.cpg14x_sessions where session_id=md5("531d20d3fd35d1d6327713280bcbdcda32d83531ee0b2141983170aae7633edb"); (0.001s)
    [5] => select user_id as id, user_password as password from `gallery`.cpg14x_users where user_id=1 (0s)
    [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 `gallery`.cpg14x_users AS u INNER JOIN `gallery`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `gallery`.cpg14x_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 cpg14x_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `gallery`.cpg14x_sessions set time='1190906873' where session_id=md5('531d20d3fd35d1d6327713280bcbdcda32d83531ee0b2141983170aae7633edb'); (0.002s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2007-09-27 10:27:53' (0.001s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='76.179.73.2' OR ip_addr='76.179.73.2' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg14x_albums WHERE 1 (0.001s)
    [15] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.001s)
    [16] => SELECT filepath, filename FROM cpg14x_pictures WHERE filepath LIKE 'test%' (0s)
    [17] => SELECT aid, title FROM cpg14x_albums WHERE category = 0 (0.001s)
    [18] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg14x_albums as a, cpg14x_categories as c WHERE a.category = c.cid AND a.category < '10000' (0.001s)
    [19] => SELECT aid, CONCAT('(', user_name, ') ', a.title) AS title
                                                        FROM cpg14x_albums AS a
                                                        INNER JOIN `gallery`.cpg14x_users AS u
                                                        ON category = (10000 + 1) AND user_id = 1 ORDER BY title (0s)
)

==========================
GET :
------------------
Array
(
    [startdir] => test
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.1.14
------------------
Coppermine version: 1.4.13(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
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.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
sql.safe_mode | Off | Off
disable_functions | leak, symlink | leak, symlink
file_uploads | On | On
include_path | .:/include:/usr/lib/php | .:/include:/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 | 90 | 90
max_input_time | -1 | -1
upload_max_filesize | 50M | 50M
post_max_size | 50M | 50M
==========================
Page generated in 0.179 seconds - 20 queries in 0.015 seconds - Album set : ; Meta set: ;
« Last Edit: October 01, 2007, 08:36:38 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: HELP
« Reply #1 on: September 28, 2007, 06:06:12 am »

1) Use a better subject next time you start a thread.

2) Don't post debug_output unless requested

3) Don't hotlink images, but attach them - if the hotlink goes down, your thread is rendered useless for others.

4) Read the documentation before posting. In your case, do exactly as suggested in the upload troubleshooting section of the docs. There is a section that explains as well what you need to do when asking for support on uploading issues.
Logged

tamurai

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: HELP
« Reply #2 on: September 28, 2007, 02:24:16 pm »

Sorry I am very new at postingquestions. Second i did read the documentation several times. I have never had this issue before. Third All I am asking is for help don't treat me like a useless idiot.
Logged

tamurai

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
code 500 internal server error
« Reply #3 on: September 28, 2007, 02:50:46 pm »

Ok I followed again the troubleshooting for the 100th time and still get the code 500 please help.
Logged

Nibbler

  • Guest
Re: HELP
« Reply #4 on: September 28, 2007, 02:51:45 pm »

When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested. If you want fast results, you should disable admin approval for the group the test user is in, so supporters can tell instantly what is wrong without needing to double-check.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!
Logged

tamurai

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: HELP
« Reply #5 on: September 28, 2007, 03:01:28 pm »

When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested. If you want fast results, you should disable admin approval for the group the test user is in, so supporters can tell instantly what is wrong without needing to double-check.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!



Ok here is the link. Sorry if you think I am being a pain. I have followed all directions. Thank you for helping I really do appriciate it. username is test and there is no password.
http://millmallfurniture.com/php/cpg/index.php
Logged

tamurai

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: HELP
« Reply #6 on: September 28, 2007, 03:02:49 pm »

sorry password id test I just realized you can't get in
Logged

Nibbler

  • Guest
Re: HELP
« Reply #7 on: September 28, 2007, 03:10:59 pm »

# Go to the "groups" panel
# Set the upload form configuration for all groups to "Single file uploads only"

   1. set File upload boxes to "1" (1)
   2. set URI upload boxes to "0" (2)
   3. set No. of boxes to "fixed" (3)
Logged

tamurai

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: HELP
« Reply #8 on: September 28, 2007, 03:12:22 pm »

done
Logged

Nibbler

  • Guest
Re: HELP
« Reply #9 on: September 28, 2007, 03:19:03 pm »

Error executing ImageMagick - Return value: 127

Error 127 means you either don't have imagemagick installed or it is not where you told Coppermine it is. Either enter the correct path to imagemagick in config or use GD2 if available.
Logged

tamurai

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: HELP
« Reply #10 on: September 28, 2007, 03:24:47 pm »

I downloaded Imagemagick but not sure how to install however I did change the path to GD2 my PHP shows that it is available
Logged

tamurai

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: HELP
« Reply #11 on: September 28, 2007, 03:49:09 pm »

still does not work. Any ideas?
Logged

Nibbler

  • Guest
Re: HELP
« Reply #12 on: September 28, 2007, 04:03:23 pm »

I don't understand your post. You can't install Imagemagick yourself unless you run the server and GD2 has no path. Review the documentation or ask your host for assistance.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: HELP
« Reply #13 on: October 01, 2007, 08:36:15 am »

http://millmallfurniture.com/php/cpg/index.php is down, so I guess you have given up. Marking thread as "closed". We would have appreciated if you would have resolved your thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.