Credit Cards - Mortgage Calculator - Adverse Credit Remortgage - Mobile Phones - Meeting Rooms

PDA

View Full Version : Display thumbnail from a mysql database


minute
Mar 2nd 2007, 7:33 pm
Hello, I have this really weird problem on 1 server only.

I have made a script that outputs database items with thumbnails.

The URLs are being pulled from the database ok and all other variables are working but:

The thumbnail image path has img=../images/manually edit.jpg

"manually edit" is the value stored in my array for the variable $thumb - it should be something like dogpic.jpg where dogpic is a picture of a dog and is the thumbnail name.

I don't want to post the whole thing here, but anyone ever seen anything like this before. I have no idea where the words manually edit are coming from.

Is it apache, mysql, php, the browser?????

SilkySmooth
Mar 2nd 2007, 9:04 pm
Wow, that is umm very strange and no I have never seen it before. If you want you can PM me the code and I will take a look over it to see if I can find any problems.

minute
Mar 2nd 2007, 9:09 pm
I know it's weird as hell. It is only happening on 1 guys server. I have the script installed on about 7 other peoples sites with no problems like this. It thought it may be something to do with his database, maybe he modded the structure but he says not.

SilkySmooth
Mar 2nd 2007, 9:13 pm
Maybe there is some difference in the PHP settings, have you tried comparing a php_info() call on the server that is not working against one of the servers where the script is working?

minute
Mar 2nd 2007, 9:18 pm
no, I thought about it though and then forgot. thanks for reminding me.

but I don't know what setting in the php would be making the difference.

the thumbnail name is really long usually, kind of like.

asd23furnq23rnsdfasdasdf.flv.small.jpg - wonder if that could have anything to do with it.

minute
Mar 2nd 2007, 10:43 pm
its ok, I got it working bypassing the need to use this variable - thanks for your help. Guess i'll never know.