User Problem Uploading To Album User Problem Uploading To Album
 

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

User Problem Uploading To Album

Started by larryve, November 28, 2007, 09:24:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

larryve

I have a single user that has a problem uploading to albums in Gallery.

Debug information follows:
=======================================================

Critical error

Script called without the required parameter(s).

File: /home/lvephoto/public_html/photo_gallery/db_input.php - Line: 58

Debug Info

  <javascript:HighlightAll('debug.debugtext')> Select All
USER: ------------------ Array ( [ID] => 972b1080f75682a10470e5311d1ca9fd [am] => 1 [lang] => english [liv] => Array (
  • => 1282 [1] => 1271 [2] =>
    1281 [3] => 1280 [4] => 1279 ) ) ========================== USER DATA:
    ------------------ Array ( [user_id] => 55 [user_name] => mblack [groups] => Array (
  • => 2 [1] => 6 [2] => 7 ) [disk_max] => 0 [disk_min] => 0 [can_rate_pictures] => 1 [can_send_ecards] => 1 [ufc_max] => 0 [ufc_min] => 0 [custom_user_upload] => 0 [num_file_upload] => 1 [num_URI_upload] => 0 [can_post_comments] => 1 [can_upload_pictures] => 1 [can_create_albums] => 1 [has_admin_access] => 0 [pub_upl_need_approval] => 0 [priv_upl_need_approval] => 0 [group_name] => Registered [upload_form_config] => 0 [group_quota] => 0 [can_see_all_albums] => 0 [group_id] => 2 ) ========================== Queries: ------------------ Array (
  • => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s) [1] => select * from cpg143_plugins order by priority asc; (0s) [2] => delete from `lvephoto_newgallery`.cpg143_sessions where
    time<1196217631 and remember=0; (0s) [3] => delete from `lvephoto_newgallery`.cpg143_sessions where time<1195011631; (0s) [4] => select user_id from `lvephoto_newgallery`.cpg143_sessions where session_id=md5("3ab0aabcb100d165b9710b5bd28c57ce79ea4d62c50c2e02bf6b2f5398ef
    19c4"); (0s) [5] => select user_id as id, user_password as password from `lvephoto_newgallery`.cpg143_users where user_id=55 (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 `lvephoto_newgallery`.cpg143_users AS u INNER JOIN `lvephoto_newgallery`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='55' (0s) [7] => SELECT user_group_list FROM `lvephoto_newgallery`.cpg143_users AS u WHERE user_id='55' 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 cpg143_usergroups WHERE group_id in (2,6,7) (0s) [9] => SELECT group_name FROM cpg143_usergroups WHERE group_id= 2 (0s) [10] => update `lvephoto_newgallery`.cpg143_sessions set time='1196221231' where session_id=md5('3ab0aabcb100d165b9710b5bd28c57ce79ea4d62c50c2e02bf6b2f5398ef
    19c4'); (0s) [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id =
    55 (0s) [12] => DELETE FROM cpg143_banned WHERE expiry < '2007-11-27 23:40:31' (0s) [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='71.202.155.196' OR ip_addr='71.202.155.196' OR user_id=55) AND brute_force=0 (0s) [14] => SELECT aid FROM cpg143_albums WHERE visibility != '0' AND visibility !='10055' AND visibility NOT IN (2,6,7) (0s) [15] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0.001s) ) ========================== GET : ------------------ Array ( ) ========================== POST : ------------------ Array ( ) ========================== Page generated in 0.111 seconds - 16 queries in
    0.001 seconds - Album set : ; Meta set: ;

    Would apreciate any advice or suggestions.

    Thank you!

Joachim Müller

Do exactly as suggested in the upload troubleshooting section of the docs.

larryve

Thank you. I have gone through the checklist exactly as you suggested, I have sent the debug and other information to a programmer that knows CPG and asked for assistance. The only thing I have been able to narrow this down to, is the following:

All users that have been active and who have uploaded files in the last 30-60 days have no problems.

Any New User I add cannot upload

I did as suggested in the steps to follow, and created a new user, if fact several of them, and they cannot upload. These were setup as registered, and assigned privileges to groups as are all other registered users.

I have also done a search on Upload problems, and,  I do not see any that are exactly like mine. I copied the ones that might apply simarily to my problem and forwarded to the person I have asked to provide support. This person is technical, but is not very familiar with Coppermine.

My best!

Joachim Müller

Quote from: larryve on December 01, 2007, 08:37:57 PM
I have gone through the checklist exactly as you suggested,
Oh yes, really? Well, let me quote the docs to you:
QuoteAsking for support on upload issues

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!

Quote from: larryve on December 01, 2007, 08:37:57 PMI have sent the debug and other information to a programmer that knows CPG and asked for assistance.
Another quote from the docs:
QuoteAsking for support on upload issues

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!

Quote from: larryve on December 01, 2007, 08:37:57 PMAll users that have been active and who have uploaded files in the last 30-60 days have no problems.

Any New User I add cannot upload
Review permissions on the albums folder.


larryve

#4
Gau Gau you quoted.

QuoteWhen 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!
I understand!

I honestly am not trying to circumvent the system! I have used Coppermine for more than a year and have never had a problem except some spamming issues which I figured our how to handle. I love this program, and I am willing to do whatever to get better at what I am doing.

The test user or the user having problems is not in the Administrator Group.they are in the Registered Group. They also have permissions to for other groups.  The group in question is called the Contest Group

They do not require permissions to upload.

I have 50 people uploading and not having problems. One user does, and so does the test user I setup!

Debug is turned on for all users and has been since I read the procedure.

File Upload boxes is set to 1

I can upload to the Group, and can upload the User file without problems.

The test user I set up as per the procedure, cannot load that User File or any other file to any group. They are setup as a registered user.

I have read all of the upload problem posts and do not find any that match the problem I am having.

I expect to hear back from my technical contact tomorrow.

Thank you for your response!


Joachim Müller

Why do you go through a langthy posting, trying to confirm that you read the docs if your posting shows that you haven't? Once again, the most important part that you stubbornly seem to skip reading:
QuoteWhen asking for support on the coppermine forum, post a link to your site and a test user account
I still can't see a link to your gallery, nor was I able to see the test user account. Post it or figure out your issues on your own.

larryve


Joachim Müller

You're running cpg1.4.3, while the most recent stable release is cpg1.4.14, so you'rte running 11 versions behind. Don't you think that we released those 11 versions for a particular reason? Again, RTFM: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade_why
Upgrading is absolutely mandatory no matter what.

larryve

You are right! I have contacted my hosting company, and  I will insure everything is at the proper level before I post again. Thank you!

Joachim Müller

Don't make your webhost perform the upgrade for you. It's your responsibility to do that, and the only supported install/upgrade method is the one we describe in our docs.

larryve

Thank you. The problem appears to be resolved. cpg upgrade has been installed, and it also appears that there was a permissions problem that has been fixed. Everything appears to be working normally now for the last three days.