Gossamer Forum
Skip to Content


Quote Reply
That reminds me.
Im putting the thumbnailer (woo hoo) onto my dev box.

Get this error ob building of links;

A fatal error has occured:
Can't call method "File_URL" on an undefined value at /www/genuineswingers.com/cgi-bin/gallery/admin/Plugins/Thumb_Images.pm line 414.


Please enable debugging in setup for more details.


Any idea what it cant do?

Are you still in spain or did they allow you back? Wink

Cat xxx
Quote Reply
Re: [catlovette] That reminds me. In reply to
When did this error occur? What were you trying to do?
Quote Reply
Re: [catlovette] That reminds me. In reply to
Where you have the Plugins::Thumb_Images::ThumbURL() do you have it quoted with 'if' statements? i.e;


Code
<%if ImageField%> 
... code for showing image
<%endif%>


If you don't surround it with this in the templates, then this error has a habit of popping up for links that don't have images assigned to them. Its a bug I'm hoping to work on getting fixed in the next version. Just something to do with GT::SQL::File again :(


Quote
Are you still in spain or did they allow you back?


I'm back :(
Andy
Programmer/Designer/LinksSQL Freak Cool

http://www.ultranerds.com
http://www.imagesql.com
Quote Reply
Re: [Andy] That reminds me. In reply to
Can you give me an example of what you mean?
Quote Reply
Re: [catlovette] That reminds me. In reply to
Hi. Something like this;


Code
<%if ImageField%> 
<%Plugins::Thumb_Images::ThumbFullURL($ID,'ImageField')%>
<%endif%>


Cheers
Andy
Programmer/Designer/LinksSQL Freak Cool

http://www.ultranerds.com
http://www.imagesql.com
Quote Reply
Re: [Andy] That reminds me. In reply to
This bug has now been fixed up (just saw this thread, so I thought I would post a little note).

Cheers
Andy
Programmer/Designer/LinksSQL Freak Cool

http://www.ultranerds.com
http://www.imagesql.com