Re: Uploading images Re: Uploading images
 

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

Re: Uploading images

Started by beverly, September 03, 2009, 07:06:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

beverly

http://codysfoundation.com/2ndGallery/index.php

i have already set up a album. I just cant upload my photo's
( going to upload/ I cant  even upload it says

Sorry there is no album where you are allowed to upload files
create/order albums.


even my other gallery is doing this error, and i have had it for over a 1year.


http://dakota-cody.com/gallery/index.php


and i have this alert on my amin saying about

The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It's strongly recommended to turn it off.

how do i turn it off....

beverly

Quote from: beverly on September 03, 2009, 07:06:50 PM
http://codysfoundation.com/2ndGallery/index.php

i have already set up a album. I just cant upload my photo's
( going to upload/ I cant  even upload it says

Sorry there is no album where you are allowed to upload files
create/order albums.


even my other gallery is doing this error, and i have had it for over a 1year.


http://dakota-cody.com/gallery/index.php


and i have this alert on my amin saying about

The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It's strongly recommended to turn it off.

how do i turn it off....

USER:
------------------
Array
(
    [ID] => 12058687a378fdf5e934c0df0533211c
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 20
                [1] => 91
                [2] => 9
                [3] => 136
                [4] => 153
            )

    )

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

        [disk_max] => 0
        [disk_min] => 0
        [can_rate_pictures] => 1
        [can_send_ecards] => 0
        [ufc_max] => 3
        [ufc_min] => 3
        [custom_user_upload] => 0
        [num_file_upload] => 10
        [num_URI_upload] => 5
        [can_post_comments] => 1
        [can_upload_pictures] => 0
        [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
    (
       
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
        [1] => select * from cpg_plugins order by priority asc; (0s)
        [2] => delete from `dakotac_copp1`.cpg_sessions where time<1251995239 and remember=0; (0.011s)
        [3] => delete from `dakotac_copp1`.cpg_sessions where time<1250789239; (0s)
        [4] => select user_id from `dakotac_copp1`.cpg_sessions where session_id = '74542d8269fce23ecf7a34b7e3b0b9b6' (0.008s)
        [5] => select user_id as id, user_password as password from `dakotac_copp1`.cpg_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 `dakotac_copp1`.cpg_users AS u INNER JOIN `dakotac_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `dakotac_copp1`.cpg_users AS u WHERE user_id='1' 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 cpg_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
        [10] => update `dakotac_copp1`.cpg_sessions set time='1251998839' where session_id = '74542d8269fce23ecf7a34b7e3b0b9b6' (0s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2009-09-03 17:27:19' (0s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='99.48.56.32' OR ip_addr='99.48.56.32' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.2.8 - OK
    ------------------
    mySQL version: 5.1.30
    ------------------
    Coppermine version: 1.4.20(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.34 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
    XPM Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 5.1.30
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient_r 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Stream Wrapper support compress.zlib://
    Stream Filter support zlib.inflate, zlib.deflate
    Compiled Version 1.2.3
    Linked Version 1.2.3
    ==========================
    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 | dl | dl
    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 | 60 | 60
    upload_max_filesize | 64M | 64M
    post_max_size | 64M | 64M
    ==========================
    Page generated in 0.14 seconds - 15 queries in 0.019 seconds - Album set : ; Meta set: ;

phill104

Hi Beverly.

I have split your post fron the one you hijacked. Please read up on the board rules, it is considered bad form to hijack others threads with your own problems as they are different to the originators. Also, please do not post debug output unless requested.

Your old gallery needs updating asap. You are running <!--Coppermine Photo Gallery 1.4.20 (stable)--> while the current version is 1.4.25.

If your old gallery has suddenly stopped working at the same time it could be for a number of reasons. You could have been hacked due to the fact you have not updated, your host may have done something to change permissions etc, there are too many to list.

Read the following section of the manual and do everything suggested therin.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support

I would also check to see if there are any .htaccess files floating around in your server. Coppermine does not come with one so if there is it could be a sign that you have been hacked.

It is a mistake to think you can solve any major problems just with potatoes.

beverly

how can i hijack others threads, Everything i put in here was from my photo gallery. i replyed to my posting, I thought adding what i found would help.

i also could not find the area to start a new post.

i also added coppermine gallery from my cpanel, i did not see nothing for upgrading.
thanx for the help

phill104

Your post was tagged onto another by Philb, are you the same person? Thought not, that is what I mean by hijacking so I have split your thread from there.

If you have indeed installed coppermine from your hosts installer that is usually a big reason for things going wrong and we can neither support that nor recommend that. What you need to do is download a fresh copy of coppermine from this site then follow the upgrade instructions in the following section of the docs.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade

It really does not take long to do and may fix your problems. Either way you must do this to make your galleries secure. Once that is done and if you still have problems uploading come back with everything setup as per the link in my first post. Doing that will enable more detailed error messages making it a lot easier to track down your problem.
It is a mistake to think you can solve any major problems just with potatoes.