Advanced search  

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

Pages: [1]   Go Down

Author Topic: file cant be uploading in DB...  (Read 2950 times)

0 Members and 1 Guest are viewing this topic.

aftab1003

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 67
    • PictureRating Site for Teens
file cant be uploading in DB...
« on: April 13, 2008, 05:06:29 pm »

A recently hacker attack on my site, and i update the gallery to latest.
but now i am facing an issue that my uploaded images from py pc or url as admin or user cant be uploading.

i check the details and follow the instruction from
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble

and found the errors
The file 'albums/userpics/paki-299__PenelopeCruz04_~0.jpg' can't be inserted in the album
Unable to create thumbnail or reduced size image.
File: /home/eshoppin/public_html/picturerating.us/picture-gallery/db_input.php - Line: 402

the debug info is displaying this information...
USER:
------------------
Array
(
    [ID] => 965c5b0da9617eba4fb454c336b67ca3
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 0
    [user_name] => Guest
    [groups] => Array
        (
           
  • => 3

        )

    [group_quota] => 1024
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [upload_form_config] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [custom_user_upload] => 0
    [disk_max] => 1024
    [disk_min] => 1024
    [ufc_max] => 0
    [ufc_min] => 0
    [has_admin_access] => 0
    [group_name] => Guests
    [can_see_all_albums] => 0
    [group_id] => 3
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
  • [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => delete from `eshoppin_cpg`.cpg14x_sessions where time<1208095171 and remember=0; (0.001s)
        [3] => delete from `eshoppin_cpg`.cpg14x_sessions where time<1206889171; (0s)
        [4] => select user_id from `eshoppin_cpg`.cpg14x_sessions where session_id=md5("c23269db6464683d8d85f27113efbd490192edc257bf95725185809a31edbfe9"); (0s)
        [5] => select user_id as id, user_password as password from `eshoppin_cpg`.cpg14x_users where user_id=0 (0s)
        [6] => 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 (3) (0s)
        [7] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 3 (0s)
        [8] => update `eshoppin_cpg`.cpg14x_sessions set time='1208098771' where session_id=md5('c23269db6464683d8d85f27113efbd490192edc257bf95725185809a31edbfe9'); (0s)
        [9] => DELETE FROM cpg14x_banned WHERE expiry < '2008-04-13 19:59:31' (0s)
        [10] => SELECT * FROM cpg14x_banned WHERE (ip_addr='119.30.93.114' OR ip_addr='119.30.93.114' OR user_id=0) AND brute_force=0 (0s)
        [11] => SELECT aid FROM cpg14x_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3) (0s)
        [12] => SELECT category FROM cpg14x_albums WHERE aid='17' and (uploads = 'YES' OR category = '10000') (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
       
[album] => 17
    [MAX_FILE_SIZE] => 1048576
    [title] => penelope cruze
    [caption] => beautiful picture
    [keywords] =>
    [event] => picture
)

==========================
Page generated in 0.187 seconds - 13 queries in 0.001 seconds - Album set : ; Meta set: ;



can any body help me regarding this issue, and  i am not using any mode or hack except of orignal 1.4.17 gallery.
thanks
u can view the gallery at
http://www.picturerating.us/picture-gallery
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: file cant be uploading in DB...
« Reply #1 on: December 23, 2008, 11:47:50 pm »

This post is pretty old so you may have found a solution already. If not, did you try deleting the tilda from the filename? That's probably making Coppermine unhappy.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 22 queries.