Amberjack Alert no matching page in ajTourDef found

midkemia - January 28, 2009 - 23:45
Project:Site tours with Amberjack
Version:6.x-3.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

This may be down to a lack of understanding of how to configure but basically, I have just installed created a short tour but when i try and run it i get the the warning "Amberjack Alert no matching page in ajTourDef found"

I also get a greyed screen and white box, which i assume is where the tour will be located
please advise as this looks good and i would like to test it on my site

#1

stefano73 - January 29, 2009 - 23:25

Can you try the latest 6-x recommended release? http://drupal.org/node/366429

#2

midkemia - January 30, 2009 - 00:22

Installed the latest and had the same results

A thought I am using on my testbed which is located at

http://testdomain.mydomain.com

so it is in a subdomain, Could that be the issue

The url for a tour when the tour is selected (and screen greyed) is

http://testdomain.mydomain.com/mypath1/mypath2?tourId=2&skinId=black_beauty

with ?tourId=2&skinId=black_beauty

being appended

I can access the list of tours, and edit them without any problems

#3

stefano73 - January 30, 2009 - 00:47

Can you copy and paste here a couple rows of the tour HTML code in the page? Scroll down the source code of your page, It's located in the page footer.

#4

midkemia - January 30, 2009 - 10:24

I think this is the bit your looking for

<script type="text/javascript">
<!--//--><![CDATA[//><!--

Amberjack.textOf = "of";
Amberjack.textClose = "Close";
Amberjack.prevButton = "Previous";
Amberjack.nextButton = "Next";
Amberjack.onCloseClickStay = false;
Amberjack.doCoverBody = true;
Amberjack.bodyCoverCloseOnClick = true;
Amberjack.BASE_URL = "/sites/all/modules/site_tour/lib/";
//--><!]]>
</script>
<script type="text/javascript" defer="defer">
<!--//--><![CDATA[//><!--
$(document).ready(function() { Amberjack.open(); });
//--><!]]>
</script>

#5

midkemia - January 30, 2009 - 10:34

Cause identified

I had been putting the complete URL instead of the bit after www.mydomain.com/

ie i was putting

www.mydomain.com/node/12568

when i should have put

node/12568

#6

stefano73 - January 30, 2009 - 11:51

Yes, the page url must be a relative url, I'm going to write this in the description of the form element.
Thanks for your feedback.

 
 

Drupal is a registered trademark of Dries Buytaert.