Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

error messages don't print

Home: Plugins Support - Paid: Add_Spider:

 

 


jeromeo
Novice

Karma: -0 / +0

Sep 25, 2004, 2:23 AM

Post #1 of 6 (2295 views)
Shortcut

Send jeromeo a wink
error messages don't print Can't Post

Hello Smile

For some reason the error messages don't print.

And when the URL is correct, the url doesn't print on the second form

any idea of what the problem could be?

thx

url: of the form http://www.originegay.com/liens/cb/add.cgi


Andy
Enthusiast

Karma: -1 / +7


Sep 25, 2004, 3:51 AM

Post #2 of 6 (2294 views)
Shortcut

Send Andy a wink
Re: [jeromeo] error messages don't print [In reply to] Can't Post

Mmm.. you're right :(

You need to add this into your template (add_spider.html);


Code
<%if error%>There was an error: <%error%><%endif%>


Should show the error message then :)

Cheers
Andy
Programmer/Designer/LinksSQL Freak Cool

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



carminejg3
Novice

Karma: -0 / +0

Dec 2, 2004, 1:21 PM

Post #3 of 6 (1164 views)
Shortcut

Send carminejg3 a wink
Re: [Andy] error messages don't print [In reply to] Can't Post

Hi Andy,

I get the same problem. When you spider a link it doesn't carry the URL to the second form? Could it be since the first page the value is "Spider_Url" and the second page is "Url"


pugdog
User

Karma: -0 / +1

Dec 2, 2004, 3:17 PM

Post #4 of 6 (1161 views)
Shortcut

Send pugdog a wink
Re: [carminejg3] error messages don't print [In reply to] Can't Post

Hi,

I just installed what I think is the current version on one site, under 2.2.0 (not 2.1.0).

You need to edit your "include_form.html" file, so that right above the

<input name="URL" value="<%if URL%><%URL%><%endif%>" size="50">

(that line may vary slightly depending on your site, etc.)

You add:

<%if Spider_URL%>
<%set URL = $Spider_URL%>
<%endif%>



BTW: I am getting error messages, so that was fixed up.

Seems to be working for me. This is the 2.2.0 fixed up version I installed on a 2.1.2 site.

What that will do, is *if* a Spider_URL is set, it will override the passed in URL, or set URL to be the spider URL. If no Spider_URL is passed in, it will function in it's default situation.


(This post was edited by pugdog on Dec 2, 2004, 3:18 PM)


Andy
Enthusiast

Karma: -1 / +7


Dec 2, 2004, 11:27 PM

Post #5 of 6 (1159 views)
Shortcut

Send Andy a wink
Re: [carminejg3] error messages don't print [In reply to] Can't Post

Hi,

Pugdog is correct. In the URL field, you need something like;

<%if Spider_URL%>value="<%Spider_URL%>"<%elsif URL%>value="<%URL%>"<%endif%>

Hope that helps Smile

Cheers
Andy
Programmer/Designer/LinksSQL Freak Cool

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


carminejg3
Novice

Karma: -0 / +0

Dec 3, 2004, 6:59 AM

Post #6 of 6 (1156 views)
Shortcut

Send carminejg3 a wink
Re: [Andy] error messages don't print [In reply to] Can't Post

Works great thanks.

I also added this

<input name="URL" <%if Spider_URL%>value="<%Spider_URL%>"<%elsif URL%>value="<%URL%>" <%else%>value="http://www."<%endif%> size="50">

so that if they skip it then could have a preformat url already.

 
 
 


Search for (options) Powered by Gossamer Forum v.1.2.4