Log in

View Full Version : GIFs not working?


PTGigi
01-29-2011, 12:15 AM
Okay, so I had about 250 images to upload and I was not in the mood to individually upload each one via the Admin CP. So using my FTP client I uploaded all of these images to their correct folders (PNGs to the PNG folder and GIFs to the GIF folder). Later I went back through and made entries for them in the prefix_filesmap table.

Now I'm trying to code a PokeDex which is going 100% according to plan excluding one thing, my GIF images do not show. Now I am not using the 'getimage' function, I am making a link via a variable $image1 I defined from the MySQL database table prefix_pokedex. Now I know that is not the problem because everything else displays fine. My PNG image works but my two GIFs are not.

So I tried variations of this filepath:
mm2plus.com/picuploads/gif/MewtwoCD.gif
http://www.mm2plus.com/picuploads/gif/MewtwoCD.gif
/picuploads/gif/MewtwoCD.gif

etc...

And none work. Finally I just entered the image url into my address bar and got this:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache Server at mm2plus.com Port 80

So yeah...Anyone know why my GIFs are failing me? O.o

EDIT: My folder permissions are set to 777 just fyi (I just checked)

fadillzzz
01-29-2011, 12:37 AM
This is probably caused by the .htaccess file
try renaming it to something else to see if that really is the problem and then rename it back to .htaccess

PTGigi
01-29-2011, 12:46 AM
Changed the name, tried to view the image, and it still does not work :littlecfrown:

Hm, this is very odd. D:

EDIT: Scratch that, it does work. O.o Hm... Should I leave the htaccess with an alt name or change it back?

fadillzzz
01-29-2011, 12:48 AM
Have you tried uploading the images to another folder? (e.g /pokedex/gif/)

PTGigi
01-29-2011, 12:54 AM
I've uploaded other gifs to other folders and they work fine (ie http://mm2plus.com/templates/icons/up.gif and http://mm2plus.com/templates/icons/down.gif to the /templates/icon/ folder)

Hm...weird...Just tried again and .htaccess does not work but .htaccessNOM does O.o Might just have to leave the NOM there, will that cause problems or should it not?

fadillzzz
01-29-2011, 01:14 AM
You mean renaming the .htaccess file works?
AFAIK, it shouldn't cause any problem if you're not using the alternate BB codes.

PTGigi
01-29-2011, 01:17 AM
Yes, the renaming worked. And no, I do not use alternate BB codes. :3 Yay! No more issues and my PokeDex is now done X3

fadillzzz
01-29-2011, 01:20 AM
Glad to hear that, btw the mewtwocd.gif made me lol

PTGigi
01-29-2011, 01:27 AM
Thank you! (double, lol XD) I made that awhile ago and figured it could do as a Promo Adopt XD The alt version is better though:
http://www.mm2plus.com/picuploads/gif/MewtwoCDa.gifRAINBOW STARS 8D This was when I discovered the CaramellDansen XD (gotta fix the animation though...only one major flaw which was overlooked when I made it X3)

Hall of Famer
01-29-2011, 12:12 PM
lol thats indeed a lovely mewtwo. ^^

So did you fix this problem already?

PTGigi
01-29-2011, 12:15 PM
Yeah it's fixed now :usedusedused: And thank you X3

Hall of Famer
01-29-2011, 12:18 PM
You are very welcome, glad it works. ^^