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: Thumbnails not created  (Read 4297 times)

0 Members and 1 Guest are viewing this topic.

ricco0672

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Thumbnails not created
« on: March 28, 2010, 06:58:03 pm »

Hi,

I get the following error when trying to add some pics (not too large).

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in /home/ricco/public_html/fotos/include/picmgmt.inc.php  on line 262

I was looking at the help, and found that:

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

But, this did not solve my problem - cause I have 32 MB available in PHP.INI. I have tried to add only one photo or 10, it gives me always the same error message. Well, when using ImageMagick it was slightly different.

So, no clue where the problem could be. What data do you need from me?

This is the Debug info:
USER:
------------------
Array
(
    [ID] => f21e9953711437bf375e184a84998aba
    [am] => 1
    [lang] => german
    [liv] => Array
        (
           
  • => 130

        )

)

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

        )

    [disk_max] => 90000000
    [disk_min] => 90000000
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 4
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 90000000
    [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 `ricco_copp1`.cpg_sessions where time<1269791113 and remember=0; (0s)
        [3] => delete from `ricco_copp1`.cpg_sessions where time<1268585113; (0s)
        [4] => select user_id from `ricco_copp1`.cpg_sessions where session_id = 'd4559297f731c631c0176caf825623e5' (0s)
        [5] => select user_id as id, user_password as password from `ricco_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 `ricco_copp1`.cpg_users AS u INNER JOIN `ricco_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `ricco_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 `ricco_copp1`.cpg_sessions set time='1269794713' where session_id = 'd4559297f731c631c0176caf825623e5' (0s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2010-03-28 12:45:13' (0s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='88.66.131.192' OR ip_addr='88.66.131.192' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT aid, title FROM cpg_albums WHERE 1 (0s)
        [15] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[insert] => 1
)

==========================
POST :
------------------
Array
(
    [d0000] => 46
    [pics] => Array
        (
           
  • => i0000

        )

    [album_lb_id_i0000] => d0000
    [picfile_i0000] => MjAxMC8yMDEwLTAyIEZlYnJ1YXIvSU1HXzMwMzcuSlBH
    [album_lb_id_i0001] => d0000
    [picfile_i0001] => MjAxMC8yMDEwLTAyIEZlYnJ1YXIvSU1HXzMwNDAuSlBH
    [album_lb_id_i0002] => d0000
    [picfile_i0002] => MjAxMC8yMDEwLTAyIEZlYnJ1YXIvSU1HXzMwNDIuSlBH
    [album_lb_id_i0003] => d0000
    [picfile_i0003] => MjAxMC8yMDEwLTAyIEZlYnJ1YXIvSU1HXzMwNDMuSlBH
    [album_lb_id_i0004] => d0000
    [picfile_i0004] => MjAxMC8yMDEwLTAyIEZlYnJ1YXIvSU1HXzMwNDQuSlBH
    [album_lb_id_i0005] => d0000
    [picfile_i0005] => MjAxMC8yMDEwLTAyIEZlYnJ1YXIvSU1HXzMwNDUuSlBH
    [album_lb_id_i0006] => d0000
    [picfile_i0006] => MjAxMC8yMDEwLTAyIEZlYnJ1YXIvSU1HXzMxMTUuSlBH
    [album_lb_id_i0007] => d0000
    [picfile_i0007] => MjAxMC8yMDEwLTAyIEZlYnJ1YXIvSU1HXzMxMzIuSlBH
    [album_lb_id_i0008] => d0000
    [picfile_i0008] => MjAxMC8yMDEwLTAyIEZlYnJ1YXIvSU1HXzMxMzMuSlBH
    [album_lb_id_i0009] => d0000
    [picfile_i0009] => MjAxMC8yMDEwLTAyIEZlYnJ1YXIvSU1HXzMxMzQuSlBH
    [insert] => Markierte Dateien einfügen
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.13 - OK
------------------
mySQL version: 5.0.89-community
------------------
Coppermine version: 1.4.26(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.0.89
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64 -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 | 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, exec, shell_exec, system, passthru, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid | dl, exec, shell_exec, system, passthru, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
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 | 50M | 50M
post_max_size | 8M | 8M
==========================
Page generated in 0.031 seconds - 16 queries in 0 seconds - Album set : ; Meta set: ;


many thanks in advance.

Andreas
Logged

papukaija

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 333
Re: Thumbnails not created
« Reply #1 on: March 28, 2010, 07:09:47 pm »

Please post a link to your gallery (as asked in board rules). How big is your photo? You can also use imagemagic since it is run outside php.

Finally, please remember this about the debug mode:
Quote
Turn it on (option "Everyone") if you are requesting help on the coppermine support board, so the supporters can have a look at the debug output as well.
Logged

ricco0672

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Thumbnails not created
« Reply #2 on: March 28, 2010, 09:52:28 pm »

Hi,

sorry,

http://72.29.73.247/~ricco/fotos

The photos are not bigger than 2,5 MB. I used ImageMagick before, but thumbnails were not generated since February. I don´t know what has changed as many pictures have been uploaded before that.

thanks,

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Thumbnails not created
« Reply #3 on: March 29, 2010, 08:08:58 am »

But, this did not solve my problem - cause I have 32 MB available in PHP.INI.
So what? You need to re-read the section you refer to. Your reply
The photos are not bigger than 2,5 MB
clearly shows that as well: the file size doesn't matter at all. It's the dimensions of the image that counts.

This is the Debug info
Nobody asked for it.

If you have issues with upload, you need to do exactly as suggested in http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support

I used ImageMagick before, but thumbnails were not generated since February. I don´t know what has changed as many pictures have been uploaded before that.
Then ask your webhost what has changed on your webserver setup. However, judging from the fact that you posted the link to your gallery by IP address I guess that you're self-hosting, which might be the initial cause for your issues.
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.