Safari & Tekton Pro

I've run into a snag and it has me a little puzzled.  Tekton Pro does not want to display in Safari.  It displays fine in Mozilla and IE but not in Safari.  Has anyone else had issues with this?
CSS:
.navStyle{text-align:center; font-family:Tekton Pro; font-size:20px;}
Online 'workshop' : )
gtworkspace.com

FYI I don't have Tekton Pro on my system. So I couldn't see it if I wanted to.
Change this:
.navStyle{text-align:center; font-family:Tekton Pro; font-size:20px;}
to this:
.navStyle {
text-align:center;
font: 20px  "Tekton Pro", Verdana, Arial, Helvetica, Sans-Serif;
If you don't wrap quotes around Tekton Pro it won't be picked up in some browsers.  Also, if you don't provide alternative fonts for people who don't have Tekton Pro installed on their system, they may get something radically different than what you had in mind.  See link below on Web Safe Fonts
http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com

Similar Messages

  • Difference between Tekton and Tekton Pro?

    Hi,
    I'm aware that Adobe's "Pro" designation means that the font contains all the necessary glyphs to set European languages. But that's not what I'm asking.
    We have a client for whom we're preparing a book. We've been using Tekton Pro (Bold and Regular). We sent a PDF proof to the client and they say that they meant the old Tekton (not Pro--rather, the postscript version). I've tried to compare the two, but it's very difficult online.
    My question is: is there a difference in the actual form of the letters between the old Tekton and Tekton Pro?
    (In the case of Garamond and Garamond Premier Pro there is a significant difference between the shapes of some letters, for example.)
    Thanks,
    Ariel

    Hi Neil,
    As far as I understood, our firm's client's concern was that the font looked
    different (reflow not being an issue in this case because it's used for a
    main heading only).
    Anyway, I went into the office (a rarity in these days of telecommuting) to
    investigate. The outcome is that somehow or other one of the graphics people
    managed to switch Tekton for some variant of Times. Good grief! No wonder
    the client sounded concerned; I'm impressed that they managed to remain so
    polite about it, actually.
    I think you're right about there generally not being a difference between
    the PS and Pro versions of Adobe fonts. I would be interested to hear more
    insight into this point.
    I seem to have three Adobe Garamond's on the computer. The old Adobe
    Garamond PostScript and Adobe Garamond Pro: these two seem identical, and a
    full alphabet also sets the same width.
    On the other hand, Adobe Garamond Premier Pro seems to be essentially
    different, though very similar, font. It sets differently, and unless I'm
    imagining things, the x-height is slightly shorter, plus all the strokes
    seem slight thicker.
    This adds support to the theory that a regular Adobe PS font is identical to
    its Pro namesake except for some added glyphs. Perhaps that is why Adobe
    Garamond Premier was actually given a different name.
    Regards,
    Ariel

  • My screen flickers in Safari MacBook Pro Retina 2012

    My screen flickers in a totally random fashion and only in Safari when I am on the internet. It happens more or less on certain web pages and not very often, but it is very annoying when it does happen. My machine is a Macbook Pro Retina 15" late 2012 release. I have seen other posts on this issue dating back to 2012, however, there were not solutions submitted leaving me to believe that there is no solution or I may have missed it. People with the same problem say they have taken in their laptops to have them replaced by Apple only to find out their problem still exists, leading many to believe it's likely to be a software issue. Anyone have any ideas or answers to this issue?

    Hey dhaynes3818,
    Thanks for the question. I understand that you are experiencing issues with Safari on your MacBook Pro. To troubleshoot these issues, lets follow the steps in this article:
    Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues - Apple Support
    http://support.apple.com/en-us/HT203353
    Thanks,
    Matt M.

  • Low resolution pictures in Safari macbook pro vs Google Chrome

    I have both Safari (7.0.5) and Google Chrome (35.0.1916.153) on my MacBook Pro Retina running OSX 10.9.4. Viewing my galleri my pictures show in much lower resolution (but not pixelated) in Safari compared to Chrome. It's the same on my iPad. The first few milliseconds though viewing the pictures in Safari they seem to have good resolution. I wood prefer to use Safari but due to this I am using Chrome. Any solution?

    Nor_Cal_Guy wrote:
    I bought a model A1502, but I have some serious buyers remorse because I have been told that I can not upgrade the SSD or the RAM...is this true?
    Yes.  The retina MBPs have all of those components soldered to the logic board and currently there are no third party SSDs available.
    Is the 2012 chassis available with retina display?
    NO.
    Which model is best for the long term?
    . That is difficult to answer. Personally I would wait until the next retina MBP introduction and order it to my personal requirements. The final decision is yours.
    Ciao.

  • Can't add bookmark in Safari; Mac Pro 10.8.2 ?

    Safari won't add bookmark; Mac Pro,Safari, OSX 10.8.2 ?

    Triple-click the line below to select it:
    ~/Library/Safari/Bookmarks.plist
    Right-click or control-click the highlighted line and select
    Services ▹ Show Info
    from the contextual menu. An Info dialog should open.
    Does the dialog show "You can read and write" in the Sharing & Permissions section?
    In the General section, is the box labeled Locked checked?
    What is the Modified date?

  • Pop-ups on Safari - Macbook Pro

    I have a Macbook Pro and recently, there have been many pop-ups whenever I use Safari.  I have pop-ups turned off, but I still am getting a lot of pop-ups.  How do I fix this? Do I have a virus? Please help. Thanks!

    You may have installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • OSX Yosemite Safari MB Pro Retina

    I updated  to Yosemite 10.10.1 a while ago and have been having issues with safari. The window will randomly freak out and keep flashing. Whenever it happens it just gets worse and worse with time till i quit the app. Is there any fix for this? It usually happens when I'm moving my mouse or trying to type something in. Thanks@

    Have you installed all the Photoshop updates and MacOS 10.10 updates?
    Disabling GPU usage in Photoshop should help with the video driver bugs in MacOS 10.10, until Apple can solve all the driver issues (yes, Apple knows about them and is working on solutions).
    What does the long, detailed crash log say?
    Also, anything that freezes, shuts down, or reboots the machine is not an application error - but caused by an OS bug, a low level driver bug, or faulty hardware.  Applications simply cannot cause those symptoms on modern OSes.

  • Dropbox icon missing in safari macbook pro

    dropbox icon missing in safari macbook pro

    If you are trying to sync Safari bookmarks with another device using Dropbox > http://macs.about.com/od/CloudServices/qt/Sync-Safari-Bookmarks-Using-Dropbox.ht m
    it's much easier to use iCloud >  iCloud: Set up iCloud Mail on your devices
    You get 5GB's of storage space for free.

  • Save webpage pdf. Using Macbook Pro, 10.7.5. Remedy?

    I'm unable to open a saved webpage pdf. When I click on it to open, the message is: "The file '...' could not be opened because it is empty."  Using Safari, Macbook Pro, 10.7.5. Remedy?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Macbook Pro running slow will reinstalling OS X speed it up?

    My MacBook Pro is running slow and i would like to reinstall OS X on it and was wondering if that would speed it up? I recently added 4gb of ram in replace of the 2gb of ram and that helped out but its still not as fast as when it was brand new.
    my questions are:
    1) would reinstalling OS X speed up my Macbook Pro?
    2) I currently have time machine on, after reinstalling OS X could I revert back to my most recent backup and have all my personal data on there minus all the junk that slowed down my Mac? or would it be the exact same thing as the current OS X now?
    3) what are some ways to speed up my Macbook Pro?
    my specs:
    Model Name: MacBook Pro
    Model Identifier: MacBookPro4,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.4 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 3 MB
    Memory: 4 GB
    Bus Speed: 800 MHz
    System Version: Mac OS X 10.6.2 (10C540)
    Kernel Version: Darwin 10.2.0
    Boot Volume: Macintosh HD
    Boot Mode: Normal

    1) would reinstalling OS X speed up my Macbook Pro?
    Possibly, but it might be overkill, and it might fail to help altogether. Without knowing what the source of the problem is, it's impossible to say.
    2) I currently have time machine on, after reinstalling OS X could I revert back to my most recent backup and have all my personal data on there minus all the junk that slowed down my Mac?
    You can certainly choose to restore only certain things from your backup, though without knowing what is slowing down your machine, it's hard to say what you should and shouldn't restore. I'd advise a bit more troubleshooting. Also, don't assume that one single backup is enough... things happen. Have at a minimum two backups, made with two separate programs. See my [Mac Backup Guide|http://www.reedcorner.net/thomas/guides/backups> for more information.
    3) what are some ways to speed up my Macbook Pro?
    First, check your hard drive space. If you don't have about 10% (give or take) free, that could be the problem.
    Second, open Activity Monitor and check the System Memory tab. If your page ins and your page outs are within an order of magnitude of one another, you may be pushing your machine harder than the RAM you have installed can support.
    Also in Activity Monitor, look for a process that seems to always be using too much processor time. Look at the CPU tab and see what the % idle value is. When you're not doing anything particularly demanding, it should be a high number... mine's hovering between 92-97% with Mail, Safari, FileMaker Pro and Activity Monitor running, plus a couple third-party background processes (like Quicksilver).
    Try repairing the hard drive (not permissions... that's not likely to help much). A slightly damaged hard drive can cause all kinds of problems.
    Run [Apple Hardware Test|http://support.apple.com/kb/HT1509] to verify your hardware. Also, since you recently installed new RAM and AHT is not the best tool for checking RAM, try running [Rember|http://www.kelleycomputing.net/rember> to test the RAM. (Note that I'm not 100% sure about Snow Leopard compatibility of Rember.)

  • Unable to listen to Launchcast Radio on my Safari browser

    I am unable to use the LaunchCast Radio feature from my ISP, BTYahoo, in Safari as it seems the browser is not compatible. I fing this amazing as Apple and Yahoo seem to go hand-in-hand outside the UK. Have other UK Apple users experienced the same problem? Any ideas?
    MacBook Pro   Mac OS X (10.4.10)   Browser is Safari
    MacBook Pro   Mac OS X (10.4.10)  

    Hi
    Welcome to Apple Discussions
    Yahoo and Apple's relationship is akin to "apples and oranges" - little in common. Since Safari's inception, Yahoo features have been deficient and/or poorly coded when it comes to the Safari browser. By contrast, Apple's new evolving partner in this rapidly changing reality is Google (no great friend of Yahoo's).
    Relative to your question, you might have better success with another browser. Here's a list -
    Firefox 2.0.4
    Camino,
    Mozilla,
    Opera,
    Shiira,
    OmniWeb (shareware).
    My favorite is Firefox and Shiira. In this instance I try Firefox.

  • Got error while compiling this source code?

    [code =java]package com.agent.client.movies;
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    import java.util.ArrayList;
    public interface DataSourceMovies extends Remote{
    ArrayList<String[]> getAllMovies() throws RemoteException;
    ArrayList<String[]> findMoviesByYear( int year) throws RemoteException;
    ArrayList<String[]> findMoviesByDirector(String director) throws RemoteException;
    ArrayList<String[]> findMoviesByGenre(String genre) throws RemoteException;
    ArrayList<String[]> findMoviesByName(String name) throws RemoteException;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    * MovieClient.java
    * Created on Apr 24, 2012, 10:49:58 AM
    package com.agent.client.movies;
    import com.agent.client.songs.SongsClient;
    import com.agent.client.Utility;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.StringTokenizer;
    import javax.naming.InitialContext;
    import javax.swing.DefaultListModel;
    import javax.swing.JOptionPane;
    import javax.swing.table.DefaultTableModel;
    public class MovieClient extends javax.swing.JFrame {
    ArrayList<String> mappedips = new ArrayList<String>();
    DefaultListModel<String> modelmsg = new DefaultListModel<String>();
    InitialContext ctx;
    /** Creates new form MovieClient */
    public MovieClient(String ips) {
    setLookAndFeel();
    initComponents();
    Utility.setInCenter(this);
    StringTokenizer stok = new StringTokenizer(ips, ":");
    while(stok.hasMoreTokens())
    mappedips.add(stok.nextToken());
    public void setLookAndFeel(){
    /* Set the Nimbus look and feel */
    //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
    /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
    * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
    try {
    for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
    if ("Nimbus".equals(info.getName())) {
    javax.swing.UIManager.setLookAndFeel(info.getClassName());
    break;
    } catch (ClassNotFoundException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    } catch (InstantiationException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    } catch (IllegalAccessException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    } catch (javax.swing.UnsupportedLookAndFeelException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    //</editor-fold>
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
    buttonGroup1 = new javax.swing.ButtonGroup();
    jPanel1 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    jPanel2 = new javax.swing.JPanel();
    btclose = new javax.swing.JButton();
    jPanel3 = new javax.swing.JPanel();
    jPanel4 = new javax.swing.JPanel();
    jPanel8 = new javax.swing.JPanel();
    jLabel2 = new javax.swing.JLabel();
    txtkey = new javax.swing.JTextField();
    btsearch = new javax.swing.JButton();
    jPanel9 = new javax.swing.JPanel();
    rdbyname = new javax.swing.JRadioButton();
    rdbydirector = new javax.swing.JRadioButton();
    rdbygenre = new javax.swing.JRadioButton();
    rdbyyear = new javax.swing.JRadioButton();
    jPanel5 = new javax.swing.JPanel();
    jPanel6 = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    lstMessages = new javax.swing.JList(modelmsg);
    jPanel7 = new javax.swing.JPanel();
    jScrollPane2 = new javax.swing.JScrollPane();
    tabmovies = new javax.swing.JTable();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setMinimumSize(new java.awt.Dimension(500, 500));
    jLabel1.setFont(new java.awt.Font("Simplified Arabic", 1, 24));
    jLabel1.setForeground(new java.awt.Color(0, 102, 204));
    jLabel1.setText("Mobile Agent: Find Movie Information");
    jPanel1.add(jLabel1);
    getContentPane().add(jPanel1, java.awt.BorderLayout.PAGE_START);
    btclose.setText("Close");
    btclose.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btcloseActionPerformed(evt);
    jPanel2.add(btclose);
    getContentPane().add(jPanel2, java.awt.BorderLayout.PAGE_END);
    jPanel3.setLayout(new java.awt.BorderLayout());
    jPanel4.setLayout(new java.awt.GridLayout(2, 1));
    jLabel2.setText("Key");
    btsearch.setText("Search");
    btsearch.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btsearchActionPerformed(evt);
    javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
    jPanel8.setLayout(jPanel8Layout);
    jPanel8Layout.setHorizontalGroup(
    jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel8Layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(txtkey, javax.swing.GroupLayout.PREFERRED_SIZE, 482, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
    .addComponent(btsearch)
    .addContainerGap(130, Short.MAX_VALUE))
    jPanel8Layout.setVerticalGroup(
    jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel8Layout.createSequentialGroup()
    .addGap(14, 14, 14)
    .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(jLabel2)
    .addComponent(txtkey, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(btsearch))
    .addContainerGap(13, Short.MAX_VALUE))
    jPanel4.add(jPanel8);
    buttonGroup1.add(rdbyname);
    rdbyname.setSelected(true);
    rdbyname.setText("By name");
    buttonGroup1.add(rdbydirector);
    rdbydirector.setText("By director");
    buttonGroup1.add(rdbygenre);
    rdbygenre.setText("By genre");
    buttonGroup1.add(rdbyyear);
    rdbyyear.setText("By year");
    javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
    jPanel9.setLayout(jPanel9Layout);
    jPanel9Layout.setHorizontalGroup(
    jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel9Layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(rdbyname)
    .addGap(36, 36, 36)
    .addComponent(rdbydirector)
    .addGap(37, 37, 37)
    .addComponent(rdbygenre)
    .addGap(33, 33, 33)
    .addComponent(rdbyyear)
    .addContainerGap(352, Short.MAX_VALUE))
    jPanel9Layout.setVerticalGroup(
    jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel9Layout.createSequentialGroup()
    .addContainerGap()
    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(rdbyname)
    .addComponent(rdbydirector)
    .addComponent(rdbygenre)
    .addComponent(rdbyyear))
    .addContainerGap(20, Short.MAX_VALUE))
    jPanel4.add(jPanel9);
    jPanel3.add(jPanel4, java.awt.BorderLayout.PAGE_START);
    jPanel5.setLayout(new java.awt.BorderLayout());
    jPanel6.setLayout(new java.awt.BorderLayout());
    lstMessages.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(102, 102, 102)));
    jScrollPane1.setViewportView(lstMessages);
    jPanel6.add(jScrollPane1, java.awt.BorderLayout.CENTER);
    jPanel5.add(jPanel6, java.awt.BorderLayout.PAGE_END);
    jPanel7.setLayout(new java.awt.BorderLayout());
    tabmovies.setModel(new javax.swing.table.DefaultTableModel(
    new Object [][] {
    new String [] {
    "Name", "Director", "Genre", "Release Year"
    jScrollPane2.setViewportView(tabmovies);
    jPanel7.add(jScrollPane2, java.awt.BorderLayout.CENTER);
    jPanel5.add(jPanel7, java.awt.BorderLayout.CENTER);
    jPanel3.add(jPanel5, java.awt.BorderLayout.CENTER);
    getContentPane().add(jPanel3, java.awt.BorderLayout.CENTER);
    pack();
    }// </editor-fold>//GEN-END:initComponents
    private void btcloseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btcloseActionPerformed
    System.exit(0);
    }//GEN-LAST:event_btcloseActionPerformed
    private void btsearchActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btsearchActionPerformed
    searchMovies();
    }//GEN-LAST:event_btsearchActionPerformed
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btclose;
    private javax.swing.JButton btsearch;
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JList lstMessages;
    private javax.swing.JRadioButton rdbydirector;
    private javax.swing.JRadioButton rdbygenre;
    private javax.swing.JRadioButton rdbyname;
    private javax.swing.JRadioButton rdbyyear;
    private javax.swing.JTable tabmovies;
    private javax.swing.JTextField txtkey;
    // End of variables declaration//GEN-END:variables
    private void searchMovies() {
    if(txtkey.getText().trim().length()==0){
    JOptionPane.showMessageDialog(null, "Please enter some words...");
    return;
    for(String ip : mappedips){
    modelmsg.addElement("Looking up node : " + ip);
    DataSourceMovies movies = null;
    try {
    ctx = new InitialContext();
    movies = (DataSourceMovies)ctx.lookup("rmi://" + ip + "/movieserver");
    } catch (Exception e) {
    modelmsg.addElement("Error contacting node...");
    e.printStackTrace();
    break;
    List<String[]> movieslist = null;
    try{
    if(rdbyname.isSelected())
    movieslist = movies.findMoviesByName(txtkey.getText().trim());
    else if(rdbydirector.isSelected())
    movieslist = movies.findMoviesByDirector(txtkey.getText().trim());
    else if(rdbygenre.isSelected())
    movieslist = movies.findMoviesByGenre(txtkey.getText().trim());
    else if(rdbyyear.isSelected()){
    try {
    movieslist = movies.findMoviesByYear(Integer.parseInt(txtkey.getText().trim()));
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Invalid year...");
    return;
    if(movieslist!=null && movieslist.size()>0){
    modelmsg.addElement("Songs found...");
    DefaultTableModel model = (DefaultTableModel) tabmovies.getModel();
    while(model.getRowCount()>0){
    model.removeRow(0);
    tabmovies.revalidate();
    for(String[] moviedata : movieslist)
    model.addRow(moviedata);
    catch(Exception ex) {               
    modelmsg.addElement("Error reading data...");
    break;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package com.agent.client.movies;
    import com.agent.client.Utility;
    import java.io.DataInputStream;
    import java.io.DataOutputStream;
    import java.net.Socket;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JWindow;
    import javax.swing.SwingConstants;
    public class MovieSplashScreen {
    private javax.swing.JLabel lbimage;
    private javax.swing.JLabel lbloading;
    private javax.swing.JLabel lbmobile;
    private javax.swing.JPanel panelBack;
    public static void main(String[] ar) {
    new MovieSplashScreen().displaySplash(ar[0]);
    public void displaySplash(String mapperip) {
    JWindow window = new JWindow();
    window.getContentPane().add(
    new JLabel("Loading JFrame...", SwingConstants.CENTER));
    window.setSize(525, 240);
    Utility.setInCenter(window);
    panelBack = new javax.swing.JPanel();
    lbimage = new javax.swing.JLabel();
    lbloading = new javax.swing.JLabel();
    lbmobile = new javax.swing.JLabel();
    panelBack.setBackground(new java.awt.Color(255, 255, 255));
    panelBack.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 102, 102), 2));
    panelBack.setLayout(null);
    lbimage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/agent/client/splash.jpg"))); // NOI18N
    panelBack.add(lbimage);
    lbimage.setBounds(250, 20, 250, 180);
    lbloading.setFont(new java.awt.Font("Showcard Gothic", 0, 30)); // NOI18N
    lbloading.setText("Loading...");
    panelBack.add(lbloading);
    lbloading.setBounds(50, 120, 210, 70);
    lbmobile.setFont(new java.awt.Font("Tekton Pro Cond", 0, 24)); // NOI18N
    lbmobile.setForeground(new java.awt.Color(0, 51, 51));
    lbmobile.setText("Mobile Agents 1.0");
    panelBack.add(lbmobile);
    lbmobile.setBounds(30, 20, 230, 40);
    window.add(panelBack, java.awt.BorderLayout.CENTER);
    window.setVisible(true);
    try {
    Thread.sleep(5000);
    } catch (InterruptedException e) {
    Socket client = null;
    try {
    client = new Socket(mapperip,2222);
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Mapping server down...");
    System.exit(0);
    DataInputStream din = null;
    DataOutputStream dout = null;
    String ips = null;
    try {
    din = new DataInputStream(client.getInputStream());
    dout = new DataOutputStream(client.getOutputStream());
    dout.writeUTF("movies");
    ips = din.readUTF();
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Cannot retrieve mappings...");
    e.printStackTrace();
    System.exit(0);
    window.setVisible(false);
    MovieClient sclient = new MovieClient(ips);
    sclient.setVisible(true);
    window.dispose();

    {code = java}package com.agent.client.movies;
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    import java.util.ArrayList;
    public interface DataSourceMovies extends Remote{
    ArrayList<String[]> getAllMovies() throws RemoteException;
    ArrayList<String[]> findMoviesByYear( int year) throws RemoteException;
    ArrayList<String[]> findMoviesByDirector(String director) throws RemoteException;
    ArrayList<String[]> findMoviesByGenre(String genre) throws RemoteException;
    ArrayList<String[]> findMoviesByName(String name) throws RemoteException;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    * MovieClient.java
    * Created on Apr 24, 2012, 10:49:58 AM
    package com.agent.client.movies;
    import com.agent.client.songs.SongsClient;
    import com.agent.client.Utility;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.StringTokenizer;
    import javax.naming.InitialContext;
    import javax.swing.DefaultListModel;
    import javax.swing.JOptionPane;
    import javax.swing.table.DefaultTableModel;
    public class MovieClient extends javax.swing.JFrame {
    ArrayList<String> mappedips = new ArrayList<String>();
    DefaultListModel<String> modelmsg = new DefaultListModel<String>();
    InitialContext ctx;
    /** Creates new form MovieClient */
    public MovieClient(String ips) {
    setLookAndFeel();
    initComponents();
    Utility.setInCenter(this);
    StringTokenizer stok = new StringTokenizer(ips, ":");
    while(stok.hasMoreTokens())
    mappedips.add(stok.nextToken());
    public void setLookAndFeel(){
    /* Set the Nimbus look and feel */
    //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
    /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
    * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
    try {
    for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
    if ("Nimbus".equals(info.getName())) {
    javax.swing.UIManager.setLookAndFeel(info.getClassName());
    break;
    } catch (ClassNotFoundException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    } catch (InstantiationException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    } catch (IllegalAccessException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    } catch (javax.swing.UnsupportedLookAndFeelException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    //</editor-fold>
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
    buttonGroup1 = new javax.swing.ButtonGroup();
    jPanel1 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    jPanel2 = new javax.swing.JPanel();
    btclose = new javax.swing.JButton();
    jPanel3 = new javax.swing.JPanel();
    jPanel4 = new javax.swing.JPanel();
    jPanel8 = new javax.swing.JPanel();
    jLabel2 = new javax.swing.JLabel();
    txtkey = new javax.swing.JTextField();
    btsearch = new javax.swing.JButton();
    jPanel9 = new javax.swing.JPanel();
    rdbyname = new javax.swing.JRadioButton();
    rdbydirector = new javax.swing.JRadioButton();
    rdbygenre = new javax.swing.JRadioButton();
    rdbyyear = new javax.swing.JRadioButton();
    jPanel5 = new javax.swing.JPanel();
    jPanel6 = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    lstMessages = new javax.swing.JList(modelmsg);
    jPanel7 = new javax.swing.JPanel();
    jScrollPane2 = new javax.swing.JScrollPane();
    tabmovies = new javax.swing.JTable();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setMinimumSize(new java.awt.Dimension(500, 500));
    jLabel1.setFont(new java.awt.Font("Simplified Arabic", 1, 24));
    jLabel1.setForeground(new java.awt.Color(0, 102, 204));
    jLabel1.setText("Mobile Agent: Find Movie Information");
    jPanel1.add(jLabel1);
    getContentPane().add(jPanel1, java.awt.BorderLayout.PAGE_START);
    btclose.setText("Close");
    btclose.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btcloseActionPerformed(evt);
    jPanel2.add(btclose);
    getContentPane().add(jPanel2, java.awt.BorderLayout.PAGE_END);
    jPanel3.setLayout(new java.awt.BorderLayout());
    jPanel4.setLayout(new java.awt.GridLayout(2, 1));
    jLabel2.setText("Key");
    btsearch.setText("Search");
    btsearch.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btsearchActionPerformed(evt);
    javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
    jPanel8.setLayout(jPanel8Layout);
    jPanel8Layout.setHorizontalGroup(
    jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel8Layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(txtkey, javax.swing.GroupLayout.PREFERRED_SIZE, 482, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
    .addComponent(btsearch)
    .addContainerGap(130, Short.MAX_VALUE))
    jPanel8Layout.setVerticalGroup(
    jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel8Layout.createSequentialGroup()
    .addGap(14, 14, 14)
    .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(jLabel2)
    .addComponent(txtkey, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(btsearch))
    .addContainerGap(13, Short.MAX_VALUE))
    jPanel4.add(jPanel8);
    buttonGroup1.add(rdbyname);
    rdbyname.setSelected(true);
    rdbyname.setText("By name");
    buttonGroup1.add(rdbydirector);
    rdbydirector.setText("By director");
    buttonGroup1.add(rdbygenre);
    rdbygenre.setText("By genre");
    buttonGroup1.add(rdbyyear);
    rdbyyear.setText("By year");
    javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
    jPanel9.setLayout(jPanel9Layout);
    jPanel9Layout.setHorizontalGroup(
    jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel9Layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(rdbyname)
    .addGap(36, 36, 36)
    .addComponent(rdbydirector)
    .addGap(37, 37, 37)
    .addComponent(rdbygenre)
    .addGap(33, 33, 33)
    .addComponent(rdbyyear)
    .addContainerGap(352, Short.MAX_VALUE))
    jPanel9Layout.setVerticalGroup(
    jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel9Layout.createSequentialGroup()
    .addContainerGap()
    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(rdbyname)
    .addComponent(rdbydirector)
    .addComponent(rdbygenre)
    .addComponent(rdbyyear))
    .addContainerGap(20, Short.MAX_VALUE))
    jPanel4.add(jPanel9);
    jPanel3.add(jPanel4, java.awt.BorderLayout.PAGE_START);
    jPanel5.setLayout(new java.awt.BorderLayout());
    jPanel6.setLayout(new java.awt.BorderLayout());
    lstMessages.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(102, 102, 102)));
    jScrollPane1.setViewportView(lstMessages);
    jPanel6.add(jScrollPane1, java.awt.BorderLayout.CENTER);
    jPanel5.add(jPanel6, java.awt.BorderLayout.PAGE_END);
    jPanel7.setLayout(new java.awt.BorderLayout());
    tabmovies.setModel(new javax.swing.table.DefaultTableModel(
    new Object [][] {
    new String [] {
    "Name", "Director", "Genre", "Release Year"
    jScrollPane2.setViewportView(tabmovies);
    jPanel7.add(jScrollPane2, java.awt.BorderLayout.CENTER);
    jPanel5.add(jPanel7, java.awt.BorderLayout.CENTER);
    jPanel3.add(jPanel5, java.awt.BorderLayout.CENTER);
    getContentPane().add(jPanel3, java.awt.BorderLayout.CENTER);
    pack();
    }// </editor-fold>//GEN-END:initComponents
    private void btcloseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btcloseActionPerformed
    System.exit(0);
    }//GEN-LAST:event_btcloseActionPerformed
    private void btsearchActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btsearchActionPerformed
    searchMovies();
    }//GEN-LAST:event_btsearchActionPerformed
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btclose;
    private javax.swing.JButton btsearch;
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JList lstMessages;
    private javax.swing.JRadioButton rdbydirector;
    private javax.swing.JRadioButton rdbygenre;
    private javax.swing.JRadioButton rdbyname;
    private javax.swing.JRadioButton rdbyyear;
    private javax.swing.JTable tabmovies;
    private javax.swing.JTextField txtkey;
    // End of variables declaration//GEN-END:variables
    private void searchMovies() {
    if(txtkey.getText().trim().length()==0){
    JOptionPane.showMessageDialog(null, "Please enter some words...");
    return;
    for(String ip : mappedips){
    modelmsg.addElement("Looking up node : " + ip);
    DataSourceMovies movies = null;
    try {
    ctx = new InitialContext();
    movies = (DataSourceMovies)ctx.lookup("rmi://" + ip + "/movieserver");
    } catch (Exception e) {
    modelmsg.addElement("Error contacting node...");
    e.printStackTrace();
    break;
    List<String[]> movieslist = null;
    try{
    if(rdbyname.isSelected())
    movieslist = movies.findMoviesByName(txtkey.getText().trim());
    else if(rdbydirector.isSelected())
    movieslist = movies.findMoviesByDirector(txtkey.getText().trim());
    else if(rdbygenre.isSelected())
    movieslist = movies.findMoviesByGenre(txtkey.getText().trim());
    else if(rdbyyear.isSelected()){
    try {
    movieslist = movies.findMoviesByYear(Integer.parseInt(txtkey.getText().trim()));
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Invalid year...");
    return;
    if(movieslist!=null && movieslist.size()>0){
    modelmsg.addElement("Songs found...");
    DefaultTableModel model = (DefaultTableModel) tabmovies.getModel();
    while(model.getRowCount()>0){
    model.removeRow(0);
    tabmovies.revalidate();
    for(String[] moviedata : movieslist)
    model.addRow(moviedata);
    catch(Exception ex) {
    modelmsg.addElement("Error reading data...");
    break;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package com.agent.client.movies;
    import com.agent.client.Utility;
    import java.io.DataInputStream;
    import java.io.DataOutputStream;
    import java.net.Socket;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JWindow;
    import javax.swing.SwingConstants;
    public class MovieSplashScreen {
    private javax.swing.JLabel lbimage;
    private javax.swing.JLabel lbloading;
    private javax.swing.JLabel lbmobile;
    private javax.swing.JPanel panelBack;
    public static void main(String[] ar) {
    new MovieSplashScreen().displaySplash(ar[0]);
    public void displaySplash(String mapperip) {
    JWindow window = new JWindow();
    window.getContentPane().add(
    new JLabel("Loading JFrame...", SwingConstants.CENTER));
    window.setSize(525, 240);
    Utility.setInCenter(window);
    panelBack = new javax.swing.JPanel();
    lbimage = new javax.swing.JLabel();
    lbloading = new javax.swing.JLabel();
    lbmobile = new javax.swing.JLabel();
    panelBack.setBackground(new java.awt.Color(255, 255, 255));
    panelBack.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 102, 102), 2));
    panelBack.setLayout(null);
    lbimage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/agent/client/splash.jpg"))); // NOI18N
    panelBack.add(lbimage);
    lbimage.setBounds(250, 20, 250, 180);
    lbloading.setFont(new java.awt.Font("Showcard Gothic", 0, 30)); // NOI18N
    lbloading.setText("Loading...");
    panelBack.add(lbloading);
    lbloading.setBounds(50, 120, 210, 70);
    lbmobile.setFont(new java.awt.Font("Tekton Pro Cond", 0, 24)); // NOI18N
    lbmobile.setForeground(new java.awt.Color(0, 51, 51));
    lbmobile.setText("Mobile Agents 1.0");
    panelBack.add(lbmobile);
    lbmobile.setBounds(30, 20, 230, 40);
    window.add(panelBack, java.awt.BorderLayout.CENTER);
    window.setVisible(true);
    try {
    Thread.sleep(5000);
    } catch (InterruptedException e) {
    Socket client = null;
    try {
    client = new Socket(mapperip,2222);
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Mapping server down...");
    System.exit(0);
    DataInputStream din = null;
    DataOutputStream dout = null;
    String ips = null;
    try {
    din = new DataInputStream(client.getInputStream());
    dout = new DataOutputStream(client.getOutputStream());
    dout.writeUTF("movies");
    ips = din.readUTF();
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Cannot retrieve mappings...");
    e.printStackTrace();
    System.exit(0);
    window.setVisible(false);
    MovieClient sclient = new MovieClient(ips);
    sclient.setVisible(true);
    window.dispose();

  • Server App can't connect to a Mountain Lion server

    Hi,
    I installed OS X Mountain Lion Server (2.2.1) on a 2012 Mac Mini running OS X 10.8.4. I am able to access all the options using the Server.app on the Mini. Then I installed the Server.app (2.2.1) on a 2010 MacBook Pro running 10.8.4. On trying to configure the Server options on the Mac Mini from the MacBook Pro by providing the correct Mac Mini admin credentials, the password is not validated correctly. This happens when both the systems are on the same network or on different networks.
    I am certain that the username / password provided is correct, since using the same credentials I can successfully remote into the Mac Mini using Apple Remote Desktop (3.6.1) when both the systems are on the same network or on different networks.
    My situation supersedes the resolution provided in http://support.apple.com/kb/TS3960?locale=en_US. Note that the command sudo launchctl list | grep -q com.apple.servermgrd && echo loaded || echo not loaded returns loaded on the Mac Mini.
    Please help!

    I am having exactly the same setup and exactly the same problem - nevertheless I would like to add some more information in order to hopefully find / get help from other readers in here.
    I am using DynDNS - not a dedicated domain. I do not utilize an AirPort Extreme for port forwarding and else. All the necessary port forwardings were triple checked!
    - First of all "Apple Remote Desktop" is able to connect to my server over the internet (screen sharing) and locally in my LAN. No troubles here.
    - My iOS devices can connect using various VNC clients without any troubles.
    - VNC connections started within Safari (MacBook Pro) do work very well, too.
    - All kinds of WebDAV connections are working like a charme.
    - When connecting with "Server.app" from my MacBook Pro it asks if I would like to trust the self-signed certificate before I can enter name and password. After trusting that certificate it doesn't matter which account information I am entering: none is accepted. It does not make any difference if I am using a local user account or a user network account (both configured as being allowed to administer that server). "Server.app" does not accept any information provided.
    I've been following the KB advice, too that c xavier mentioned. "servermgrd" is loaded!
    For some odd yet unknown reason neither WAN nor LAN FTP login does work, too. It just gives me a time out, as already mentioned WebDAV is working fine.
    Sorry I could not help You, c xavier! I just thought that some additional information could help...

  • Adobe Reader could not open 'filename.pdf'" because it is either not a supported file type...

    I have a website that holds 23 different PDF's. They all download fine and open correctly when downloading from a Mac computer. They even download and open fine from a Mobile Phone. However my client is getting an error over and over again. I have tested it out and this is what I have come up with.
    Error:
    Adobe Reader could not open 'filename.pdf'" because it is either not a supported file type or because the file has been corrupted (for example, it was sent as an email attachment and wasn't correctly decoded)
    I have resaved the PDF's to be compatible with Reader 6.
    Works fine with
    All Mac's using either Firefox, Chrome or Safari using Pro and Reader
    iPhone downloads using iBook
    PC's when downloading from Firefox viewing in Reader 9
    PC's when downloading from IE 6.0 view on Reader 8
    Error Message When
    PC when downloading from IE 7 viewing on Reeder 9
    PC when downloading from IE 8 viewing on Reader 9
    Here goes the URL when the files resides.
    Please help. I can not find a solution.

    Hi i have solved the ie bug creating the pdf phisically, this is the code i use:
    $hostname = "XXXXXX";
    $database = "XXXXX";
    $username = "XXXXX";
    $password = "XXXXXX";
    $db = mysql_pconnect($hostname, $username, $password) or trigger_error(mysql_error(),E_USER_ERROR);
    mysql_select_db($database, $db);
    $query_rs_docs = "SELECT * FROM doc WHERE doc_name='".$_GET['doc_name']."'";
    $rs_docs = mysql_query($query_rs_docs, $db) or die(mysql_error());
    $row_rs_docs = mysql_fetch_assoc($rs_docs);
    $totalRows_rs_docs = mysql_num_rows($rs_docs);
    $t_pdf = fopen("/path to doc folder/doc/".$row_rs_docs['doc_name'], "w+");
    fwrite($t_pdf, $row_rs_docs['doc_file']);
    fclose($t_pdf);
    header('Location: http://www.portalesardegna.com/doc/'.$row_rs_docs['doc_name']);
    the db table (doc_name must contain the .pdf extension):
    CREATE TABLE IF NOT EXISTS `doc` (
      `doc_ID` int(10) NOT NULL auto_increment,
      `doc_name` varchar(255) NOT NULL,
      `doc_file` longblob NOT NULL
      PRIMARY KEY  (`doc_ID`)
    ) ENGINE=MyISAM;
    Message was edited by: Portale Sardegna

  • Converting from Pagemaker 7.0 to Indesign CS3

    Lots of questions here I'm afraid, but it would be a massive help if I could get this sorted, and I only have a week or two to do it.
    My colleague and I are writing an English language textbook, with separate teacher's guide and student's book. It is currently in Pagemaker but we have had a number of problems with it, including:
    1. Some pages will not PDF. Various error messages are given, none of which I understand.
    2. On the pages that will PDF, most of the Excel tables become black or grey boxes. They were inserted into the document via Edit>Insert Object but it does not seem possible to link them (doesn't accept OLEs or something). Nor can I Place them due to some unknown error.
    3. Some of the objects, esp those pasted in from Word, jump around when PDFfing.
    4. Some text and objects move when transferring between computers, messing up the formatting. This may be because my colleague and I have different printers installed, so we can't set it to the same one.
    Due to these and other problems, we're thinking of transferring the book to Indesign CS3. However, I have the following problems:
    1. When I try to open the Student's Book (SB), it tries to convert it to ID format, but before it opens the whole programme shuts down. There is no message or other indication of what the problem might be. It will open sections of the book when saved as different files, but not the whole thing at once. (The Teacher's Book [TB]) opens fine.)
    2. The Excel tables once again become black boxes, like when PDFfing from PM. I know I can redo them either by pasting in and creating table from text (which loses formatting), or by saving the files and Placing them (saves formatting but takes a while to save each file), but there are about 230 such tables and it would take forever.
    3. Other objects, such as speech bubbles pasted from Word, some Excel tables and some photos, become very low quality. They stay like this when pdffed.
    4. When I open sections of the SB, the text that was in other colours all changes to black. Eventually it will all be in black anyway, but I have highlighted some text in red and blue that I want to come back to later.
    In addition to solving those problems, I'd appreciate it if you could tell me:
    1. if it's possible to insert multiple pages of another ID file, so that separate documents become one, as in Acrobat. (This would allow my colleague and I to work on different sections of the book at the same time but still end up with one document.) The Place function creates one solid object (if that's the right word), with all separate objects merged, and is low quality like the images/tables mentioned earlier.
    2. if it's possible to save the formatting when pasting tables from Excel (and I mean pasting, not importing).
    3. if it's possible to create speech bubbles (callouts) in ID. I need loads of them. They don't seem to be in the Shapes section.
    4. if it creates problems if you paste stuff in without linking, e.g. speech bubbles and arrows from Word, images from PM, etc. I know it makes the file bigger, but apart from that? Someone said that may be behind the problems we had with PM.
    Thanks heaps for any help.
    Derek

    #1. This is the hardest one.
    First, just because it shows in Pagemaker, doesn't mean it should show in Indesign. Pagemaker lists all kinds of crap, PPD fonts, system fonts.
    Courier (VGA res) is a screen font. ID won't (and shouldn't) list it and you shouldn't want to use it. Courier New is just about impossible to get rid of in Windows XP. You should substitute Courier New for Courier (VGA res).
    I can't help much with Lucida Handwriting and Tekton Pro, except to
    repeat my usual font advice:
    1) Make sure the font is actually installed. Make sure it shows in
    Control Panel > Fonts. If it's really there, delete it (make sure you
    have a copy of it somewhere other than Fonts), reboot, and reinstall it. Install fonts with File > Install new font. Don't just dump it in the Fonts folder.
    2) Make sure ID doesn't already list it. ID doesn't list all fonts
    strictly alphabetically. For instance, note that Adobe Caslon shows up in the C section, not the A section. And Lucida Grande shows up at the bottom of the list with the Hebrew fonts. You can have a situation where you have Courier loaded, it shows in ID's font list, but on opening, ID tells you Courier is missing. The lesson here: there's more than one Courier and ID is smart enough to know the difference.
    3) Search your hard drive(s) for adobefnt*.lst and delete all of the
    found files. Make sure you search hidden and system folders.
    4) Delete the stubborn font files and copy them from somewhere good (I think Lucida and Tekton come free with something Microsoft, probably Office). It's rare, but font files can be corrupted, and ID is more picky than most other apps.
    5) Check Type > Find Font to see where your missing fonts are used. If they don't show up there, they may be used in a style but the style is not used. Maybe you don't need them at all. Maybe you just have a space or a return formatted in the missing font.
    Kenneth Benson
    Pegasus Type, Inc.
    www.pegtype.com

Maybe you are looking for

  • Yosemite download

    Hello.  I held off installing Yosemite until some of the bugs and initial scares dissipated.  I am now getting prompts from Apple to download.  Two questions: 1) what are the benefits you are seeing from running Yosemite. 2) what shall avoid when ins

  • Best practice: tar file handling through java on Linux

    What would be the better way to handle large size tar files (size may be more 1 GB) on Linux using Java? One way would be by using linux "tar" command through Runtime.exec, another option is through Java zip classes? Btw, functionality I am doing is

  • Windows Communication Foundation interoperability with Java.

    Hii, I am building a client for the WCF service using Soap1.2 and ws-security. I have tried building a stub for the service using JDeveloper 10 g and also tried to validate the wsdl using XML spy. Both are giving errors. I wanna know how could i genr

  • Create Interactive Zoom and Pan (in out, left, right)

    Hello Flash Forum, I have been checking the forum for ideas and suggestions on how to implement an interactive zoom and pan on an image. I would like the user to be able to drag a "magnifing glass" over an image, and then zoom in (or out) on the area

  • Nomenclature: Sequence vs Timeline ?

    What's the difference between a Sequence and a Timeline?  Do they refer formally to different things, or are they the same?