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: Upload is not working  (Read 3272 times)

0 Members and 1 Guest are viewing this topic.

juan_4_ever

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Upload is not working
« on: May 15, 2009, 04:53:31 am »

My hosting service offers Coppermine as and add-on application, I have installled it with out any problem, but whenever I try to upload an image I get a message saying it is not posible
I also asked my hostin service provider to help me working it out, but they said I have to come to coppermine forums
I would really appreciate your help

I created a test user:
user testuser
pwd testuser

Here is the Debug log

Code: [Select]
USER:
------------------
Array
(
    [ID] => 8a8d7090fb03fec18323114aa9d20d86
    [am] => 1
    [lang] => spanish
)

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

    [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
(
    [0] => SELECT extension, mime, content, player FROM filetypes; (0.001s)
    [1] => select * from plugins order by priority asc; (0s)
    [2] => delete from `host_mysql54f140a024865597dd2fdc55eeddbf5c`.sessions where time<1242352299 and remember=0; (0.001s)
    [3] => delete from `host_mysql54f140a024865597dd2fdc55eeddbf5c`.sessions where time<1241146299; (0s)
    [4] => select user_id from `host_mysql54f140a024865597dd2fdc55eeddbf5c`.sessions where session_id=md5("98c427171cfd8588104ff92eaea182e23270a9bef9a55217eb4d0b8f9300864e"); (0s)
    [5] => select user_id as id, user_password as password from `host_mysql54f140a024865597dd2fdc55eeddbf5c`.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 `host_mysql54f140a024865597dd2fdc55eeddbf5c`.users AS u INNER JOIN `host_mysql54f140a024865597dd2fdc55eeddbf5c`.usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `host_mysql54f140a024865597dd2fdc55eeddbf5c`.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 usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  usergroups WHERE group_id= 1 (0s)
    [10] => update `host_mysql54f140a024865597dd2fdc55eeddbf5c`.sessions set time='1242355899' where session_id=md5('98c427171cfd8588104ff92eaea182e23270a9bef9a55217eb4d0b8f9300864e'); (0s)
    [11] => SELECT user_favpics FROM favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM banned WHERE expiry < '2009-05-15 02:51:39' (0s)
    [13] => SELECT * FROM banned WHERE (ip_addr='189.153.54.169' OR ip_addr='189.153.54.169' OR user_id=1) AND brute_force=0 (0s)
    [14] => UPDATE config SET value = '1' WHERE name = 'debug_mode' (0s)
    [15] => SELECT COUNT(*) FROM pictures WHERE approved = 'NO' (0.001s)
)

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

==========================
POST :
------------------
Array
(
    [gallery_name] => Los recuerdos capturados
    [gallery_description] => imagenes de aqui y de allas
    [gallery_admin_email] => arzolajuan@prodigy.net.mx
    [ecards_more_pic_target] => http://coppermine.sourceforge.net/
    [home_target] => index.php
    [enable_zipdownload] => 1
    [time_offset] => 0
    [enable_help] => 2
    [clickable_keyword_search] => 1
    [enable_plugins] => 1
    [ban_private_ip] => 0
    [browse_batch_add] => 1
    [lang] => spanish
    [language_list] => 0
    [language_flags] => 0
    [language_reset] => 1
    [language_fallback] => 1
    [charset] => utf-8
    [theme] => classic
    [theme_list] => 0
    [theme_reset] => 1
    [display_faq] => 0
    [custom_lnk_name] =>
    [custom_lnk_url] =>
    [show_bbcode_help] => 1
    [vanity_block] => 1
    [custom_header_path] =>
    [custom_footer_path] =>
    [main_table_width] => 100%
    [subcat_level] => 2
    [albums_per_page] => 12
    [album_list_cols] => 2
    [alb_list_thumb_size] => 50
    [main_page_layout] => breadcrumb/catlist/alblist/random,2/lastup,2
    [first_level] => 1
    [categories_alpha_sort] => 0
    [link_pic_count] => 0
    [thumbcols] => 4
    [thumbrows] => 3
    [max_tabs] => 12
    [caption_in_thumbview] => 1
    [views_in_thumbview] => 1
    [display_comment_count] => 0
    [display_uploader] => 0
    [default_sort_order] => na
    [min_votes_for_rating] => 1
    [display_filename] => 0
    [picture_table_width] => 600
    [display_pic_info] => 0
    [max_img_desc_length] => 512
    [max_com_wlength] => 38
    [display_film_strip] => 1
    [max_film_strip_items] => 5
    [slideshow_interval] => 5000
    [display_film_strip_filename] => 0
    [filter_bad_words] => 0
    [enable_smilies] => 1
    [disable_comment_flood_protect] => 0
    [max_com_lines] => 10
    [max_com_size] => 512
    [email_comment_notification] => 0
    [comments_sort_descending] => 0
    [comments_anon_pfx] => Guest_
    [jpeg_qual] => 80
    [thumb_width] => 100
    [thumb_use] => any
    [make_intermediate] => 1
    [picture_width] => 400
    [max_upl_size] => 1024
    [max_upl_width_height] => 2048
    [auto_resize] => 0
    [show_private] => 0
    [forbiden_fname_char] => $/\\:*?"'<>|` &
    [allowed_img_types] => ALL
    [allowed_mov_types] => ALL
    [allowed_snd_types] => mp3/midi/mid/wma/wav/ogg
    [allowed_doc_types] => doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb
    [thumb_method] => im
    [impath] =>
    [im_options] => -antialias
    [read_exif_data] => 0
    [read_iptc_data] => 0
    [fullpath] => albums/
    [userpics] => userpics/
    [normal_pfx] => normal_
    [thumb_pfx] => thumb_
    [default_dir_mode] => 0755
    [default_file_mode] => 0644
    [media_autostart] => 1
    [allow_private_albums] => 1
    [allow_user_registration] => 0
    [reg_requires_valid_email] => 1
    [reg_notify_admin_email] => 0
    [allow_duplicate_emails_addr] => 0
    [upl_notify_admin_email] => 0
    [allow_memberlist] => 0
    [allow_unlogged_access] => 1
    [admin_activation] => 0
    [allow_email_change] => 0
    [users_can_edit_pics] => 0
    [login_threshold] => 5
    [login_expiry] => 10
    [report_post] => 0
    [user_profile1_name] => Location
    [user_profile2_name] => Interests
    [user_profile3_name] => Website
    [user_profile4_name] => Occupation
    [user_profile5_name] =>
    [user_profile6_name] => Biography
    [user_field1_name] =>
    [user_field2_name] =>
    [user_field3_name] =>
    [user_field4_name] =>
    [cookie_name] => coppermine
    [cookie_path] => /
    [smtp_host] =>
    [smtp_username] =>
    [smtp_password] =>
    [log_mode] => 0
    [log_ecards] => 0
    [vote_details] => 0
    [hit_details] => 0
    [debug_mode] => 1
    [debug_notice] => 1
    [offline] => 0
    [update_config] => Guardar la nueva configuración
)

==========================
VERSION INFO :
------------------
PHP version: 5.1.6 - OK
------------------
mySQL version: 5.0.45
------------------
Coppermine version: 1.4.16(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
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.45
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
==========================
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 | On | On
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 | .: | .:
open_basedir | /var/www/vhosts/arzola.com.mx/httpdocs:/tmp | 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 | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 0.283 seconds - 16 queries in 0.005 seconds - Album set : ; Meta set: ;
« Last Edit: May 15, 2009, 11:13:09 am by Phill Luckhurst »
Logged

juan_4_ever

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Upload is not working
« Reply #1 on: May 15, 2009, 05:05:50 am »

I'm sorry, I forgot to wrte the address

www.arzola.com.mx/coppermine
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Upload is not working
« Reply #2 on: May 15, 2009, 11:16:55 am »

*sigh*

Unfortunately, you host has provided you with a buggy and very out of date installation (cpg 1.4.16 while the current release is 1.4.22). Please upgrade with a fresh copy downloaded from this site following the instructions in the docs. It is quite simple and should solve your problems in you so as suggested in the docs.

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

juan_4_ever

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Upload is not working
« Reply #3 on: May 15, 2009, 06:37:50 pm »

I moved to 1.4.22 but it still does the same  ???
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Upload is not working
« Reply #4 on: May 15, 2009, 06:52:13 pm »

Well done on upgrading.

Next thing you need to do is check the manual regarding the groups panel, the album properties panel and the upload troubleshooting section.

It looks like there is no album where we can upload at present.

Groups Panel - http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#group_cp

Album Properties - http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#album_prop

Upload troubleshooting - http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Logged
It is a mistake to think you can solve any major problems just with potatoes.

juan_4_ever

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Upload is not working
« Reply #5 on: May 16, 2009, 12:39:13 am »

I'm coming back to the same point. I've seen the documentation and I still can not understand how to work it out
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.