Go Shopping Cart Site Map User Panel and Admin English Home

Home > Easypano Forum    Easypano Forum has been upgraded.

Easypano Forum


Welcome Guest Register Login Search The Forum Display List of Forum Members
 All Forums
  PTViewer Scripter
 
Subject Topic: Code base Post Reply Post New Topic
Message posted by sparrowhawk360 on January-03-2006 at 5:10pm
View sparrowhawk360's Profile Profile   Search for other posts by sparrowhawk360 Search   Quote sparrowhawk360 Quote   Send Private Message Send Msg  
sparrowhawk360
Avatar
Standard Member
Standard Member
 
July-20-2005
26 Posts

My applets have suddenly started to fail and I can't figure out why.

The wierd thing is they all work on my local machine but when uploaded to the server the won't work.

This works
http://www.the360co.com/virtual_tours_work/glaunsharoon/twobed_livingroom/livingroom.htm

But if I call that panorama from a html page not within the root folder of the JAR file etc it fails to load.
http://www.the360co.com/virtual_tours_gallery/glaunsharoon.htm

I've checked the code base path and it's fine.

I'd be grateful for any help.

Many thanks

 


Message posted by smooth on January-03-2006 at 11:53pm
View smooth's Profile Profile   Search for other posts by smooth Search   Visit smooth's Homepage www   Quote smooth Quote   Send Private Message Send Msg  
smooth
Forum Moderator
Forum Moderator
Australia
November-23-2002
5401 Posts

Suddenly?

You have failed to upload (or upload to the correct directory)

http://www.the360co.com/virtual_tours_gallery/glaunsharoon.htm

http://www.the360co.com/virtual_tours_gallery/ is missing from it's dirctory

  • ptviewer.jar
  • test1.jpg
  • wait.gif

and I have to ask why you have a new pop up window for each pano? Doesn't make sense. Your code base is also strange you didn't use PTViewer Scripter to produce that code. What image did you think you where going to show in the applet as default?

Regards, Smooth

 


Message posted by sparrowhawk360 on January-05-2006 at 5:20pm
View sparrowhawk360's Profile Profile   Search for other posts by sparrowhawk360 Search   Quote sparrowhawk360 Quote   Send Private Message Send Msg  
sparrowhawk360
Avatar
Standard Member
Standard Member
 
July-20-2005
26 Posts
Thanks Smooth.

Leaving aside the seperate new window issue for the moment OK?

I want to explain my problem again more clearly.

All my Java - based panoramics are working on my local machine. Great!

It's when I uploadsome of the html pages to the server that certain panoramics stop working. All the pages that DON'T work sit outside the root folder of the JAR file and use the CODEBASE to locate the JARs...

Specific examples are below.

.........................................................................................

All the Panoramics work when the html page is within the same directory as the JAR files. No probs there.
Example URL which works beautifully
http://www.the360co.com/virtual_tours_work/glaunsharoon/twobed_livingroom/livingroom.htm

.........................................................................................

The page below however sits on a different folder level and thus calls the panoramic in the first example by using the codebase code to locate all the JAR files etc

http://www.the360co.com/virtual_tours_gallery/glaunsharoon.htm

codebase="../virtual_tours_work/glaunsharoon/twobed_livingroom/"

.........................................................................................

Why is this not working on the server when it is working on the local machine? The path is correct

It's really frustrating me at this stage.
Many thanks
P

Message posted by smooth on January-05-2006 at 11:30pm
View smooth's Profile Profile   Search for other posts by smooth Search   Visit smooth's Homepage www   Quote smooth Quote   Send Private Message Send Msg  
smooth
Forum Moderator
Forum Moderator
Australia
November-23-2002
5401 Posts

That is NOT how you set the path. If you want to use the single .jar file then you set it's path not the codebase (I'm not 100% sure where you even got that from)?

It would be ptviewer.jar = "../virtual_tours_work/glaunsharoon/twobed_livingroom/" and this is only relevant to the .jar file not the pano image or the loading and wait images. These paths would need to be set in the PARAMETERS

Absolute paths are recommended, Not Relative paths.

Your  http://www.the360co.com/virtual_tours_work/glaunsharoon/twobed_livingroom/livingroom.htm works correctly because all the relative files are in the correct place and you haven't set relative paths in the wrong place.

Regards, Smooth


Message posted by sparrowhawk360 on January-24-2006 at 5:31am
View sparrowhawk360's Profile Profile   Search for other posts by sparrowhawk360 Search   Quote sparrowhawk360 Quote   Send Private Message Send Msg  
sparrowhawk360
Avatar
Standard Member
Standard Member
 
July-20-2005
26 Posts
Thanks - got it sorted. We're hoping to move over to Quicktime for all our virtual tours soon.

If you wish to post a reply to this thread you must first Login
If you are not already registered you must first register

Forum Jump Post Reply Post New Topic
Printer Friendly Version Printable version

Powered by: - Web Wiz Guide Discussion Forums