Zen Cart Logo
Forums / General Questions / Getting bumped out of admin

Getting bumped out of admin

Locked

Views: 852

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
6 Jan 2010, 3:34 AM
#1
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Getting bumped out of admin

Suddenly, I am getting bumped out of the admin of http://michellesminiatures.com
My client wrote me that the "web site is calculating some weird shipping charges.## Not sure why.## One shipment to the UK for a mug, weight .13 pounds, was $29.00, and they said it could only go priority international."

So, I logged in to see how she has her International settings in USPS (Webtools) shipping module. But when I click to go to Modules > Shipping, I am instantly bumped out to the admin login page.

I looked for this problem here in the forum, and made sure that my security patches are current by re-uploading them - including security_patch_v138_20090619and security_patch_v138_20080919.php. I also uploaded the new (1/4/2010) USPS patch. None of these uploads cleared the problem.

6 Jan 2010, 4:17 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Getting bumped out of admin

Check the two files:
/includes/functions/html_includes.php
/admin/includes/functions/html_includes.php

and make sure that 1 they are different and 2 that you have the current one loaded in the Admin for the Security Patches ...

Next, check the directories:
/includes/modules/shipping
/includes/languages/english/modules/shipping

and make sure that you have code files in the right directory and language files in the right directory ...

then, make sure that you do not have extra files, such as backup files, in the
/includes/modules/shipping.php

as this is a self loading directory ...

NOTE: USPS also has a nifty little additional issue on the International on the number of decimals that it can take ...

Find this line of code:

    $shipping_ounces = (16 * ($usps_shipping_weight - floor($usps_shipping_weight)));

and change it to read;

    $shipping_ounces = (16 * ($usps_shipping_weight - floor($usps_shipping_weight)));
    $shipping_ounces = zen_round($shipping_ounces, 2);

there will be a proper fix posted before too long, I am just testing for any other idiot ... er ... idiosyncrasies that might exist ...

6 Jan 2010, 4:19 PM
#3
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Re: Getting bumped out of admin

I tried to do everything you listed, but couldn't do the very first one. I don't have the following two files:
includes/functions/html_includes.php and admin/includes/functions/html_includes.php. There is a html_OUTPUT.php in both locations, though. Is that what you meant?

~anne

6 Jan 2010, 4:40 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Getting bumped out of admin

Sorry ... posted before the coffee kicked in ...

The correct filename is: html_output.php and NOT html_includes.php

Sorry about that ... :smile:

6 Jan 2010, 5:20 PM
#5
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Re: Getting bumped out of admin

Hi Linda,

I tried the following:

I followed your instructions and did everything you suggested (assuming you meant html_output.php for those two first files) and was still pumped out of admin when trying to access modules > shipping.

So then I uploaded a complete 1.3.8a, with security patches and was bumped out of admin again. Then I uploaded the new USPS patch, with the international rates code change, and was bumped out again.

All that is left that has not been made new is the server, the database, and the template files.

Help!

~anne

6 Jan 2010, 5:28 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Getting bumped out of admin

Perhaps you could contact me via PM and we can look further into this ... :smile:

6 Jan 2010, 9:01 PM
#7
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Re: Getting bumped out of admin

OK Linda! I sent you a PM. ~anne