Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Movie and file upload is not working right  (Read 4616 times)

0 Members and 1 Guest are viewing this topic.

duca

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Movie and file upload is not working right
« on: July 30, 2004, 10:42:05 am »

hi there
I am using cpg 1.3.1 everything is working fine with picture upload. But now i am trying to make a movie and file gallery.
I Uploaded via FTP different files( movies, html, and others) and there is no way i got a thumbnail picture. is it a possible bug, because i updated from 1.2.1 to 1.3.1? do i have to make i new install of the gallery?
the link to the gallery: http://dcmpictures.com/cgallery
under virtual reality

here the bugreport

USER:
------------------
Array
(
    [ID] => 4c301010392d51b03538077788f40f48
    [am] => 1
    [liv] => Array
        (
           
  • => 13
  • [1] => 14
                [2] => 17
                [3] => 82
                [4] => 230
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       
[user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => ++++
    [user_password] =>++++++
    [user_lastvisit] => 2004-07-30 10:39:03
    [user_regdate] => 2004-07-13 14:18:15
    [user_group_list] => 3,4,2
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [user_favpics] =>
    [disk_max] => 3096
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [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] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
           
  • => 3
  • [1] => 4
                [2] => 2
                [3] => 1
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg11d_filetypes;
  • [1] => SELECT * FROM cpg11d_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '6537a91d878c9cb0a6c362c61df95c17'
        [2] => 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 cpg11d_usergroups WHERE group_id in (3,4,2,1)
        [3] => SELECT group_name FROM  cpg11d_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg11d_banned WHERE expiry < 1091176787
        [5] => SELECT * FROM cpg11d_banned WHERE ip_addr='62.2.255.16' OR ip_addr='62.2.255.16' OR user_id=1
        [6] => SELECT category, title, aid, keyword, description FROM cpg11d_albums WHERE aid='13'
        [7] => SELECT name, parent FROM cpg11d_categories WHERE cid = '6'
        [8] => SELECT title,keyword from cpg11d_albums WHERE aid='13'
        [9] => SELECT COUNT(*) from cpg11d_pictures WHERE aid='13'   
        [10] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, title, caption,hits,owner_id,owner_name from cpg11d_pictures WHERE aid='13'    ORDER BY filename ASC  LIMIT 0 ,4
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[album] => 13
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.2.3 - OK
------------------
mySQL version: 3.23.53a
------------------
Coppermine version: 1.3.1
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
module doesn't exist
==========================
Module: zlib
------------------
module doesn't exist
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | /data/kunde/php_safe_bin/ | /data/kunde/php_safe_bin/
safe_mode_gid | On | On
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /data/kunde/php_safe_bin/ | /data/kunde/php_safe_bin/
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | 1 | 1
include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | postmaster@mail-mx.ip-tech.ch | postmaster@mail-mx.ip-tech.ch
sendmail_path | /var/qmail/bin/sendmail_php | /var/qmail/bin/sendmail_php
SMTP | localhost | localhost |  |
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30 |  |
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.134 seconds - 11 queries in 0.008 seconds - Album set :


thanx for your help!!!!!!!!!!!!
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Movie and file upload is not working right
« Reply #1 on: July 30, 2004, 02:38:04 pm »

Have you read the documentation about custom thumbnails?  The custom thumbnail for movies is also covered in various posts on this board.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

duca

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Movie and file upload is not working right
« Reply #2 on: July 30, 2004, 03:24:22 pm »

yes i did but did'nt work out i any way. allways got no thumbnail
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Movie and file upload is not working right
« Reply #3 on: July 30, 2004, 03:51:11 pm »

Please create a test user, and post the login/password here.
« Last Edit: July 30, 2004, 03:56:17 pm by kegobeer »
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Movie and file upload is not working right
« Reply #4 on: July 30, 2004, 04:06:25 pm »

Are you uploading jpg/png or gif thumbnails?  Are you naming the thumbnails like this: thumb_filename.jpg, and putting them in the same directory as the uploaded movie?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Movie and file upload is not working right
« Reply #5 on: July 30, 2004, 08:34:33 pm »

I also see you said you are uploading html files.

These are not allowed filetypes, unless you have modified your database, as they are a security risk, along with php, js files etc.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

duca

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Movie and file upload is not working right
« Reply #6 on: July 31, 2004, 12:04:44 pm »

i also tryed to that but didn't work
here is the login/password for the test user:*********
thanx
« Last Edit: July 31, 2004, 01:16:03 pm by Casper »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Movie and file upload is not working right
« Reply #7 on: July 31, 2004, 01:22:02 pm »

Hi duca,

first, you must NEVER post an admin account details on the open board.  If it is required, we will ask you to send it by pm.
I have edited your post above to remove it, but also suggest you delete that account now, for your security.

I have found the cause of your problems.  It is because you have changed the name of your thumbs in config.

You will need to use that prefix, for the thumbnails, not just 'thumb_', and you will also have to change the name of the default thumbs in the images folder to match.  Alternately, you could return the thumb setting to normal, and then rename all the thumbs already created.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: Movie and file upload is not working right
« Reply #8 on: August 02, 2004, 02:11:51 am »

Quote
change the name of the default thumbs in the images folder to match

maybe I should apply the system thumb changes that I made in devel to stable also. since no language/config variables are affected, it should be ok.


-omni
Logged

duca

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Movie and file upload is not working right
« Reply #9 on: August 02, 2004, 01:00:45 pm »

thanx guys your great!!!!!!!!!
the Gallery is also a great work keep on rockin' ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.