forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: nickiher on January 09, 2006, 12:55:49 am

Title: Pic uploading problem & editing/deleting categories & albums
Post by: nickiher on January 09, 2006, 12:55:49 am
Hello.

I bought a server that allows up to 5 domains on one server.  The other 3 websites that I have - I had no problems with editing Coppermine.  However, this one particular website that I have - I am having problems with uploading pictures.  In addition, after I create a category, there were no options to edit or even delete it.

Thanks
Title: Re: Pic uploading problem & editing/deleting categories & albums
Post by: Joachim Müller on January 09, 2006, 08:37:09 am
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Pic uploading problem & editing/deleting categories & albums
Post by: Joachim Müller on January 10, 2006, 10:25:05 pm
do as suggested in the section of the docs that I refered to if you want help.
Title: Re: Editing/deleting categories & albums
Post by: nickiher on January 11, 2006, 02:01:11 am
Sorry for bugging you and sounding like a noob in Coppermine but I have searched that document and had a friend help me search for an answer for my problem.  Still unsuccessful

My problem lies in why I, an admin, do not have options to edit or delete categories anymore.  When I'm in categories, there is not option for me to do so, the operations functions are not even visible.  I also don't understand why I'm not able to view the pictures that were uploaded a week ago (which I could see find fine) and now not able to see at all.

Maybe I didn't phrase my questions/concerns better and I apologize.

Title: Re: Pic uploading problem & editing/deleting categories & albums
Post by: Bacchus on January 11, 2006, 06:39:31 am
Put a link to your gallery so we can see.
Title: Re: Pic uploading problem & editing/deleting categories & albums
Post by: Joachim Müller on January 11, 2006, 10:44:17 am
don't edit out your postings, or you will be banned. I'll quote the section for you, highlighting the important section:
Quote
4.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.
Don't behave like a moron.
Title: Re: Pic uploading problem & editing/deleting categories & albums
Post by: nickiher on January 11, 2006, 01:19:09 pm
Thanks.  This is what I got after saving the configurations to file uploads only.

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

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

    [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] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [group_id] => Array
        (
            [group_name_1] => Administrators
    [group_quota_1] => 0
    [can_rate_pictures_1] => 1
    [can_send_ecards_1] => 1
    [can_post_comments_1] => 1
    [can_upload_pictures_1] => 1
    [pub_upl_need_approval_1] => 0
    [can_create_albums_1] => 1
    [priv_upl_need_approval_1] => 0
    [custom_user_upload_1] => 0
    [num_file_upload_1] => 1
    [num_URI_upload_1] => 0
    [group_name_2] => Registered
    [group_quota_2] => 1024
    [can_rate_pictures_2] => 1
    [can_send_ecards_2] => 1
    [can_post_comments_2] => 1
    [can_upload_pictures_2] => 1
    [pub_upl_need_approval_2] => 1
    [can_create_albums_2] => 1
    [priv_upl_need_approval_2] => 0
    [custom_user_upload_2] => 0
    [num_file_upload_2] => 1
    [num_URI_upload_2] => 0
    [group_name_3] => Guests
    [group_quota_3] => 0
    [can_rate_pictures_3] => 0
    [can_send_ecards_3] => 0
    [can_post_comments_3] => 0
    [can_upload_pictures_3] => 0
    [pub_upl_need_approval_3] => 1
    [can_create_albums_3] => 0
    [priv_upl_need_approval_3] => 1
    [custom_user_upload_3] => 0
    [num_file_upload_3] => 1
    [num_URI_upload_3] => 0
    [group_name_4] => Banned
    [apply_modifs] => Apply modifications
    [upload_form_config_1] => 0
    [upload_form_config_2] => 0
    [upload_form_config_3] => 0
    [upload_form_config_4] => 0
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.1.14-standard
------------------
Coppermine version: 1.4.2(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.14
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1.2
Linked Version 1.2.1.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/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/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 | -1 | -1
upload_max_filesize | 100M | 100M
post_max_size | 55M | 55M
==========================
Page generated in 0.154 seconds - 22 queries in 0.013 seconds - Album set : ; Meta set: ;

And this is what I got after I uploaded one picture.

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

)

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

    [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] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [pos] => -112
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.1.14-standard
------------------
Coppermine version: 1.4.2(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.14
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1.2
Linked Version 1.2.1.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/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/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 | -1 | -1
upload_max_filesize | 100M | 100M
post_max_size | 55M | 55M
==========================
Page generated in 0.097 seconds - 28 queries in 0.002 seconds - Album set : ; Meta set: ;
Title: Re: Pic uploading problem & editing/deleting categories & albums
Post by: nickiher on January 11, 2006, 01:28:05 pm
Since I forgot to post this and not allowed to edit...please do not think I was trying to double post.

http://bipashabasuonline.com/gallery

Again, I apologize for any confusions and misinterpretations.
Title: Re: Pic uploading problem & editing/deleting categories & albums
Post by: nickiher on January 11, 2006, 01:56:05 pm
I created a user test (password: test) and tested out that user name but keep coming up with this error when trying to upload.  I did double check the settings in the group registered and there are upload priviledges.  Again I apologize again for posting

Sorry there is no album where you are allowed to upload files

File: /home/nickiher/public_html/bipashabasuonline/gallery/upload.php - Line: 864

Title: Re: Pic uploading problem & editing/deleting categories & albums
Post by: Joachim Müller on January 11, 2006, 08:45:39 pm
well, when getting the error message
Quote
Sorry there is no album where you are allowed to upload files
it usually helps to create an album where the user has upload privileges. This is what I did for you, then I tried uploading a pic. There was no error message, but the pic didn't appear. Taking a look at the pic directly in the browser (http://bipashabasuonline.com/gallery/albums/userpics/10003/Beispiel.jpg) results in the 403 error message
Quote
Forbidden
You don't have permission to access /gallery/albums/userpics/10003/Beispiel.jpg on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
(This is not a coppermine error message, but one generated from your webserver). It means that you have configured your server improperly (usually a hotlink protection in place using .htaccess). Either fix this yourself or ask your webhost for support.

Joachim

P.S. I've had enough of your silly behaviour (posting unrequested stuff again and again and not doing what you're told to do), so be warned: another case of misbehaviour will get you banned