View Full Version : Searching does not show site images
murf
05-Jan-2003, 10:09 PM
Pls go to :
www.thefreemason.com
and try a search from this page (top of page)
the search script does not show the base ref correctly, which in turn does not allow the page to show the images etc. this also happens sometimes when going to the basket page
viewing the source i can see why but cannot correct it
<BASE HREF="http://www.thefreemason.com/www.thefreemason.com/">
Should read
<BASE HREF="http://www.thefreemason.com/">
Any ideas how to sort this please
ALSO
In the checkout, just above the company info etc this variable is showing in the HTML page
NETQUOTEVAR:SHIPANDHANDLEINFO
Any ideas ?
Regards
NormanRouxel
06-Jan-2003, 12:08 AM
Check your Act_Primary.html and see if you've accidentally altered the following line (it's near the top):-
<Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
Above is what it should look like. I suspect that you've got a space between the BASE and HREF bits.
Norman
murf
06-Jan-2003, 03:58 PM
Nope........all is fine in the templates as i can see
mmmmmmm..............it's a bugger, this one !
NormanRouxel
06-Jan-2003, 05:28 PM
Might be an idea to let us see your network settings. Easiest way to do this is to go to Advanced / Network Setup / Export. Make a text file and edit out your ftp login and password, then paste that text into this forum.
Norman
murf
06-Jan-2003, 07:17 PM
Hi Norman
Heres the setup:
HTTPPROXYMODE 0
HTTPPROXYADDRESS
HTTPPROXYPORT 80
HTTPPROXYUSER
HTTPPROXYPASSWORD
FTPPROXYMODE 0
FTPPROXYADDRESS
FTPPROXYPORT 21
FTPPROXYUSER
FTPPROXYPASSWORD
SCRIPTID 3333
SCRIPTEXT .pl
SMTPHOST smtp.thefreemason.com
WEBSITEURL http://www.thefreemason.com/
IGNOREPASSIVEERRORS true
PATHTOPERL /usr/bin/perl
CATALOGURL http://www.thefreemason.com/
CGIBINURL http://www.thefreemason.com/cgi-bin/
PATHFROMCGITOCATALOG ../acatalog/
CODEBASE ./
FTPHOST thefreemason.com
FTPUSERNAME (hidden)
FTPPASSWORD (hidden)
PATHTOCGIBIN /thefreemason/www/cgi-bin/
USEPASSIVEFTP true
FTPPATHFROMCGITOCATALOG /thefreemason/www/acatalog/
It seems that it it is an intermittant problem, and appears to go wrong if you go to the home page and without going "into" the catalog pages, the visitor would do a search from this home page. The base ref doesnt seem to register with the pages.
Regards
mike
NormanRouxel
08-Jan-2003, 12:34 AM
First thing that looks wierd is your
CATALOGURL http://www.thefreemason.com/
This usually ends in acatalog/
e.g.
CATALOGURL http://www.thefreemason.com/acatalog/
try that and see what happens.
Norman.
garyhay
08-Jan-2003, 08:50 AM
I think Chris Dicken answered this a couple of days ago. It was something to do with the brouchure home page being in the directory above acatalog
murf
08-Jan-2003, 03:26 PM
exactly the same error norman......
this should have no bearing, as they are both html pages, although one is above the acatalog folder in the site root. (in this case as the search form is processig the same info, just from different pages)
seems that the form action tag should have a ref, i.e base_path=../acatalog or something similar ????
regards
mike
NormanRouxel
08-Jan-2003, 04:58 PM
The BASE HREF tag is created on the fly by the scripts which create it from the Actinic:BASEHREF tag. They seem to misbehaving.
Actinic creates a file "results.html" that formats the search results list. Here's the start of it:-
<TITLE> www.thefreemason.com Search Results</TITLE><Actinic:BASEHREF VALUE="http://www.thefreemason.com/"/><META NAME="ACTINICTITLE" CONTENT="Search Results">........
The Actinic:BASEHREF tag above looks to be OK.
When a search list is created the file, "results.html" above, is processed by the scripts to format and display the list of matches.
In these scripts and specifically in ActinicPXML.pm the subroutine BaseHrefTagHandler should create the BASE HREF tag with the value shown above.
However the displayed results page contains:-
<TITLE> www.thefreemason.com Search Results</TITLE><BASE HREF="http://www.thefreemason.com/www.thefreemason.com/"><META NAME="ACTINICTITLE" CONTENT="Search Results">........
Which is clearly wrong as the value is duplicated.
Also I note in your network settings that your script ID number is 3333 whereas the files on your site refer to 2222. This may be because you've altered them since posting your network settings.
Anyway I don't think I can help any further on this one. You may have to ask Actinic for this one. My notes above may save them some time.
Norman
murf
09-Jan-2003, 03:45 PM
Problem fixed
CATALOGURL http://www.thefreemason.com/
is incorrect in networksettings
should be
CATALOGURL http://www.thefreemason.com/acatalog/
as this is the catalog location (folder) and not the location of the site
thanks for your help all !
mike
NormanRouxel
09-Jan-2003, 04:08 PM
That's what I said about 4 items up!:)
Norman
murf
09-Jan-2003, 04:15 PM
:D
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.