Couple of Troubles Couple of Troubles
 

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

Main Menu

Couple of Troubles

Started by Greg002, July 13, 2007, 05:37:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Greg002

Alright I did a search firs and I couldn't find an answer to my troubles.

I just got the coppermine up and running and I have all the permissions set and so on.

Well here come the troubles.

1- When user make own album it shows that they have them there but it wont let anyone view them. It says no user galleries.

2- I made albums and when I try to upload a picture from inside the album it says 0 uploads were successful. Even tho clearly a file was set in the upload option.

I believe this is it for the questions just want to get this going. Thanks in advance.

Greg002

USER:
------------------
Array
(
    [ID] => fd9ad864bb22dcc7a58257a79d3ed726
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => Greg
    [groups] => Array
        (
           
  • => 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] => 1
        [group_name] => Administrators
        [upload_form_config] => 3
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg1411_filetypes; (0.001s)
        [1] => select * from cpg1411_plugins order by priority asc; (0s)
        [2] => delete from `bnrshaker`.cpg1411_sessions where time<1184339930 and remember=0; (0s)
        [3] => delete from `bnrshaker`.cpg1411_sessions where time<1183133930; (0s)
        [4] => select user_id from `bnrshaker`.cpg1411_sessions where session_id=md5("9bf45d96a6ebf50dd9a730821d1104536e3582ff8b7449c96131a6292c8e0475"); (0s)
        [5] => select user_id as id, user_password as password from `bnrshaker`.cpg1411_users where user_id=2 (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 `bnrshaker`.cpg1411_users AS u INNER JOIN `bnrshaker`.cpg1411_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='2' (0s)
        [7] => SELECT user_group_list FROM `bnrshaker`.cpg1411_users AS u WHERE user_id='2' and user_group_list <> ''; (0s)
        [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 cpg1411_usergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  cpg1411_usergroups WHERE group_id= 1 (0s)
        [10] => update `bnrshaker`.cpg1411_sessions set time='1184343530' where session_id=md5('9bf45d96a6ebf50dd9a730821d1104536e3582ff8b7449c96131a6292c8e0475'); (0s)
        [11] => SELECT user_favpics FROM cpg1411_favpics WHERE user_id = 2 (0.002s)
        [12] => DELETE FROM cpg1411_banned WHERE expiry < '2007-07-13 16:18:50' (0.002s)
        [13] => SELECT * FROM cpg1411_banned WHERE (ip_addr='24.209.182.70' OR ip_addr='24.209.182.70' OR user_id=2) AND brute_force=0 (0.001s)
        [14] => SELECT COUNT(*) FROM cpg1411_pictures WHERE approved = 'NO' (0.007s)
        [15] => SELECT value FROM cpg1411_config WHERE name = 'theme' (0.002s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.6 - OK
    ------------------
    mySQL version: 4.1.18-standard-log
    ------------------
    Coppermine version: 1.4.12(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support:
    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 4.1.11
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/run/mysqld/mysqld.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.2
    Linked Version 1.2.2
    ==========================
    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/local/lib/php-4.4.6/lib/php | .:/usr/local/lib/php-4.4.6/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | wwwuser@cgi.yourhostingaccount.com | wwwuser@cgi.yourhostingaccount.com
    sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
    SMTP | mail.yourhostingaccount.com | mail.yourhostingaccount.com
    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 | 10M | 10M
    post_max_size | 11M | 11M
    ==========================
    Page generated in 0.124 seconds - 16 queries in 0.016 seconds - Album set : ; Meta set: ;

Joachim Müller

We have a strict "one question per thread" policy that you agreed when signing up, so only your first question will be dealt with in this thread. Respect the policy in the future!

Quote from: Greg002 on July 13, 2007, 05:37:31 PM
1- When user make own album it shows that they have them there but it wont let anyone view them. It says no user galleries.
Post a link to your gallery and a non-admin test user account with privileges to have personal galleries.

Quote from: Greg002 on July 13, 2007, 05:37:31 PM2- I made albums and when I try to upload a picture from inside the album it says 0 uploads were successful. Even tho clearly a file was set in the upload option.
As suggested, this question will not be dealt with in this thread. Start a separate thread after having read the upload troubleshooting section of the docs and having done exactly as suggested there.
Don't post debug_output unless a supporter explicitely asks for it!

Greg002

Alright will do. Thanks. I will see if that works. Also I have read the upload troubleshooting and since I still can't figure it out I came here to post.

Joachim Müller

Why don't you do as I suggested for a start:
Quote from: GauGau on July 13, 2007, 06:27:18 PMPost a link to your gallery and a non-admin test user account with privileges to have personal galleries.

Quote from: Greg002 on July 13, 2007, 06:31:54 PM
Also I have read the upload troubleshooting and since I still can't figure it out I came here to post.
Then re-read it. Seems like you only had a casual glimpse at it. If you would have read it more thoroughly, you would certainly have noticed the sections I highlighted in bold for you:
Quote4.11.4 Upload troubleshooting

If you are experiencing issues with coppermine's upload process, temporarily change your coppermine settings as suggested below to get more detailed error messages:

    * Go to your coppermine page and log in as admin
    * Go to the config screen
    * Scroll to the bottom of the page
    * Expand the "Maintenance settings" section by clicking on it
    * Enable debug mode for everyone
    * Leave display of notices switched off
    * Save the new settings by clicking on "Save new configuration"
    * Go to the "groups" panel
    * Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")
    * Save your new settings

Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed error message that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, search the support board for the error message you get.
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.

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!

Greg002

Alright I went through and made a test account which an uploaded file wont load but a url will take and say it was uploaded when in turn its not able to be seen. I have started a test account and I cant figure this out. I read the upload process twice and I still cant figure this out.

Joachim Müller

Are you playing stupid on purpose? Which word exactly do you not understand in the sentence
Quote from: GauGau on July 13, 2007, 06:35:42 PMWhen asking for support on the coppermine forum, post a link to your site and a test user account

Greg002


Joachim Müller

http://www.bnrmotorsports.org/coppermine returns a 404 error. Actual link is http://www.bnrmotorsports.org/Coppermine/ (on Lunix-driven systems, capitalization does matter).
You haven't done as suggested: you have one file upload field and one URI upload field, while you're suppossed to have set the number of URI upload fields set to zero. Again you fail to do as suggested ::). I'm not ready to tell you yet another time to read the damn documentation extra carefully, especially since I've told you to start a separate thread for your upload issues in the first place. With only a few postings, you managed to misbehave many times, ignoring everything I said. I'm not ready to waste my time with you any longer - I'm out of this thread.

To give you time to read the docs extra thoroughly before starting yet another incomplete or false posting, wasting another supporter's time, you're banned from posting for one day. >:(

Joachim