Skip to main content
Participant
April 30, 2006
Answered

I have a problem with missing calendar in when I brought my files over to production.

  • April 30, 2006
  • 1 reply
  • 475 views
I have a problem with missing calendar in when I brought my files over to production.

Hi, I have brought my files to production server by dumping my folder from testing to production. I brought the all my folder there.

It is a java script calendar .

In testing server it works fine.

The calendar written in java script is there. But when I managed to bring it in to production the calendar is gone.

I am still new to this, infact it is a quick fixed. I got the pieces together.


Any tips on how I can get it running the same way from testing to production server.

I appreciate your help.
Thank you
This topic has been closed for replies.
Correct answer paross1
Thanks

Do I copy this.
Do I look for this in the test server and copy it to production server.



are these where they say they are on your production server?
/shared/scripts/calendar_adv/calendar_stripped.js
/shared/scripts/calendar_adv/lang/calendar-en.js
/shared/scripts/calendar_adv/calendar-setup_stripped.js

Don’t know? How do I know? If it is not what do I do?



relative to your web root from test server to production server?
Ok, I am sorry but I am confused on this.
So search for this in production and copy it to production?

Where do I place it?

as /shared/ will be relative to your web root location, so if it isn't at web root, the files won't be found. ?
how do I resolve this one?

How do I know where to put it in production?

thanks again
Text

Sounds like you need to get more acquainted with how ColdFusion is installed on your production system. You might find web root under some directory like /inetpub/wwwroot/ and is usually directly above where you ColdFusion templates are located. Can't speculate as to what "drive" it would be on, as you didn't say if you are on UNIX, Windows, MAC, or Linux, etc., not that that would help much. Who configured your server, or at least, who is the administrator or web master? I would have a talk with him/her.

Phil

1 reply

Inspiring
April 30, 2006
Check the links as to where you are calling the javascript from. It sounds like the location of where it is kept has changed. Try putting the javascript coded directly into your page:
<script language="JavaScript" type="text/JavaScript">
PUT YOUR SCRIPT HERE
</script>
Participant
May 1, 2006
OF MY 3 FILES THERE IS 2 THAT CONTAINS JAVASCRIPT.

THE INDEX PAGE HAS:
<!-- main calendar program -->
<script type="text/javascript" src="/shared/scripts/calendar_adv/calendar_stripped.js"></script>


PAGE THAT CONTAINS THE LOGIC HAVE:

<!-- main calendar program -->
<script type="text/javascript" src="/shared/scripts/calendar_adv/calendar_stripped.js"></script>

<!-- language for the calendar -->
<script type="text/javascript" src="/shared/scripts/calendar_adv/lang/calendar-en.js"></script>

<!-- Calendar.setup helper function-->
<script type="text/javascript" src="/shared/scripts/calendar_adv/calendar-setup_stripped.js"></script>


<script type="text/javascript">


WHAT DO I REPLACE?
THANKS

Participating Frequently
May 1, 2006
You should have copied the directory /shared/scripts/calendar_adv/ relative to your web root from your test server to your production server. In other words, are these where they say they are on your procuction server?

/shared/scripts/calendar_adv/calendar_stripped.js
/shared/scripts/calendar_adv/lang/calendar-en.js
/shared/scripts/calendar_adv/calendar-setup_stripped.js

Be careful, as /shared/ will be relative to your web root location, so if it isn't at web root, the files won't be found.

Phil