chrometweaks.org

Where did "iPage.com" get their name?

Click Here To View All Answers...


My 1st question is: Where did "iPage.com" get their name? Many thanks for any answer or 2. Another question... I've had a succesful 2.2ms2 copy up and running for quite some time..

Recently this has happened (or I've noticed it):.

When user goes to log in, is redirected to a 404 hit.

Https://[mySslHost]/index.html?action=process&osCsid=[blahblahblah].

This is wrong, intuitively it should go to:.

Https://[mySslHost]/[~myUserName]/index.html?[etc...].

My config file is in perfect shape and all other areas of the iPage site work well..

This line in [catalog level]\login.php is calling the redirect:.

Tep_redirect(tep_href_link(FILENAME_DEFAULT));.

As a temporary fix I've written an additional tep_redirect_alt() function for general.php which adds the "/~userName/"..

But this is strange behavior. Any ideas?.

Also, if a user tries to checkout with no items in his/her cart, the same type error occurs, a misdirect is executed to a file missing the preceding user path..

I haven't pulled up checkout_shipping.php yet, but I'm sure it will have a reference to tep_redirect()..

So, anybody every run into this?..

Comments (48)

I'm stumped. I'm not so sure what is the answer. I'll do some investigation and get back to you if I discover an good answer. You should email the people at iPage as they probably could help you..

Comment #1

Roger. Obviously something's wrong..

When I said perfect shape, that was being lazy for not saying that my DIR_WS_HTTP_CATALOG and DIR_WS_HTTPS_CATALOG defines are set right. As are the other pertinent constants..

After playing around with it, I've found that if a user clicks on checkout, or myaccount, and then is redirected to the login page, they will not get the 404 but will be allowed to open the checkout_shipping and account pages. It's only when a user tries to plain "log in" that the 404 happens. What boggles my mind is that all three methods (I believe) make calls to tep_redirect..

My workaround is in place and solid, but it only applies to this one error, I did a search for all calls to tep_redirect() in osCommerce, and got <b>188 hits in 60 files!</b>.

Now I guess I should test all 60 pages for all their redirects to see if I need to change them to my alternate redirect funcation as well...

Comment #2

No the redirect is not the problem. You have a misconfiguration somewhere in your config files. Vger..

Comment #3

You are thinking on target, that's what I thought too..

But I checked it. Here, I'll illuminate the situation a little more:.

As far as I have tested, all other navigation redirects are valid, they all manage to glue the proper pieces together.

(i.e..

Http://host.texas.co...sUser/index.php.

Or whatever).

But only these two lines so far, in login.php and checkout_shipping.php result in a location of:.

Http://host.texas.com/index.php.

(or checkout_shipping.php):.

Login.php.

Line 65 is the redirect call. And FILENAME_DEFAULT is "index.php".

Checkout_shipping.php.

Line 24 is the redirect and FILENAME_SHOPPING_CART is "shopping_cart.php".

Compare to a working redirect call right above this in the same file:.

Checkout_shipping.php.

Notice the empty single quotes on Line 19. This is the $parameter for tep_href_link(). Also, the 'SSL' argument.

Should.

Be assumed by tep_redirect(), that's what it's for!.

Anyway, as I was copying and pasting the snippets, I thought I'd add the empty second argument and 'SSL' third argument to see what happens..

Viola!.

It works now without my alternate redirect(). However, the fact that I had to do all this is still justification for "strange behavior.".

Looks like I'm back to checking all 188 entries.....

Comment #4

I've had a succesful 2.2ms2 copy up and running for quite some time..

Recently this has happened (or I've noticed it):.

When user goes to log in, is redirected to a 404 hit.

Https://[mySslHost]/index.html?action=process&osCsid=[blahblahblah].

This is wrong, intuitively it should go to:.

Https://[mySslHost]/[~myUserName]/index.html?[etc...].

My config file is in perfect shape and all other areas of the iPage site work well..

This line in [catalog level]\login.php is calling the redirect:.

Tep_redirect(tep_href_link(FILENAME_DEFAULT));.

As a temporary fix I've written an additional tep_redirect_alt() function for general.php which adds the "/~userName/"..

But this is strange behavior. Any ideas?.

Also, if a user tries to checkout with no items in his/her cart, the same type error occurs, a misdirect is executed to a file missing the preceding user path..

I haven't pulled up checkout_shipping.php yet, but I'm sure it will have a reference to tep_redirect()..

So, anybody every run into this?..

Comment #5

Despite.

This still looks like a misconfiguration to me. Some problems do not crop up until you try to follow the Login/Logout and Checkout process through from beginning to end. The redirect back to the index.php is there for when an error occurs, and is the default response to login or checkout errors in config. Hope this helps - Vger..

Comment #6


This question was taken from a support group/message board and re-posted here so others can learn from it.