Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Link Fails on Application Server but Works On Full Version of Alpha 5v8

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Link Fails on Application Server but Works On Full Version of Alpha 5v8

    On a web page, I have a field set up that opens a new web page with google maps..

    My Calculated field is called "GoogleMaps" the calculated value is:
    "http://maps.google.com/maps?near="+words(Address,1,1)+"+"+words(Address,2,1)+"+"+words(Address,3,1)+"+"+words(Address,4,1)+"+"+words(Address,5,1)+"+"+lookupc("f",Zip,"trim(city)+'+'+state+'+'+zip","zipcodeplus","Zip")

    This will create a calculated value of:(sample)
    http://maps.google.com/maps?near=467...NCORD+CA+94521

    I set up this field as a link, with Link value Type = "Field value is link address"
    Target Frame = "New Window"

    It has worked great for months!! But just recently, it fails, and sends me to my server root address as: http://myserver/0?a5w_sessionId=blahblahblah

    I have tried rebuilding the page from scratch, reinstalling application server, and other variations of linking.. but..

    It always works with Full version of Alpha5v8 running on Server, but Never works with Application Server running on Server by itself.. (everything EXCEPT this type of linking still works fine!)

    Like I said, this problem suddenly appeared last week, prior to that everything was working great!

    help?

    Perry

    #2
    Re: Link Fails on Application Server but Works On Full Version of Alpha 5v8

    Hello Perry,

    Ironically I have been having issues with Mapquest for the last 2 weeks. I just found out they were "retooling" their site which should hopefully be resolved soon.

    I have the following calc fields for Mapquest
    Mapquest = "http://www.mapquest.com/maps/map.adp?zoom=12&style=1&address="+urlencode(alltrim(Site_address))+"&city="+urlencode(alltrim(Site_city))+"&state="+urlencode(alltrim(Site_state))+"&Zip="+urlencode(alltrim(Site_zip))+"&cid=lfmaplink"
    MapquestImage = "http://www.socialserviceemployment.com/jobs/images/mapquest.gif"

    Wish I could help further.
    Eric

    Alpha Five Websites
    longlivepuppies.com
    socialservicenetwork.com
    -------------------------------------------------
    socialservicenetwork.org

    Comment


      #3
      Re: Link Fails on Application Server but Works On Full Version of Alpha 5v8

      Yes, I ran into URL change with Mapquest last week too, but this is not Mapquest..

      The application server is ignoring the value in the field, and just sending me to the server root..

      if it was google maps url, then at least the url from application server would be http://maps.google..... instead of my server root ..

      Same with my links to Mapquest, Google, and YahooMaps (I have links to all 3)

      All three failed at same time, and like I said, the link doesn't even take me to their sites, unless I have Full version of Alpha5v8 running on server vs Application Server

      Comment


        #4
        Re: Link Fails on Application Server but Works On Full Version of Alpha 5v8

        Perry

        Here is what I use and it is currently working:

        Code:
        "http://maps.google.com/maps?f=d&hl=en&saddr="+alltrim(gvcompadd1)+",+"+alltrim(gvcompcity)+",+"+alltrim(gvcompst)+"+"+alltrim(gvcompzip)+"&daddr="+alltrim(Woshpadd1f)+",+"+alltrim(Woshpcityf)+",+"+alltrim(Woshpstf)+"+"+alltrim(Woshpzipf)
        It is always mind boggling when something just stops working. :)

        I had to alltrim the values I used as variables as I recall to make sure there were no random spaces in there messing things up.

        Not sure if it will help...but thought I would pass along my method.

        Jeff

        Comment


          #5
          Re: Link Fails on Application Server but Works On Full Version of Alpha 5v8

          Frustrated, but I just threw Alpha Software some unearned money, and purchased another copy of Alpha 5v8 Professional, so that at least I can get some work done.. My original copy is tied up on the server to make Application server work correctly.

          What a waste, I feel it MUST be something they changed..

          Oh well, at least it's not Bill Gates..

          Comment


            #6
            Re: Link Fails on Application Server but Works On Full Version of Alpha 5v8

            Perry

            I am sure if you send a bug report to Alpha they will take care of it if they can duplicate your issue. They are VERY good about that.

            Regards,

            Jeff

            Comment


              #7
              Re: Link Fails on Application Server but Works On Full Version of Alpha 5v8

              Depending on where your database resides, it could be this portion of your code:

              lookupc("f",Zip,"trim(city)+'+'+state+'+'+zip","zipcodeplus","Zip")

              On a server, normally the database is preceeded with an alias, as in "[PathAlias.ADB_Path]\zipcodeplus"

              This would explain why it works with the full version, not the server only.
              Steve Wood
              See my profile on IADN

              Comment


                #8
                Re: Link Fails on Application Server but Works On Full Version of Alpha 5v8

                You may want to read this thread.http://msgboard.alphasoftware.com/al...ghlight=google
                Insanity: doing the same thing over and over again and expecting different results.
                Albert Einstein, (attributed)
                US (German-born) physicist (1879 - 1955)

                Comment


                  #9
                  Re: Link Fails on Application Server but Works On Full Version of Alpha 5v8

                  THAT FIXED IT!!!

                  Steve Wood, you were right!
                  **************
                  Depending on where your database resides, it could be this portion of your code:
                  lookupc("f",Zip,"trim(city)+'+'+state+'+'+zip","zipcodeplus","Zip")
                  On a server, normally the database is preceeded with an alias, as in "[PathAlias.ADB_Path]\zipcodeplus"
                  This would explain why it works with the full version, not the server only.
                  __________________
                  Steve Wood
                  ***************

                  I changed "zipcodeplus" to "G:\blahblahpath\zipcodeplus"

                  And it works perfect! Thank You!

                  -Perry

                  Comment


                    #10
                    Re: Link Fails on Application Server but Works On Full Version of Alpha 5v8

                    If it works local, not on the server, I always start looking for Alias or database issues.

                    --------------

                    In case anyone wanted to know, and I hope I come across instructive and not smug, I always start off reviewing a post by looking at the original question and ignoring every subsequent post until I have formed some thought. Only then I check to make sure I am not being redundant or my theory was blown out of the water by someone else.

                    I assume the problem is some small seemingly insignificant omission on the part of the programmer, because 99% of the time that's why I have a problem. If not that, perhaps the poster has not given enough information or has a fundamental misunderstanding of how something works.

                    I ignore subsequent threads because it is natural for people (mostly with good intentions) to take the argument in some tangential and/or non-constructive direction (like my post here). These sub-threads take over as the central issue and distract me from understanding the root cause.

                    And if I'm not sure about my answer, I TEST on a live copy in my office before I post (admittedly I used to be more firm on that than lately).

                    I also often ignore questions where I know the answer is already on the forum; I think I'm not the only one that does this. It is sad though when some new user is involved in a discussion that is leading them no where, and a complete answer is just a search away. Another Steve points this out all the time to his credit.

                    On the other hand, some threads are like reading a good piece of poetry -- hope, wonder, gladness, appreciation, balanced by ridicule, angst, blame and retort. Someone should write a play just using forum thread posts, it would be a hit.
                    Steve Wood
                    See my profile on IADN

                    Comment

                    Working...
                    X