CS3 DWT template link problem

Code:
<td rowspan="4"><a href="about.htm" title="About the
Album" onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('buy the
album','','images/davis_album_buy_btn_f2.jpg',1)"><img
src="images/davis_album_buy_btn.jpg" alt="About the Album"
title="About the Album" name="About the album" border="0" id="buy
the album" width="137" height="132" /></a></td>
<td colspan="3" align="center"
valign="top"><strong><a
href="mailto:[email protected]" title="Signup for Davis'
mailing list" onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('SignupforMailingList','','images/mailing_list_f2.jpg',1)"><img
src="images/mailing_list.jpg" alt="Signup for Davis Mailing List"
name="SignupforMailingList" border="0" id="SignupforMailingList"
width="214" height="28" /></a><a
href="mailto:[email protected]" target="_blank"
title="Signup for Davis' Mailing
List"></a></strong></td>
<td rowspan="4"><a href="about.htm" title="About
the Album" onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('About the
Album','','images/davis_about_btn_f2.jpg',1)"><img
src="images/davis_about_btn.jpg" alt="About the Album" name="About
the Album" border="0" id="About the Album" width="144" height="132"
/></a></td>
<td rowspan="4"><a href="gallery/index.htm"
title="Photos and Fun" onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Photos and
Fun','','images/photos_fun_mouseover.jpg',1)"><img
src="images/photos_fun.jpg" alt="Photos and Fun" name="Photos and
Fun" width="148" height="132" border="0" id="Photos and Fun"
/></a></td>
<td rowspan="4" colspan="2"><a href="tours.htm"
title="Tour Schedule" onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('tours','','images/davis_tours_btn_f2.jpg',1)"><img
src="images/davis_tours_btn.jpg" alt="tour schedule" title="Tour
Schedule" name="tours" border="0" id="tours" width="157"
height="132" /></a></td>
<td><img src="images/spacer.gif" width="1"
height="28" border="0" alt="" /></td>
All links in this td work fine expect for the 'photos and
fun' mouseover link. I've used picasa to generate a photo gallery,
ive used dreamweaver and adobe fireworks via the 'command' (applied
to the code now). I have full permissions for the templates. The
site is barefootdavis.com. My changes are not live but will put out
if necessary. Other links I've created for this maintenance account
work fine. Content changes are also fine. Is this a cs3 issue or
perhaps SWF??? Help ;)

Sorry - I'm not sure what you are asking. How does the photos
and fun link
fail? Why do you suspect that this might be a template issue?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"dmasterduh" <[email protected]> wrote in
message
news:[email protected]...
> Code:
> <td rowspan="4"><a href="about.htm"
title="About the Album"
> onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('buy the
>
album','','images/davis_album_buy_btn_f2.jpg',1)"><img
> src="images/davis_album_buy_btn.jpg" alt="About the
Album" title="About
> the
> Album" name="About the album" border="0" id="buy the
album" width="137"
> height="132" /></a></td>
> <td colspan="3" align="center" valign="top">
<a
> href="mailto:[email protected]" title="Signup for
Davis' mailing
> list"
> onmouseout="MM_swapImgRestore()"
>
onmouseover="MM_swapImage('SignupforMailingList','','images/mailing_list_f2.jpg'
> ,1)"><img src="images/mailing_list.jpg"
alt="Signup for Davis Mailing
> List"
> name="SignupforMailingList" border="0"
id="SignupforMailingList"
> width="214"
> height="28" /></a><a
href="mailto:[email protected]"
> target="_blank"
> title="Signup for Davis' Mailing
List"></a></td>
> <td rowspan="4"><a href="about.htm"
title="About the Album"
> onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('About the
> Album','','images/davis_about_btn_f2.jpg',1)"><img
> src="images/davis_about_btn.jpg" alt="About the Album"
name="About the
> Album"
> border="0" id="About the Album" width="144" height="132"
/></a></td>
> <td rowspan="4"><a href="gallery/index.htm"
title="Photos and Fun"
> onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Photos and
> Fun','','images/photos_fun_mouseover.jpg',1)"><img
> src="images/photos_fun.jpg"
> alt="Photos and Fun" name="Photos and Fun" width="148"
height="132"
> border="0"
> id="Photos and Fun" /></a></td>
> <td rowspan="4" colspan="2"><a href="tours.htm"
title="Tour Schedule"
> onmouseout="MM_swapImgRestore()"
>
onmouseover="MM_swapImage('tours','','images/davis_tours_btn_f2.jpg',1)"><img
> src="images/davis_tours_btn.jpg" alt="tour schedule"
title="Tour Schedule"
> name="tours" border="0" id="tours" width="157"
height="132" /></a></td>
> <td><img src="images/spacer.gif" width="1"
height="28" border="0"
> alt=""
> /></td>
>
> All links in this td work fine expect for the 'photos
and fun' mouseover
> link.
> I've used picasa to generate a photo gallery, ive used
dreamweaver and
> adobe
> fireworks via the 'command' (applied to the code now). I
have full
> permissions
> for the templates. The site is barefootdavis.com. My
changes are not
> live but
> will put out if necessary. Other links I've created for
this maintenance
> account work fine. Content changes are also fine. Is
this a cs3 issue or
> perhaps SWF??? Help ;)
>

Similar Messages

  • Help! Template linking problem

    I have made templates for my client that have worked just
    fine for a year. She got a new computer, copied the files from the
    old computer to the new computer. Now she has problems with the
    templates writing the links to her local directories.
    Below is line 51 from my test page from the template -- which
    is correct and works fine on the server
    <!--#include virtual="../catalog/pullrotations.asp"-->
    This is line 51 from her test page from the same template --
    which does not work
    <!--#include virtual="file:///C|/Documents and
    Settings/xxxx/My
    Documents/xxxx/website/catalog/pullrotations.asp"-->
    I've reloaded the templates to the server, had her delete the
    template folder/files on her computer and then download the
    template folder again. That didn't help.
    I had her check the site definition and the links relative to
    document is checked as it should be.
    What else could it be? Any ideas?
    Please help.

    That's the wrong syntax for a virtual include. It would have
    to be -
    <!--#include virtual="/catalog/pullrotations.asp"-->
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "designerBeans" <[email protected]> wrote in
    message
    news:ghcroi$oi3$[email protected]..
    >I have made templates for my client that have worked just
    fine for a year.
    >She
    > got a new computer, copied the files from the old
    computer to the new
    > computer.
    > Now she has problems with the templates writing the
    links to her local
    > directories.
    >
    > Below is line 51 from my test page from the template --
    which is correct
    > and
    > works fine on the server
    > <!--#include
    virtual="../catalog/pullrotations.asp"-->
    >
    > This is line 51 from her test page from the same
    template -- which does
    > not
    > work
    > <!--#include virtual="file:///C|/Documents and
    Settings/xxxx/My
    > Documents/xxxx/website/catalog/pullrotations.asp"-->
    >
    > I've reloaded the templates to the server, had her
    delete the template
    > folder/files on her computer and then download the
    template folder again.
    > That
    > didn't help.
    >
    > I had her check the site definition and the links
    relative to document is
    > checked as it should be.
    >
    > What else could it be? Any ideas?
    >
    > Please help.
    >

  • Porting CS3 to CS4 : Links problem

    I've read the "porting-guide.pdf" and I'm a bit confused in their "recipe" to convert the code from CS3 to CS4, dealing with the links. Below...is my current PC CS3 code, which basically takes the input of a filename and then proceeds to check ALL the LINKs on the page to see if the item is actually ON the page.  Can someone review this...and convert this function so that it will work in CS4.<br /><br />-Thanks...Mark<br /><br />int IsItemOnPage(char *full_filename)<br />{<br />  int links=0;<br />  int i;<br />  int linkcount;<br />  char *cptr;<br />  char parent_da[512];<br />  int max;<br />  int on_page=0;<br />  char file_on_page[512];<br /><br />  IDocument* document = Utils<ILayoutUIUtils>()->GetFrontDocument();<br />  // 07/02/07 (CMC) moved this code within if(document != nil) block<br />  /*IDataBase* database = ::GetDataBase(document);<br />  ASSERT(database);<br />  if(!database)<br />   {<br />      //1-13-06<br />      //return kFailure;<br />     return(on_page);<br />   }*/<br /><br />  //11-18-05<br />  if(document != nil)<br />  {<br />     // 07/02/07 (CMC) moved this code within if(document != nil) block<br />     IDataBase* database = ::GetDataBase(document);<br />     ASSERT(database);<br />     if(!database)<br />     {<br />          //1-13-06<br />          //return kFailure;<br />          return(on_page);<br />     }<br />     PMString doc_name;<br />     document->GetName(doc_name);<br />     if(doc_name.IsEmpty()==FALSE)<br />     {<br />     max=sizeof(parent_da);<br />     cptr=&parent_da[0];<br />     doc_name.GetCString(cptr,max);<br />     }<br />  }<br />  else<br />  {<br />    return(0);//do nothing.<br />  }<br />  <br />  InterfacePtr<ILinksManager> linksmanager(document, IID_ILINKSMANAGER);<br />  linkcount = linksmanager->GetLinkCount();<br /><br />  for (i = 0; i < linkcount; i++)<br />  {<br />    UIDRef uidr(linksmanager->GetNthLinkUID(i));<br />    InterfacePtr<IDataLink> iDataLink(uidr,IID_IDATALINK);<br />    if ( iDataLink != NULL )<br />    {<br />      PMString formatName;<br />       //PMString *ppm;<br />      uint32 formatType;<br />      NameInfo ni;<br />      iDataLink->GetNameInfo(&ni,&formatName,&formatType);<br />      PMString* namePtr = ni.GetFilename();<br />      <br />      //3-13-06<br />      PMString* fullStringPtr = iDataLink->GetFullName();<br />      <br />      if( namePtr )<br />      {<br />        //TRACE("linked file name: %s (dirID=%d)\n",namePtr->GrabCString());<br />        if(DEBUG_MODE>0)<br />         {<br />           sprintf(LOG_FILE_MESG,"IsItemOnPage::File(%d)=%s",links,fullStringPtr->GrabCString());<br />           LogToLogFile(LOG_FILE_MESG);<br />         }  <br />        links++;           <br />        cptr=&file_on_page[0];<br />        fullStringPtr->GetCString(cptr,sizeof(file_on_page));<br />          //10-11-07<br />        //if(stricmp(file_on_page,full_filename)==0)<br />          if(Compare_FilePaths(file_on_page,full_filename))<br />          on_page=1;<br /><br />      }<br />    }<br />  }//EOF...for loop..<br /> return(on_page);<br /><br />}

    This is a user to user forum, with the space provided by Adobe, not Adobe support... you need Adobe support for serial number issues
    Adobe contact information - http://helpx.adobe.com/contact.html
    Adobe Knowledgebase http://www.adobe.com/support/
    Help for Download & Install & Setup & Activation http://forums.adobe.com/community/download_install_setup
    Next link has a "Chat Now" button near the bottom
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • Dreamweaver template/timeline problem

    Hi, someone may have an answer or suggestion to a problem which has occured.
    Quite new to DW so forgive my ignorance. I have created a site in DW CS3 using templates. I want to create a piece of animated text in DW, can do it in flash but would prefer to learn DW way. I have used method of creating ap div layer, but have only been able to work this way successfully in blank page. When I insert ap div in template page in editable area. the timeline function remains completely greyed out, it will allow me to insert div however does not allow me to amend/change attributes. Is the ap div/timeline way best way to animate text in DW or has anyone any better suggestion. I’ve uploaded temporary page http://www.design2.ie/test/index.html. Hoping to put 4  pieces of text in right blue panel. Sorry if I’m doing something stupid, appreciate your help.

    Hi Kcelsi
    I too have found that you cannot create a template in DW and then upload it to BC easily, as you are experiencing, you need to create a blank template in BC first, download it to DW, work on it and re-upload.
    Somehow the templates folder in the BC site is not available to add files to in DW as easily as the stylesheets folder. So I download the templates folder from BC in DW.
    To create a template for a web site I do the following in
    1. In BC back end go to the templates area, and create a blank template.
    2. Set up the site in DW, and then download the template folder from BC. You will then have the blank tempate you created in BC on your hard drive and can work on it and re-upload to BC. BC will then see it as a template file and it will be available to apply to pages. Notice that it is a .html file
    3. Start a blank template file in DW, and copy the code. The blank BC template you downloaded won't have any of the code you need like the HTML declaration at the top in <head> etc.
    4. Copy the tag_pagecontent tag from the BC template  you downloaded, and put it into Notepad. (BC won't recognise your file as a template if it does not have this tag)
    5. Copy all the code from the blank DW template you just created, and paste it into the code view of your BC template. Save the file, remembering to save as .html like it was in BC.
    6. Put the tag_pagecontent tag from Notepad into the part of the template where you want your page content to be. This area is what you can see when editing web pages in BC.
    5. Go on creating your template in DW, linking it to the website stylesheet you create. Make sure the site stylesheet is in a folder called Stylesheets.
    6. Upload the Stylesheets folder and Templates folder to BC when you are ready.
    Hope this makes sense and is helpful!   

  • Template/div problem

    Hello,
    I'm new to this forum and also to dreamweaver templates.
    Thanks in advance for any comments.
    Here's my situation: I've established a main.dwt template for
    the site banner, navigation, and footer, and other templates for
    each of several content areas. These content templates are based on
    the main template. The main template has a few editable regions,
    but only the "Section Template" region seems to be problematic.
    Into the "Section Template" region of the (nested) content
    templates, I've inserted html code consisting of a "links" div,
    followed by another editable region "Page Content." Then, in the
    html files based on these content templates, I insert html into the
    "Page Content" region, including two opening divs. The divs close
    outside the editable region (in the main template). This seems to
    be the problem. Dreamweaver highlights the "Page Content" region
    opening and closing tags in yellow, indicating that it is
    uneditable. Is there something about div tags needing to close
    within an editable region that I'm unaware of? Unfortunately, I
    need the footer div to be wrapped in the content div for layout
    purposes.
    The basic structure of the editable regions on the html file
    is shown.
    Many thanks for any input.
    confused;

    This is improperly nested HTML -
    <!-- InstanceBeginEditable name="Page content" -->
    <div id="content"><div id="text"> page text goes
    here
    <!-- InstanceEndEditable -->
    </div> (end of text div)
    The <!-- InstanceEndEditable --> comment would have to
    come AFTER the
    closing tag for the content div.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "emeraldcloud" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello,
    >
    > I'm new to this forum and also to dreamweaver templates.
    Thanks in advance
    > for
    > any comments.
    >
    > Here's my situation: I've established a main.dwt
    template for the site
    > banner,
    > navigation, and footer, and other templates for each of
    several content
    > areas.
    > These content templates are based on the main template.
    The main template
    > has a
    > few editable regions, but only the "Section Template"
    region seems to be
    > problematic.
    >
    > Into the "Section Template" region of the (nested)
    content templates, I've
    > inserted html code consisting of a "links" div, followed
    by another
    > editable
    > region "Page Content." Then, in the html files based on
    these content
    > templates, I insert html into the "Page Content" region,
    including two
    > opening
    > divs. The divs close outside the editable region (in the
    main template).
    > This
    > seems to be the problem. Dreamweaver highlights the
    "Page Content" region
    > opening and closing tags in yellow, indicating that it
    is uneditable. Is
    > there
    > something about div tags needing to close within an
    editable region that
    > I'm
    > unaware of? Unfortunately, I need the footer div to be
    wrapped in the
    > content
    > div for layout purposes.
    >
    > The basic structure of the editable regions on the html
    file is shown.
    >
    > Many thanks for any input.
    > confused;
    >
    > <!-- InstanceBeginEditable name="Page content" -->
    > <div id="content"><div id="text"> page text
    goes here
    > <!-- InstanceEndEditable -->
    > </div> (end of text div)
    > <div id="footer"> footer goes here
    > </div> (end of footer div)
    > </div> (end of content div)
    >

  • "Link Problem" in Incident Form does not seem to work right? How do I do it correctly?

    1. The Link Problem tool in the task pane on our Incidents, do not seem to actually link the Incident to the Problem.
    2. I can link the two by going to the Problem and adding it on the related items tab, but this is very time consuming in a call center environment, especially during an outage where we are relying a lot more on Problem and root cause analysis.
    3. I have tried creating the incident and applying, then doing the Link Problem tool and selecting the problem, then applying again and selecting OK to close the incident. Again it doesn't work for me.
    What am I doing wrong, number one?
    Can we do this without manually opening the problem for every incident and attaching from there?
    3. Can I build an incident template that will automate the Attachment to the problem at creation? (Tried this today to and it wouldn't work, but then again, the Link Problem might again be the culprit) This would be great for real time  saving during
    an outage. Once outage is found, I could create the template with all the necessary items filled out, and would like to have it automatically attach to the specific problem I choose at template creation, and that way analysts can simply apply template, and
    click OK when they get a call related to the outage.

    Thanks  for the response Thomas!
    The functionality seems to work just fine. I use the LINK PROBLEM and it pops up the problem search box, I search for and select a Problem, I then select it and click ok, and I get no error saying the relationship was not created.
    The problem is, when I open the problem after that, there is never any relationship showing in related items there, as it says there should be.
    Also, to point out, I am talking about newly created Incidents. I tried even using APPLY prior to doing the LINK PROBLEM but it still did not work. I suspect it may be a workflow problem, where the workflow to create the incident has not completed, there
    for the relationship is not completed.... and I get no error.
    In my work environment, we have analysts during outages taking a call every 30 seconds, and I need a more efficient way for this system to work. As of now, they spend 1-2 minutes doing the ticket, and that is too long.
    I have decided to try a newb way, where I created an Incident (GENERIC OUTAGE) that folks can use, and every 15-30 minutes during an outage, I can open the problem and search for open incidents with that title, and attach all that I find from the problem
    side. This is assuming that once attached they will not show up in the search to attach the next time lol. Also this assumes that if attached from the problem, they will auto resolve when the problem is resolved.
    I am rusty on my programming, and am currently trying to get refreshed. I am sure that would come in handy for this :)
    Oh and lastly, one additional tidbit that will make this clearer, with regard to work flow, we re also running our Service Manager in our help desk, virtualized, as they have not upgraded to Win 7 yet :(. So that compiles my time to add ticket issue :(.

  • Adobe Photoshop CS3 had encountered a problem V10.0.0.0

    Photoshop V10.0.0 will not open. It crashes as its loading the Twain drivers at start up. I am running Windows XP.
    I've tried deleting the preferences file, reloading Photoshop and, as a desperate measure, deleting and reloading CS3. Nothing has worked. I tried upgrading photoshop but still no luck. Set my default printer to PDF, still nothing. Disabled my firewall, still nothing.....
    The worst bit is its been working quite happily since June 07 and then in late Nov early Dec it decided not to work. I also had a printer problem during this time and reinstalled the printer software, but photoshop wasn't working before I did that.
    The error I get is:
    Adobe Photoshop CS3 has encountered a problem and needs to close
    Error signature App Name: photoshop.exe
    AppVer 10.0.0.0
    ModName: unknown
    ModVer: 0.0.0.0 Offset 0.0.0.0.0.0.0.4
    Any assistance would be great - I am getting desperate!
    Regards
    Sally

    When I uninstalled my Dell 944 printer Photoshop worked. When I reloaded my printer it crashed again. It seems to crash everytime it loads the TWAIN part of the photoshop opening screen.
    I've tried downloading and installing the latest driver from Dell for the printer but its 2005 and the same as the one I have so no luck there.
    I still need my printer to work (its my scanner as well) but I am desperate to get Photoshop back! Any clues??

  • InDesign to Adobe Acrobat to Adobe Reader Link problem

    Hi - I'm responsible for a long conversation about link problems in creating file links in InDesign that did not work in Acrobat. At the end of that long discussion, I thought I solved the problem, but didn't. Since then, I've been MUCH more observant.
    The problem appears to take place in Adobe Reader.
    My home computer on Win7 is different than my work Computer (XP), but I have the same software on both.
    At work, I discovered that when I clicked on a PDF, it worked fine, that its links opened a new PDF window, but when I clicked on links on the second document, the links failed and Microsoft returned an error message telling me that I was screwed. Because I was screwed, I couldn't see what was in the path of that error.
    It turns out that for some unknown reason (which you might clarify for me), my Adobe Readers are attempting to open my documents in Internet Explorer and that just won't work.
    What I observed at home is that I made 5 test documents in ID, and ported them to Acrobat. As it turns out, my default for opening PDFs is Adobe Reader, which I saw on the chrome of the first document I opened. When I clicked a link, and I got the error message, I noticed my browser was up.
    When I set my default for opening in Acrobat, everything worked like a charm! How about that!
    Now then, what that says to me is that Adobe Reader is to be used exclusively with a browser, so if the people who are going to read your internal PDF files with Reader without those files being on a web server of some type, you are totally screwed. The only way you can use Reader is if you click on the file and bring it up directly. Don't rely on linking to other documents.
    I mean, that is what it seems to me.
    Now, I am creating a big project for an environment without a webserver and obviously my sense of panic is palpable. That said, I believe that all my users can read my files using Acrobat (to be tested tomorrow), which I hope means I can breathe a bit easier.
    Do any of you have any thoughts on this subject? If you are really curious, I can make a packet of test files available.

    Karen_Little wrote:
    The files and the PDFs are all in the same directory.
    The tests are on local drives. All indesign files and their related PDFs were in the same directory.
    The same for Word and its related PDFs. Note that the PDFs created by Word then read by Adobe Reader worked correctly. They all opened in Adobe Reader.
    If the default program for opening PDFs is Acrobat, everything works correctly, with the added benefit of everything opening in a different window, which is what I want (yet to be tested at work). If the default program is Adobe Reader, the second generation of links do NOT work because Reader opens in Internet Explorer.
    When I open a Word-created PDF with Acrobat, view the link, and click to the Actions menu, the action is "Open a file"
    When I open an InDesign PDF with Acrobat and do the same, the action says "Open a web link"
    Big BIG BIG bug.
    Are you seeing the link commands by editing them in Acrobat? If not, try, so you can see the exact command and file or URL instruction. It still may be a bug, but you'll have better evidence when you report it here:
    Adobe - Feature Request/Bug Report Form
    And, you might want to try correcting a link command in Acrobat, to see if can work for both Acrobat and Reader.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Dreamweaver CS3 has encountered a problem...

    I have searched the interent for hours trying to resolve this issue.
    Everytime I open up DW, i get the error message:
    "Adobe DW CS3 has encountered a problem and needs to close."
    When i click "send error report" or "Dont send,"  DW closes.
    If I just leave that alone, i can work in DW.
    The problem is its also doing it for Adobe Acrobat 8.0.
    I am operating on XP.
    I have tried to go in and unistall the entire Adobe Creative Suite.  I click on "remove" and nothing happens.
    I am really frustrated with this.  Any help is appreciated.

    Does CuteFTP work on it's own when DW is closed?
    I too, use CuteFTP in conjunction with DW and have for many years and have never had such a problem.
    Are you doing anything specific in Cute FTP when DW crashes?

  • Re: Fwd: Link Problems With Borland C++ 4.52

    I have seen this problem before in another context, and I'll offer the
    cause and solution in the hope that they will apply to the Crystal problem.
    Many Windows based applications rely on PASCAL calling conventions, which
    change the way parameters are handled in function/method calls. They
    indicate this by placing one of the following immediately before the
    function name in the prototype declarations:
    - pascal_far (or something like that)
    - WINAPI
    - some other typedef of either of the above
    For example:
    int WINAPI AddTotal(int valueA, int valueB);
    Unfortunately, v2.0 of Forte does not provide any mechanisms for changing
    the calling conventions of the prototypes in the generated C++ wrapper
    library, so when you compile that code, the linker fails. I think that the
    compiler may generate different symbols depending on calling conventions,
    so that's why it fails.
    To fix this, don't autocompile your code, but generate the distribution, go
    into the generated C++ files and look for the function prototypes (I think
    you can search for FORTE_NO_PROTOTYPES), add WINAPI to the appropriate
    places in the prototype definitions (see above) and use fcompile to build
    the library. Instructions for fcompile are in the Interfacing With
    External Systems manual.
    Hope this helps,
    James
    At 11:05 AM 5/29/97 PDT, you wrote:
    >
    We are trying to wrapper Crystal Reports from Forte. I know that there
    are a number of other people in this same boat, as I've seen messages
    posted here at various points during the past few weeks. We are having
    a particular problem with getting the compile to go through, which we
    have sent in to Forte Tech Support. I'm forwarding the message I sent
    Tech Support to this group in the hopes that someone here may have
    already seen and resolved a similar problem.
    Thanks in advance for any help you can offer!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    >
    Date: Wed, 28 May 97 13:47:20 PDT
    From: dg7077a
    To: Forte Technical Support
    Cc: Gardner, Steve
    Subject: Link Problems With Borland C++ 4.52
    Name of requestor: [Dale V. Georg / Alaiah Chandrashekar]
    Company: [Indus Consultancy Services]
    Phone for callback: [(610) 709-3956]
    Customer Site: [Mack Trucks, Inc.]
    Product: [Forte]
    Version of Forte: [2.0.H.1]
    Server OS: [SunOS 5.5.1]
    Client OS: [Windows 3.1]
    DBMS: [Oracle 7.2.3]
    Reproducible?: [Yes]
    Brief description: [Link Problems With Borland C++ 4.52]
    Complete description of problem or question:
    We are attempting to write a C-wrapper interface from Forte to Crystal
    Reports' Report Engine. We are using Borland C++ version 4.52.
    Unfortunately, we have been unable to get a clean compile after a day
    and half of effort. We get as far as the link stage of the
    compilation, and
    the compiler aborts with an "Unknown symbol" error message for each
    of the functions we are trying to wrapper. We have tried a number of
    ideas to fix this problem, and are continuing to try to solve it on
    our own,
    but any help would be greatly appreciated. Please have someone call
    Alaiah Chandrashekar at the number above as soon as possible.
    Thanks!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    James Urquhart [email protected]
    Product Manager phone: (510) 986-3513
    Forte Software, Inc. fax: (510) 869-2092

    James,
    Thanks for your quick response. Yesterday we had been running down
    the path of examining the calling conventions and trying to change them
    to PASCAL, but without much success. After receiving your note, we
    went back over it again, and this time we were able to finally to piece it
    together. In addition to editing the Forte-generated .cc file to declare
    the functions as PASCAL, we also had to turn off the compiler's case
    sensitivity. (The Crystal .lib file had the function names in mixed case,
    but the Borland compiler was generating all uppercase for the names.)
    Now I had actually tried this yesterday and it didn't work (in fact it
    generated a whole bunch of new errors) - because until we took a
    second look at it today, I didn't realize that Borland's linker actually has
    TWO flags that control case sensitivity. If you only turn one or the
    other off, things can get pretty ugly looking. As soon as we turned
    both of them off, the compile and link went beautifully. Again, thanks
    for your help; hopefully we are over the worst of it now!
    Dale
    I have seen this problem before in another context, and I'll offer the
    cause and solution in the hope that they will apply to the Crystalproblem.
    >
    Many Windows based applications rely on PASCAL callingconventions, which
    change the way parameters are handled in function/method calls.They
    indicate this by placing one of the following immediately before the
    function name in the prototype declarations:
    - pascal_far (or something like that)
    - WINAPI
    - some other typedef of either of the above
    For example:
    int WINAPI AddTotal(int valueA, int valueB);
    Unfortunately, v2.0 of Forte does not provide any mechanisms forchanging
    the calling conventions of the prototypes in the generated C++wrapper
    library, so when you compile that code, the linker fails. I think thatthe
    compiler may generate different symbols depending on callingconventions,
    so that's why it fails.
    To fix this, don't autocompile your code, but generate thedistribution, go
    into the generated C++ files and look for the function prototypes (I think
    you can search for FORTE_NO_PROTOTYPES), add WINAPI tothe appropriate
    places in the prototype definitions (see above) and use fcompile tobuild
    the library. Instructions for fcompile are in the Interfacing With
    External Systems manual.
    Hope this helps,
    James
    At 11:05 AM 5/29/97 PDT, you wrote:
    We are trying to wrapper Crystal Reports from Forte. I know that
    there
    are a number of other people in this same boat, as I've seenmessages
    posted here at various points during the past few weeks. We arehaving
    a particular problem with getting the compile to go through, whichwe
    have sent in to Forte Tech Support. I'm forwarding the message Isent
    Tech Support to this group in the hopes that someone here mayhave
    already seen and resolved a similar problem.
    Thanks in advance for any help you can offer!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc.
    [email protected]
    >
    >>
    Date: Wed, 28 May 97 13:47:20 PDT
    From: dg7077a
    To: Forte Technical Support
    Cc: Gardner, Steve
    Subject: Link Problems With Borland C++ 4.52
    Name of requestor: [Dale V. Georg / AlaiahChandrashekar
    Company: [Indus Consultancy Services]
    Phone for callback: [(610) 709-3956]
    Customer Site: [Mack Trucks, Inc.]
    Product: [Forte]
    Version of Forte: [2.0.H.1]
    Server OS: [SunOS 5.5.1]
    Client OS: [Windows 3.1]
    DBMS: [Oracle 7.2.3]
    Reproducible?: [Yes]
    Brief description: [Link Problems With Borland C++ 4.52]
    Complete description of problem or question:
    We are attempting to write a C-wrapper interface from Forte to
    Crystal
    >>
    Reports' Report Engine. We are using Borland C++ version 4.52.
    Unfortunately, we have been unable to get a clean compile after aday
    and half of effort. We get as far as the link stage of the
    compilation, and
    the compiler aborts with an "Unknown symbol" error message foreach
    of the functions we are trying to wrapper. We have tried a numberof
    ideas to fix this problem, and are continuing to try to solve it on
    our own,
    but any help would be greatly appreciated. Please have someonecall
    Alaiah Chandrashekar at the number above as soon as possible.
    Thanks!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, [email protected]
    James Urquhart [email protected]
    Product Manager phone: (510) 986-3513
    Forte Software, Inc. fax: (510) 869-2092-----------------------------------------------------------------------------------
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    [email protected]------------------

  • Oracle 9.2.0.1.0 installation link problems.....HELP !!!!!!

    Hi All
    During installation of Oracle 9.2.0.1.0 on Linux, I received the following error:
    Error:
    Error in invoking target install of makefile
    /opt/oracle/product/9.2.0.1.0/network/lib/ins_oemagent.mk
    I did some research and found that it is executing the "relink" script. So I tried to debug it it. Here is the output:
    [oracle@redash oracle]$ cd /opt/oracle/product/9.2.0.1.0/bin/
    [oracle@redash bin]$ relink oemagent
    chmod 755 /opt/oracle/product/9.2.0.1.0/bin
    if [ linux = aix ]; then \
    gcc -L/opt/oracle/product/9.2.0.1.0/lib/ -L/opt/oracle/product/9.2.0.1.0/rdbms/lib -L/opt/oracle/product/9.2.0.1.0/network/lib -L/opt/oracle/product/9.2.0.1.0/lib/ -L/opt/oracle/product/9.2.0.1.0/rdbms/lib -L/opt/oracle/product/9.2.0.1.0/network/lib -o dbsnmp /opt/oracle/product/9.2.0.1.0/network/lib/s0nmi.o -lvppdc /opt/oracle/product/9.2.0.1.0/network/lib/libvps.a \
    /opt/oracle/product/9.2.0.1.0/network/lib/libnmi.a \
    /opt/oracle/product/9.2.0.1.0/network/lib/libnmd.a /opt/oracle/product/9.2.0.1.0/network/lib/libnms.a /opt/oracle/product/9.2.0.1.0/network/lib/libnmt.a /opt/oracle/product/9.2.0.1.0/network/lib/libnml.a \
    /opt/oracle/product/9.2.0.1.0/network/lib/libnmi.a /opt/oracle/product/9.2.0.1.0/net[i]Long postings are being truncated to ~1 kB at this time.

    Before installing Oracle 9.2 on linux (i'm using redhat 7.2), there are some steps you have to issue.
    Those link problems are related to the wrong version of binutils, you need binutils-2.10.0.18-1.i386.rpm
    You need also JDK,to set some kernel parameters and so on..
    However follow the steps of this link http://www.puschitz.com/OracleOnLinux.shtml
    For me it worked.
    Hope this helps
    Tarek

  • Pro*C linker problems

    System is Linux Mandrake 6.0 with Oracle 8i, with the 8i patch
    applied.
    What a nightmare that install was! Lots of permission problems,
    unreadable directories, programs with no execute permission on
    them and so on.
    I now have a database up and running, and am trying to get Pro*C
    working. The code was written on RedHat 5.2 with Oracle 8.0.5,
    and worked fine there, so I know it is not a fundamental code
    problem!
    I have patched the pcscfg.cfg file as detailed in the patch FAQ
    (with modifications for the slightly different paths under
    Mandrake Linux).
    When I compile the Pro*c file, I get many "undefined reference
    to 'dbcon'" and "undefined reference to 'ctx'" errors from the
    linker. This occurs whether I use a pre-defined list of specific
    libraries in my own Makefile, or if I use the standard
    demo_proc.mk makefile. I have used nm(1) on every place I can
    think of, to try to find the required library/object, but to no
    avail.
    I appreciate that Oracle have so far only certified Oracle for
    Linux against Redhat 6.0, but surely Mandrake can't be THAT
    different ;-)
    Does anybody have any ideas, known problems etc? I REALLY HOPE
    that I don't have to switch to Redhat as the only solution - no
    problem with Redhat, it would just require a tedious and
    complicated system rebuild, which I don't have the time to do :-(
    TIA
    Mike Holden
    null

    Robert B     gin (self) (guest) wrote:
    : Robert B     gin (guest) wrote:
    : : Since I've last posted, I've installed RedHat 5.2 and
    ditched
    : : Slackware!
    : : (btw, what a breeze - Hat's off to RH! very nice install!).
    : : I've then installed oracle, have managed to setup
    tnsnames.ora
    : : so I can connect via sqlplus to my remote database (on
    : VAX/VMS).
    : : But now I have Pro*C linker problems with:
    : : make -f demo_proc.mk build OBJS=test.o exe=test
    : : (blah,blah,blah)
    : : /usr/lib/crt1.o(.text+0x36): undefined reference to `main'
    : : make: *** [build] Error 1
    : : Does anybody out there have a similar problem?
    : : Rob
    : Duh! forget it... (EXE has to be caps... RTFM)
    : (cryptic error message though?)
    : works great!!!
    Could you please tell me where I can get demo_proc.mk file
    for Linux (RedHat)?
    Thanks
    null

  • OCCI Link Problem

    Hi,
    I am using Oracle 9.2.0.1.0, Redhat 9, gcc 2.96, glibc 2.3.2-11.9. I continually receive the following link problem:
    /usr/bin/ld: warning: libclntsh.so, needed by /opt/ora9/product/9.2//lib/libvdc.so, not found (try using -rpath or -rpath-link)
    /opt/ora9/product/9.2//lib/libocci9.a(occiUtil.o)(.text+0x99f): In function `oracle::occi::toUpperCase(basic_string&lt;char, string_char_traits&lt;char&gt;, __default_alloc_template&lt;true, 0&gt; &gt; const &)':
    : undefined reference to `__ctype_toupper'
    collect2: ld returned 1 exit status
    Can anyone assist in resolving this issue?
    Thanks
    JD

    Removed libocci9 and it compiled.
    JD

  • How to remove .dwt templates from Creative Cloud Business Catalyst site?

    Hi,
    I've created a site in Dreamweaver using one of my free creative cloud sites.  There is a site structure automatically in place that is using the .dwt Dreamweaver templates with editable regions.  I've found this is really impairing my workflow and I would like to convert the site to just using regular .html templates without editable regions.
    When I try to upload a template file with a .html extension via SFTP I get a permissions error.  I haven't found any other way around this either.
    Can someone help me convert the site from using .dwt templates to using .html templates without editable regions?
    Thanks,
    Jeff

    Hi Jeff,
    All files including templates on BC are .html based. IF you have .dwt files on there it is because you did not go through the DW BC tool or extension(older DW) and just uploaded them. Delete them - BC does not use them if you have those on the host.
    In terms of just directly uploading you need to ensure two things with templates.
    1. The folder locally is EXACTLY the same spelling and capitalisation as the host.
    2. The html file template HAS TO HAVE {tag_pagecontent} there to be classed as a template.
    I think 2 may be your issue?

  • Html link problem...

    Hey!
    Just wanned to say to those who answered my post on html link problems, that the problems I had were actualy because of the jdk version! I had jdk1.2 and now I have 1.3 and it works just fine.
    thanx a lot to everyone who tried to help!!!

    hehe i saw the topic "html link problem" posted by amidala and i thought " oh my god is she still struggling!" ;P
    Kewl 'twas not a problem!

Maybe you are looking for

  • Error messages in COGI

    Hi, We have scheduled a custom program (which is copy of MB26) in back ground to make goods issues against reservations. Reason behind developing custom program is to modify the selection screen. The batch job executes for every 5 minutes in back gro

  • Music not appearing on mini ipod

    I bought my mini ipod 2 weeks ago. I loaded one set of music on it fine, but now i've updated my itunes library and am trying to transfer the rest of the music to my mini ipod. When I connect my ipod to the computer(it's set on automatic, but I've tr

  • How can i get FaceTime app? My iPhone 4 doesnt have it

    How can i get FaceTime app? My iPhone 4 doesnt have it

  • 4 Simple Flash Questions that Are Stumping Me!

    What is the Frame Rate for Web Animations Q1. I am making an animation which will be played on the web. What is the default frame rate (fps) of Flash CS5? And what is the frame rate of for web? Q2. My animation needs to be 30 seconds long. So at 15 f

  • Appstore does not accept my debit card of Sberbank,Russia

    All is in the head of this post I can't use my card to pay for what I need in AppStore from iPad as from iMac too. Visa sberbank. Classic Debit card.