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: [Solved]: Cant recreate intermediate photos  (Read 5108 times)

0 Members and 1 Guest are viewing this topic.

zikronix

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
[Solved]: Cant recreate intermediate photos
« on: July 10, 2008, 03:15:47 pm »

So like a dummy i deleted all the intermediate photos...dont know why seemed liek the thing to do at the time. Well now I cant recreate them. If I goto admin tools select update thumbs or resized photos. and select only resized photos click submit i get an error like the one below


ERROR creating : albums/engagement/normal_engage_65_fix.jpg

Ive triple checked all permissions. all coppermine files seem to be there, even changed themes to see if i was missing an option.

I searched the forum over and over again and i read this is how that you fix it. It works for the people on the forum but not for me. Unless im doing something wrong. Any help would be great.
« Last Edit: July 11, 2008, 07:10:01 am by Joachim Müller »
Logged

zikronix

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Cant recreate intermediate photos
« Reply #1 on: July 10, 2008, 03:42:40 pm »

also when i try to batch upload i get this error

Unable to create thumbnail or reduced size image.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Cant recreate intermediate photos
« Reply #2 on: July 10, 2008, 03:53:14 pm »

verify the graphic library selected in the config and set  GD2 if it's not this whos is selected
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

zikronix

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Cant recreate intermediate photos
« Reply #4 on: July 10, 2008, 06:03:31 pm »

gd2 is selected.  I thought that was it but it wasnt....let me turn on the debug and see what i get.
Logged

zikronix

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Cant recreate intermediate photos
« Reply #5 on: July 10, 2008, 06:14:54 pm »

oh wow I got a ton of errors. I dont even know where to start. It might be easier to kill the data base and start all over.

heres the out put if your curious.

USER:
------------------
Array
(
    [ID] => 61a56bd68c62c22e8364e399bc08e9e5
    [am] => 1
    [lang] => english
)

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

        )

    [disk_max] => 0
    [disk_min] => 0
    [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] => 5
    [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
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0.002s)
  • [1] => select * from cpg_plugins order by priority asc; (0s)
        [2] => delete from `ang07709240489`.cpg_sessions where time<1215702257 and remember=0; (0.001s)
        [3] => delete from `ang07709240489`.cpg_sessions where time<1214496257; (0s)
        [4] => select user_id from `ang07709240489`.cpg_sessions where session_id = '771aa94a0f56c966b60a6eb3827de910' (0.001s)
        [5] => select user_id as id, user_password as password from `ang07709240489`.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 `ang07709240489`.cpg_users AS u INNER JOIN `ang07709240489`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `ang07709240489`.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) (0.001s)
        [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0.001s)
        [10] => update `ang07709240489`.cpg_sessions set time='1215705857' where session_id = '771aa94a0f56c966b60a6eb3827de910' (0.001s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2008-07-10 16:04:17' (0.002s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='162.42.141.34' OR ip_addr='162.42.141.34' OR user_id=1) AND brute_force=0 (0.004s)
        [14] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.002s)
        [15] => SELECT * FROM cpg_pictures  LIMIT 0, 45 (0.013s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
       
[action] => update_thumbs
    [updatetype] => 1
    [numpics] => 45
    [parsemode] => 0
    [refresh_numpics] => 45
    [albumid] => 0
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.5 - OK
------------------
mySQL version: 4.0.27-max-log
------------------
Coppermine version: 1.4.18(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:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.18
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /usr/local/mysql-5.0/data/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql-5.0//include/mysql
MYSQL_LIBS -L/usr/local/mysql-5.0//lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.1.4
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 | ~ | ~
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 | .:/usr/local/php5/lib/php | .:/usr/local/php5/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | relay-hosting.secureserver.net | relay-hosting.secureserver.net
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 14.071 seconds - 16 queries in 0.028 seconds - Album set : ; Meta set: ;



and heres some of the actual errors

# Warning line 272: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions
# Warning line 273: imagecopyresampled(): supplied argument is not a valid Image resource
# Warning line 277: imagejpeg(): supplied argument is not a valid Image resource
# Warning line 279: imagedestroy(): supplied argument is not a valid Image resource
# Notice line 285: getimagesize() [function.getimagesize]: Read error!


which repeat over and over again
Logged

Nibbler

  • Guest
Re: Cant recreate intermediate photos
« Reply #6 on: July 10, 2008, 06:19:25 pm »

Check the size set for intermediate images in config. Make sure it's not set to 1. Also, don't over react. :)
Logged

zikronix

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Cant recreate intermediate photos
« Reply #7 on: July 10, 2008, 06:31:21 pm »

Check the size set for intermediate images in config. Make sure it's not set to 1. Also, don't over react. :)

lol. ok so it was set to 1. I set it back to 400 (not sure how it got to 1)

that seems to have fixed the intermediate picture thing...All though I tried to do all albums at once and it generated a 500 error so im doing them 1 by 1
Logged

zikronix

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Cant recreate intermediate photos
« Reply #8 on: July 10, 2008, 07:34:56 pm »

looks liek that may have fixed it... :)

thanks guys. you guys are great i was really pulling my hair out.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cant recreate intermediate photos
« Reply #9 on: July 11, 2008, 07:09:49 am »

If this was set to "1", you have been hacked. Read up http://forum.coppermine-gallery.net/index.php/topic,51927.0.html and do as suggested there.
Logged

zikronix

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: [Solved]: Cant recreate intermediate photos
« Reply #10 on: July 11, 2008, 03:44:53 pm »

I was hacked a few months back. I did a full reinstall at that point and time and all subsequent upgrades and all that jazz. This was the only thing that didn't work after the hack. But it works now.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Cant recreate intermediate photos
« Reply #11 on: July 11, 2008, 06:05:22 pm »

If you have done a re-install, then it possibly can't have been set to "1", so you better ask yourself what you did wrong. Read the thread I refered to. I mean it.
Logged

zikronix

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: [Solved]: Cant recreate intermediate photos
« Reply #12 on: July 11, 2008, 08:36:49 pm »

Well i replaced and over wrote all files back then with .17 then subsequently .18 and ran the scripts...I was one of the first sites that were hacked with that hack and they hit all three of my galleries.

I scanned the database for admin accounts etc, and it looked good. all the other galleries worked but this one...if im not mistaken would not that particular option be a database setting.

So if the data base was never wiped then the option would have stayed present...based off logs there have been no attempts since that time so long ago.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Cant recreate intermediate photos
« Reply #13 on: July 12, 2008, 03:53:08 pm »

What you describe is not a fresh install, but an upgrade. It may or may not sanitize your hacked gallery. The thread I refered to explains what you need to do to fully sanitize your galleries and what type of backdoors the attackers might have left that might cause your gallery to get re-infected over and over. I already adviced you twice to read the hack sanitization thread. That should be all you need to know. It's up to you now if you heed my advice and read the thread you stubbornly appear to ignore. I'm not ready to argue with you on the need of a full sanitization - after all, it's your gallery that acts "funny", not mine. However, this is beyond the scope of the original question posted in this thread, so I'm locking this thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.