[SOLVED] Broken Images

Raxinii

Joined: 2007-07-05
Posts: 74
Posted: Wed, 2010-01-06 22:54

Link to Problem:
http://www.thexcrew.com/modules.php?name=gallery2&g2_itemId=2958&g2_navId=xda89db6a

Once you load it, you'll understand what I'm talking about.

For those of you who do not wish to load another persons website (understandable) here is what the problem is:

When i upload any NEW images (reinstalled the server) i have no problems. When i go to view them, i get a picture with a photograph ripped in half. (broken image). I've edited my php limit to allow up to 100mb (way over needed) and added a .htaccess file that lets it go as high as 24m of memory. Still does the same thing. Also tried REBUILDING (3x) my thumbnails.

Images work (when clicked all the way in)
Thumbnails do not
Album images do not (New images only!)

any ideas?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-01-07 05:25
Quote:
and added a .htaccess file that lets it go as high as 24m of memory

huh? 24M isn't going to be enough for large operations.

Post the rest of your system information:
FAQ: What information is required when I ask for help in the forums?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Raxinii

Joined: 2007-07-05
Posts: 74
Posted: Thu, 2010-01-07 19:17
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-01-07 19:26

Ah, so 256M

Try uninstalling GD and NetPBM and only using ImageMagick. See Site Admin > Plugins

Then go to Site Admin > ImageMagick and click Test Settings.

upload_max_filesize is set to 2M, so I hope the images aren't larger than that. Though they shouldn't be showing at all if that were the case.

upload_tmp_dir is set to nothing, try setting that to /tmp Though again they probably shouldn't be showing if that were the problem.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Raxinii

Joined: 2007-07-05
Posts: 74
Posted: Thu, 2010-01-07 19:52

That didn't fix it...

and now i get an error at the top of the page:

cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 5446 open files (-n) 10893 virtual mem size (kbytes, -v) unlimited sbsize (bytes, -b) unlimited sbsize (bytes, -b) unlimited

am no rocket scientist, but i think this is because i have 400 people surfing my site at the same time... lol

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-01-07 20:07

Nothing I suggested would have done that.

400? I see Total Online: 4 :)

And now your memory limit is set to 24M and your upload_tmp_dir still is set to nothing. Can you stop vibrating on changing the settings or increase your Adderall dosage? :)

1) Change the memory limit to at least 32M (or more)

2) set upload_tmp_dir to /tmp

2.1) How big are your images

3) Uninstall GD (Site Admin > Settings)

4) Uninstall NetPBM (Site Admin > Settings)

5) Install and configure ImageMagick

5.1) Then go to Site Admin > ImageMagick and click Test Settings. What does it say?

You never answered this:
FAQ: What information is required when I ask for help in the forums?

But I see you're using 2.2.4 which is ancient. I suggest getting upgraded to 2.3.1
FAQ: How to upgrade Gallery2?

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Raxinii

Joined: 2007-07-05
Posts: 74
Posted: Thu, 2010-01-07 23:17

lol, currently editing the settings to get it to work. also reinstalling ImageMagic to see if it was corrupted. It worked fine before, but then my HDD that had my OS on it died.

After the reinstall, (and a newer version of PHP and MySQL) these errors began to occur. other than that, there is no change to the Hardware.

Running Gallery2, patch 2.2.3 (modified to work with phpNuke V8.0)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2010-01-08 00:42

Sorry I can't help much with the config, I don't know FreeBSD. In Debian, I simply apt-get install'd my way through Apache, MySQL, PHP, ImageMagick etc and it all just works.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Raxinii

Joined: 2007-07-05
Posts: 74
Posted: Fri, 2010-01-08 04:32

well i got it working, it was a problem with an old version of imagemagick.

Have a new problem now, maybe you can help with this one. when i load gallery (and only gallery) i get this:

cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 5446 open files (-n) 10893 virtual mem size (kbytes, -v) unlimited sbsize (bytes, -b) unlimited sbsize (bytes, -b) unlimited

at the top of the screen when loading anything to do with gallery. my forums, nothing, my news, nothing... just gallery. any ideas? debug is turned off btw.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2010-01-08 16:34
Quote:
Have a new problem now, maybe you can help with this one. when i load gallery (and only gallery) i get this:

No clue, never seen that before and I don't know what you changed. Make sure that the Gallery files are intact:
FAQ: How can I make sure that my installation files are all intact?

Maybe that will lead to what file(s) you've modified.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Raxinii

Joined: 2007-07-05
Posts: 74
Posted: Sun, 2010-01-10 11:41

Just updated G2 to the latest version. still giving me errors. Although, when i got to main.php instead of modules.php?name=gallery2, it doesn't give me the error

This is a nuked version of gallery2, so this may be an issue... will try my best to get in touch with the nuked-gallery team

 
Raxinii

Joined: 2007-07-05
Posts: 74
Posted: Sun, 2010-01-10 12:46

UPDATE!

got it working now, was a bad file for nuked-gallery. Thanks for all the help!

(Solved)