Gossamer Forum
Home : Products : Gossamer Links : Discussions :

cannot add links

Quote Reply
cannot add links
Two in a row today...sorry!
I've been tediously changing my site to a new location and finally got most everything complete now, except I can't use the add.cgi for some reason. I get the following error:


A fatal error has occured:
Can't call method "File_RelativePath" on an undefined value at (eval 14) line 4.
Please enable debugging in setup for more details.


I can add through the administrative panel, just not through the web.
Thanks for ony tips...



Perl Hopefull
Quote Reply
Re: [stilton] cannot add links In reply to
Hi.

You probably need to do a couple of things;

1) Change the file_save_url and file_save_path for your image fields. The chances are, that they are pointing to an OLD path, which will cause the error above.

2) Update your lsql_Links_Files table, so that File_Directory and File_URL have the new paths.

Once that is done, it *should* all work fine Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!