vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Image Gallery v1.0 (https://vborg.vbsupport.ru/showthread.php?t=21602)

Zamtil 07-13-2001 10:35 PM

It won't try to remake thumbnails that are already in the database. Did you run gallerymakethumbs.php with the --flatten option enabled originally?

Edit your functions.php and comment out the line:

unlink($thumbname);

in function makeThumb. Then try posting a new message with an image attachment. Go to your /tmp directory and see if a thumb_{random stuff} file was created and is greater then 0 bytes.

Also, are you running in safemode?

RobAC 07-13-2001 10:38 PM

Originally....no.

I'm not running in safe mode. I'll try and post an image...

RobAC 07-13-2001 10:39 PM

I am finding a discrepancy in the database. Record #31 is missing which is the record it's trying to make out of a text file attachement somewhere in the forums.

mojotim 07-13-2001 10:41 PM

bingo!
I posted an image

Zamtil 07-13-2001 10:42 PM

Quote:

Originally posted by RobAC
I am finding a discrepancy in the database. Record #31 is missing which is the record it's trying to make out of a text file attachement somewhere in the forums.
Yeah, the way things work, gallerymakethumb.php just runs through ALL attachments, writes them to disk, and then calls function makeThumb on it. function makeThumb does the check to see if the file is a valid GIF/JPG/PNG, whereas gallerymakethumb.php prints out the processing message. It's nothing to worry about, just a silly bug because I wrote gallerymakethumb.php in 5 minutes. =)

RobAC 07-13-2001 10:42 PM

I wonder if I should just delete everything and try running the install script again???

RobAC 07-13-2001 10:43 PM

Quote:

Originally posted by mojotim
bingo!
I posted an image

Hmmmm.....ok.....cool....so it works with new images posted. ROFL :L What does that mean? :)

Zamtil 07-13-2001 10:45 PM

Quote:

Originally posted by RobAC


Hmmmm.....ok.....cool....so it works with new images posted. ROFL :L What does that mean? :)

Hm, I'm still not showing any images in the gallery.

mojotim 07-13-2001 10:48 PM

I posted it in the test forum

try this:
http://corvetteactioncenter.com/foru...php?forumid=41

RobAC 07-13-2001 10:59 PM

I'm curious....so....if new images that are posted show up in their respective forum ids, does that mean that ImageMagick is working?


All times are GMT. The time now is 08:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01182 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete