0
Welcome Guest! Login
0 items Join Now

404 Error

  • 404 Error

    Posted 14 years 6 months ago
    • On BarAndRestaurantBenefits.com I am getting this

      404 - Component not found error.
      You may not be able to visit this page because of:
      an out-of-date bookmark/favourite
      a search engine that has an out-of-date listing for this site
      a mistyped address
      you have no access to this page
      The requested resource was not found.
      An error has occurred while processing your request.
      Please try one of the following pages:

      Home Page
      If difficulties persist, please contact the System Administrator of this site.


      To reproduce this go to > http://barandrestaurantbenefits.com/index.php?option=com_content&view=frontpage&Itemid=78 > then choose Kentucky > Click Go. It will pop up the correct page in a new window as it should, but the original window shows the component error...

      Any thoughts?

      Joomla 1.5.21
      Windows 7 64 bit
      Google Chrome Browser / IE8 / Firefox
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: 404 Error

    Posted 14 years 6 months ago
    • I think your windowDoPop is lacking a bit. When the new window opens and a valid URL is found, such as Alabama and Wisconsin, there is no issue as your original windows URL bar contains your sites address and the concatenated new windows address.
      However when you click on a state that has no available quotes or the server is down like ip.aetna then your URL concatenated with an invalid one, I would think this is where the 404 is coming from.
      Have you considered using a wrapper instead of a new window.
      If not a wrapper maybe this thread will shed some light on your issue -> http://www.rockettheme.com/forum/index.php?f=67&t=53031&rb_v=viewtopic
      wpd30
  • Re: 404 Error

    Posted 14 years 6 months ago
    • Thanks for the response Dan. With my drop down menu I have 50 states with multiple links. I don't really want to create a fancy 404 page...

      I fixed the aetna link so now that pop up is opening fine. My main problem is why do i get the 404 page when California is selected?

      With regards to my windowDoPop code what is it lacking? I got the code off an html website because i don't know how to code...

      Thanks for your help!
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: 404 Error

    Posted 14 years 6 months ago
    • Brandon Parrish wrote:
      My main problem is why do i get the 404 page when California is selected?

      When you click on a state that is VALID, the way the WindowDoPop script seems to work it ends up appending its URL to yours and the two give you a valid page on your site. It would seem to me if the URL for California is invalid then when appended the two combined give you a 404. Can you summon California with its own URL to see if that is valid?
      Again I would take a look at doing this with a wrapper. If the wrapper fails its only that window that will 404 NOT your initiating site window.
  • Re: 404 Error

    Posted 14 years 6 months ago
    • Ok i found some html to replace my old code and now the 404 errors are gone. Only thing is now every link opens in the same window. That is fine for the links that go to wrappers like, South Dakota, or my California link. But for the links like for Alabama and Alaska that navigate away from the site i wanted these links to open in a new window so that my site stays up on the screen. I tried adding the target="_blank" coding behind the links but it does nothing. Do i have to add that option to the script code for it to work? If so where would i put it?

      Thanks!!!!

      Here is the script code:
      <SCRIPT TYPE="text/javascript">
      <!--
      function dropdown(mySel)
      {
      var myWin, myVal;
      myVal = mySel.options[mySel.selectedIndex].value;
      if(myVal)
         {
         if(mySel.form.target)myWin = parent[mySel.form.target];
         else myWin = window;
         if (! myWin) return true;
         myWin.location = myVal;
         }
      return false;
      }
      //-->
      </SCRIPT>
       
      <FORM 
           ACTION="../cgi-bin/redirect.pl" 
           METHOD=POST onSubmit="return dropdown(this.gourl)">
      <SELECT NAME="gourl">

Time to create page: 0.068 seconds