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: Error uploading - Critical Error  (Read 5657 times)

0 Members and 1 Guest are viewing this topic.

uvgoth

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 33
    • TheDigitalAngel
Error uploading - Critical Error
« on: August 08, 2006, 08:24:06 pm »

I have double-checked my album permissions and they are correct at 755 and tried both batch adding and single file adding. If someone could help, I have set up a test account though have posted the errors below.

User: test
Password: test



Critical error
The file 'albums/userpics/10001/Jo.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /home2/vicki/public_html/photos/db_input.php - Line: 402


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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => vicki
    [groups] => Array
        (
           
  • => 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
(
   
  • => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s)
  • [1] => select * from cpg143_plugins order by priority asc; (0.015s)
        [2] => delete from `vicki_coppermine`.cpg143_sessions where time<1155057539 and remember=0; (0s)
        [3] => delete from `vicki_coppermine`.cpg143_sessions where time<1153851539; (0s)
        [4] => select user_id from `vicki_coppermine`.cpg143_sessions where session_id=md5("1a5471e13b426c4b37f32cbd7ccc3ec225ca3766c87486ed3df3ae9fdf8f0b3c"); (0.001s)
        [5] => select user_id as id, user_password as password from `vicki_coppermine`.cpg143_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 `vicki_coppermine`.cpg143_users AS u INNER JOIN `vicki_coppermine`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `vicki_coppermine`.cpg143_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 cpg143_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0s)
        [10] => update `vicki_coppermine`.cpg143_sessions set time='1155061139' where session_id=md5('1a5471e13b426c4b37f32cbd7ccc3ec225ca3766c87486ed3df3ae9fdf8f0b3c'); (0s)
        [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-08-08 18:18:59' (0s)
        [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='62.3.112.246' OR ip_addr='192.168.61.17' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT category FROM cpg143_albums WHERE aid='36' (0.014s)
        [15] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
       
[album] => 36
    [MAX_FILE_SIZE] => 1048576
    [title] =>
    [caption] =>
    [keywords] =>
    [event] => picture
    [user1] =>
    [user2] =>
    [user3] =>
)

==========================
VERSION INFO :
------------------
PHP version: 5.1.4 - OK
------------------
mySQL version: 4.1.20-standard
------------------
Coppermine version: 1.4.8(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: 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.19
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
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.2
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 | system,exec | system,exec
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 | 11M | 11M
post_max_size | 55M | 55M
==========================
Page generated in 0.417 seconds - 16 queries in 0.03 seconds - Album set : ; Meta set: ;
« Last Edit: August 09, 2006, 12:28:26 am by Nibbler »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Error uploading - Critical Error
« Reply #1 on: August 08, 2006, 09:07:16 pm »

- Do not post debug_output unless requested
- If you are using imagemagick , check the path
- Try GD2 instead of Imagemagick
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Nibbler

  • Guest
Re: Error uploading - Critical Error
« Reply #2 on: August 08, 2006, 09:15:51 pm »

We need a link to your gallery in order to use the test account :)
Logged

uvgoth

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 33
    • TheDigitalAngel
Re: Error uploading - Critical Error
« Reply #3 on: August 08, 2006, 10:08:52 pm »

Sorry.

http://www.thedigitalangel.co.uk/photos/

Running PHP 5.1.4 and using GD 2, I believe (FreeType Version: 2.1.9/GD Version: bundled (2.0.28 compatible))
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error uploading - Critical Error
« Reply #4 on: August 08, 2006, 10:27:56 pm »

Quote
Critical error
The file 'albums/userpics/10002/Beispiel.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /home2/vicki/public_html/photos/db_input.php - Line: 402
Set permissions as suggested in the docs.
Logged

uvgoth

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 33
    • TheDigitalAngel
Re: Error uploading - Critical Error
« Reply #5 on: August 08, 2006, 10:46:58 pm »

The permissions for which folder exactly. I believe everything is set at 755 that needs to be
Logged

Nibbler

  • Guest
Re: Error uploading - Critical Error
« Reply #6 on: August 08, 2006, 10:51:51 pm »

Might be 777, depends how your server is setup.
Logged

uvgoth

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 33
    • TheDigitalAngel
Re: Error uploading - Critical Error
« Reply #7 on: August 08, 2006, 10:57:41 pm »

My site/server was hacked a couple of weeks ago so there set everything back up so assume it's 755. Should there be amy Coppermine files that may need to be 777?
Logged

uvgoth

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 33
    • TheDigitalAngel
Re: Error uploading - Critical Error
« Reply #8 on: August 08, 2006, 10:59:23 pm »

Have also just reuploaded all the Coppermine files just in case but still a problem
Logged

uvgoth

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 33
    • TheDigitalAngel
Re: Error uploading - Critical Error
« Reply #9 on: August 08, 2006, 11:09:24 pm »

Have also tried changing that particular album to 777 and still didn't work...
Logged

Nibbler

  • Guest
Re: Error uploading - Critical Error
« Reply #10 on: August 08, 2006, 11:20:34 pm »

If you are happy to PM me FTP access to your gallery I can take a look at it for you.
Logged

Nibbler

  • Guest
Re: Error uploading - Critical Error
« Reply #11 on: August 09, 2006, 12:07:52 am »

- Try GD2 instead of Imagemagick

Give that man a coconut. :)

You were using Imagemagick which you can't use with Coppermine as exec() is disabled on your server. You should set GD2 in config and then upload a clean copy of include/picmgmt.inc.php
Logged

uvgoth

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 33
    • TheDigitalAngel
Re: Error uploading - Critical Error
« Reply #12 on: August 09, 2006, 12:26:01 am »

Thanks. For some reason I was looking at the PHP info and seeing only GD.

Clean forgot to look in config.  *embarassed*

Thanks for all your help!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error uploading - Critical Error
« Reply #13 on: August 09, 2006, 06:39:33 am »

The permissions for which folder exactly.
The albums folder and everything within it.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.