Works perfect locally, but not on server

The page:
http://www.yale.edu/faith/rc-fwl2.htm
Haven't tested it on the Windows side, but on the Mac, this
file's accordion behaves perfectly on my Mac when testing in
Dreamweaver with both Safari and Firefox. But when I move the file
and the relevant libraries to the server, the accordion doesn't
work at all: all the sections are open and frozen in position.
It would seem as if the file on the server doesn't see the
libraries, but I don't know why it doesn't. I uploaded them in
entirety. They're in the folder 'Spry_P1_6_10-01-07', at the top
level of the root folder, just as it's located locally.
Thank you for your help.
- Gary

Thanks, Don...
I figured out that the problem occurred because of security
restrictions to file access for the Yale University server. I
corrected the problem – made the CSS and JS files accessible
– by moving them into my CSS and script folders,
respectively. No problem getting access at this directory level. I
had been worried about what would happen if these files were moved
out of the framework directory, but it all works file now.

Similar Messages

  • Slideshow works on local but not remote server?

    Slideshow works on local but not remote server? The site is patriceclarkson.com.

    When I compare your:
    http://www.warpd.ca/SpryAssets/SpryWidget.js
    to this one:
    http://labs.adobe.com/technologies/spry/ui/includes/SpryWidget.js
    I do not see the same file. Try uploading the correct file and check again.
    Xav

  • cffeed caching works locally but not on server

    So I got my new Hostek account set up (woohoo!) and I've started uploading some basic files so I can do thinks like validate my code and make sure everything's working.  One thing that does not work (but does locally) is my news feed caching.
    Pulling in two RSS feeds was seriously slowing down my index page loading, so I stole a trick from Ray Camden on caching the feeds.  It works perfectly on my dev machine at home, but doesn't work on my hosted account.
    Here's the exact code being used:
    <cfset feedurl = "http://velonews.competitor.com/feed">
    <cfset cacheTime = #createtimespan(1,0,0,0)#>
    <cfif not structKeyExists(application,"rsscache") or dateDiff("n", application.rsscache.created, now()) gt cacheTime>
        <cffeed source="#feedurl#" query="entries">
        <cfset application.rsscache = structNew()>
        <cfset application.rsscache.data = entries>
        <cfset application.rsscache.created = now()>
    </cfif>
    <ul>
    <cfloop query="#application.rsscache.data#" startrow="1" endrow="6">
    <cfoutput><li><a href="#rsslink#">#title#</a></li></cfoutput>
    </cfloop>
    </ul>
    I tried wrapping a try/catch around the top section (above the <ul>) and still got nothing for an error message.  The page just stops being rendered at that first <ul>.
    I'm not sure why it works locally but not on the web server.  Any ideas?

    Miraculously, I got it working.
    I changed this:
    <cfloop query="#application.rsscache.data#" startrow="1" endrow="6">
    <cfoutput><li><a href="#rsslink#">#title#</a></li></cfoutput>
    </cfloop>
    To this:
    <cfoutput maxrows="6" query="application.rsscache.data">
    <li><a href="#rsslink#">#title#</a></li>
    </cfoutput>
    And bingo!  It worked. Perhaps it's an idiosyncrasy between CF9 and CF10.

  • Swf works locally, but not on server

    I have an issue with an xml-driven swf file. It plays fine when I test the site locally, but not when it's uploaded to a server. Here is a link to the page. There are many posts on this and other forums describing the same problem, though I can't find the right solution. The only thing it has convinced me of, is that it is probably a pathing problem. I purchased the file online, and instead of one swf and one xml there are about ten of each to make it work. In addition to this there are about 40 .as files. (all this to make it "easier" to customize).  Since I plan to use this banner rotator on multiple pages, it will be very unconvenient to upload all these files for every page I make. I checked with support for this product, and was told I could make a flash directory, only duplicating the xml-files for each new page and linking the xml back to the swf-files. Otherwise the support answer was very short and unhelpful. I have renamed every path in the xmls so that it should be right. As I said, the file works locally, so I'm not sure what I am doing wrong.
    I have posted in adobe forums before, and I have alwas found helpful and kind responses.
    Thank you,
    Siri

    They're all uploaded to the server, it is also possible for me to dowload them from there. When i run the main swf file through flash player debugger, I get this message:
    Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/xml/abrMain.xml
              at com.sQrt121.utils::CustomLoader/configureLoader()
              at com.sQrt121.utils::CustomLoader()
              at com.sQrt121.utils::LoadJob/initJob()
              at com.sQrt121.utils::LoadJob()
              at com.sQrt121.utils::ContentLoader$/addJob()
              at AbrMain/init()
    So I guess it can't locate the xml folder (since it is not there), but I don't know how to change the path. I can change it in the xml, pointing to the swf, but how do I do it the other way?
    This is the main xml-file:
    <?xml version='1.0' encoding='UTF-8'?>
    <abrMain
              width                              = "300"
              height                              = "250"
              pauseOnOver                    = "off"
    >
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrcontent.swf"                                    xml = "xml/abrContent.xml"                                        config          = "xml/config.xml"/>
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrbuttonscolor.swf"                               xml = "xml/abrButtonsColor.xml"                                        config          = "xml/config.xml"/>
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrpreloadercircle.sw f"               xml = "xml/abrPreloaderCircle.xml"                              config          = "xml/config.xml"/>
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrpreloaderline.swf"                               xml = "xml/abrPreloaderLine.xml"                              config          = "xml/config.xml"/>
              <item          swf                    = "/Users/Siri/Documents/gullstolen/hjemmeside/flash/produkter/deploy/abrplaypause.swf"                               xml = "xml/abrPlayPause.xml"                                        config          = "xml/config.xml"/>
    </abrMain>
    the abrMain.xml tells the swf what files it shold use, and where to find them, but where do I tell the abrMain.swf to find the xml? Maybe this is an issue for product support instead, though they only answer short and cryptic.
    Murray *ACP* wrote:
    None of your SWF files are found in the location where the page's code places them.
    For example:
    <param name="movie" value="../../../flash/produkter/deploy/abrmain.swf" />
    Did you upload them?

  • Flash video works locally but not on server

    I am hoping that someone can help me solve this problem. I cannot seem to fix it. I have created a flash video and it works fine locally but doesn't when I upload it to the server. All I get is a white blank screen. I can access the Flash settings but the video doesn't display. I have checked all file paths, which are correct since everything is in the same folder. I have looked up other forums trying to find a solution but nothing has worked yet. Does anyone here have any idea on how to solve this problem?
    My operating system is Windows XP. I am using IE8 browser and my flash player is up to date. Any help would be appreciated. Thanks.

    Nevermind. I ended up solving the problem on my own. This old guide that I used before ended up helping me out. I will post the link here in case anyone else has the same problem.
    http://web.archive.org/web/20080723224615/http://www.adobe.com/devnet/flash/articles/flvpl ayback_behaviors_print.html

  • Purchase order tutorial works local but not on server

    Hello, I have the trial version of LC Designer ES and have been going through the tutorials which work fine locally. I need a PDF form to be populated by an XML file (just like the Purchase Order Tutorial) but located on my web server - so that anyone anywhere can open the form from their browser. I have changed the paths for the Schema and the XML but still no luck. All the files (PDF, XLS, XML) are on the root level of the site. Any thoughts on what I need to do??
    Thanks for any help.
    jim

    Jim,
    The primary consideration is the client type.
    If your users have Acrobat, then they can import/export the XML, make a direct connection to the database, call a Web Service sitting in front of the database, or call a server-side process to get the data, for example.
    If your users have Reader, then you are required to use LiveCycle Reader Extensions ES to rights-enable a PDF. A PDF can be assigned an import/export right, for example. When a user opens a PDF with import/export rights, Reader behaves like Acrobat. The most common use of Reader Extensions ES is to enable a PDF with local save so Reader clients can fill interactive PDF forms and save locally.
    Steve

  • Works on dev, but not production server

    I am building a site using LCCS which works on my laptop, which runs ColdFusion 9 and Apache. But it does not work on my production server, which is ColdFusion 8 and IIS. I have made the various configuration changes and I can successfully create a room via CF from the production server.
    But my Flex app does not seem to load properly on the production server. It is basically a video-conferencing app, so the swf should display the "Start My Camera" button, but it doesn't. It works perfectly on my laptop though.
    I realize I am using very different environments, but I don't know why that would affect anything for the simple Flex-generated swf, especially when I am dynamically creating the room via production.
    I am sure it is something simple, but am out of ideas. Any suggestions would be greatly appreciated.
    cheers,
    Steven

    It seems I figured out my problem (well, about this issue anyway).
    A while back, I un-installed .NET but then had to re-install it. In doing so, somehow IIS lost the ability to recognize .js files. It would return a 404 error whenever you tried to call any file with a .js extension. My hosting company did something to re-associate the file type with IIS. It seems I have the same problem with .swf files.
    fyi, I used Charles (a Firefox plugin) to diagnose this. I had assumed it was a permission issue. It never occurred to me to try to access my swf directly.

  • Applet working on local but not online

    my applet working on local machine fine
    but when i upload applet on my website
    and access by my machine only interface
    show and when i click the button of applet
    no result produce....
    thankx

    It is only possible if you missed something for code or codebase attribute of Applet tag, I mean values for these attributes are fine for your local machine but not with the server you are using.

  • Custom WordBreaker working locally but not on server

    Hi,
    We need to create a fulltext index on a column storing URL paths. So we need a WordBreaker which breaks URL paths according to our needs.
    I managed to create a custom WordBreaker based on the existing lrsample example from windows SDK. The dll is registered in Windows registry and the SQL server can see it and use it when building fulltext catalog.
    But this only works on my SQL server running locally on my PC. When I try to use the dll for word-breaking on our production server, the server can see the dll but it doesn't use the dll when building the fulltext catalog. I really don't understand why this
    is happening. Can be there any security setting which refuses to use external COM modules or something similar to this? I already spent 2 days on this and I'm lost.
    Thanks in advance for any help!!!
    Pavel

    Thanks for your quick response
    I tried what you said and I still had no avail...
    There is a style.css file in the root directory but for some reason you cant access it...
    I checked the file permissions of style.css and they are: 644
    Its really wierd - I dont understand why it isnt reading...
    Also regarding {www.care.cc} all of my clients websites are under the same web hosting service, so he set the default "404 page not found" redirects to {www.care.cc} which is their "Main Site" as such - I understand that this is bad practice but unfortunatley I have no control over these matters as I have limited access too my clients web hosting.
    Thanks again for the Help

  • Spry Widget Slideshow Basic works on local but not on remote server

    I have tried everything imaginable and I can't make this slideshow work from the remote server.  I get the massages:
    SpryPanelSet.js requires SpryWidget.js!
    SpryFadingPanels.js requires SpryPanelSet.js!
    SpryImageSlideShow.js requires SpryWidget.js!
    SpryPanAndZoomPlugin.js requires SpryImageSlideShow.js!
    Also the opening page has a preloader image that doesn't show up until the page is saved to my cache.
    Here is the link to my website:
    www.warpd.ca
    Sylvie

    When I compare your:
    http://www.warpd.ca/SpryAssets/SpryWidget.js
    to this one:
    http://labs.adobe.com/technologies/spry/ui/includes/SpryWidget.js
    I do not see the same file. Try uploading the correct file and check again.
    Xav

  • Embedded region in seeded application works locally but not on server.

    I embedded a region in seeded page and works fine if I test it from Jdev, so I put the files on server
    steps involved:
    imported the custom region to MDS, --was successfull
    zipped the class files under <jdev>\myclasses\mac\oracle\apps\ar\extrainfo\ and ftped (bin mode) it under $JAVA_TOP/mac/oracle/apps/ar/extrainfo/
    bounced apache
    get this error :
    ## Detail 0 ##
    java.lang.ClassNotFoundException: mac.oracle.apps.ar.extrainfo.server.MacxxHzExtraInfoAMImpl
         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:37)
    can someone assist ?
    Thanks

    place it under $JAVA_TOP/mac/oracle/apps/ar/extrainfo/server path
    --Prasanna                                                                                                                                                                                   

  • Script works on workstation but not on server?

    Hi,
    Have a simple little script I put together after googling for examples on how to determine if a file is opened and locked by another process.  I developed it on my Windows 7 Pro workstation and it works fine, however, when I copy it over to the server
    where I want it to run it never sees the file as locked even though I have it open in a text editor.  What gives?
    The server is a Windows Server 2008R2 with File Services role installed.  Here's the script:
    $path
    =
    "C:\MSD\ToMSD\Processed\MSD107078-02262015.csv"
    $oFile
    =
    New-Object
    System.IO.FileInfo
    $path
    try {
    $oStream
    =
    $oFile.Open([System.IO.FileMode]::Open,
    [System.IO.FileAccess]::ReadWrite,
    [System.IO.FileShare]::None)
    if($oStream)
    $oStream.Close()
    "Not Locked"
    catch {
    # file is locked by a process
    "Locked"
    Seems simple enough but it always says the file on the server when opened with a text editor. I did notice, however, that if I open the file
    share from a workstation and open the file with a text editor that it does show the file is locked. What would be the difference to the server between opening the file locally or remotely?
    Any thoughts?
    Thanks in advance,
    Linn

    Hi Gladyston,
    Yes, that restriction I am aware of but it is not the issue.  The script runs, it just doesn't return the correct result.
    Wonder if there is a better way to determine if a document is locked for editing or not.
    Thanks for responding,
    Linn

  • FLV runs on local, but not on server using CS4

    I have run the insert FLV as a progressive download and it works correctly on live view. Once loaded on the server, it does not work.
    http://www.transworldincelectric.com/test.html
    I have a folder called Scripts loaded to the server and it contains the two files, expressInstall.swf and swfobject_modified.js.
    I have uploaded the flv file, the Clear_Skin_1.swf, and the FLVPlayer_Progressive.swf files.
    Are there settings on the web server that may need to be set?
    thanks,
    Eric

    I found the issue.
    The server MIME for .flv was not set.
    thanks,
    Eric

  • PPTP VPN works with local but not RADIUS authentication

    iPhone OS v3.1
    My VPN server is a Draytek 3300v. The iPhone connects OK when an account is set up locally on the server, but as soon as I switch it to use a RADIUS server (no other settings changed), authentication fails. I have tried 2 different RADIUS servers, with the same result. Immediately after successful authentication comes back from RADIUS, the VPN server log shows:
    pppd: peer 'john.smith' authenticate succeed, protocol:49699
    MSCHAP-v2 peer authentication succeeded for john.smith
    rcvd [LCP TermReq id=0x2]
    LCP terminated by peer
    pptpd: EOF or bad error reading ctrl packet length
    pptpd: cannot read packet header, exit
    pptpd: read pptp packet failed
    Clients using various versions of Windows all connect OK, but the iPhone fails authentication both over the carrier network and wireless.
    Any ideas anyone?

    Have you checked the Enterprise Deployment Guide for 3.1? It's at http://www.apple.com/support/iphone/enterprise

  • XSLT 2.0 (works in jdev, but not on server) Reasons?

    I created a xslt script to get a date difference. following blogs online - i modified the xsl:stylesheet to 2.0.                       WHen its tested in Jdev with   2002-11-26T09:50:39  2013-10-26T09:50:39 returns   P3987D when I deploy it to the SOA/BPM server, it throws xpath error. (saying to check sources) Can someone suggest a solution? Does something need to be enabled on the server? Thanks, Ashok

    Hi Frank,
    Thanks for the response. I've consulted with our server guy and he says that there are no read/write privileges. Jdev is not on the server.
    I'm really stumped by this so if you have any ideas, I'd really appreciate it.
    Happr New Year to you,
    Newbe.

Maybe you are looking for