Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2 questions about 2.3 with new server


knifeman

Recommended Posts

Posted

My host upgraded my server and we now have php 5.3.27 Question 1. Before the upgrade my admin menu always stayed open to the configuration box. Now it acts like my old 2.2 store. Whichever box you open and click a link, that is the box that stays open. Any ideas as to why the behavior changed? 2. Now when I log in, I only am asked for my password once. The pop up window logs me right in without asking for the second password. My admin says I still have the additional protection:

This osCommerce Online Merchant Administration Tool installation is additionally secured through htaccess/htpasswd means.

But it is not making me use it. Any ideas as to why the behavior changed? And kinda off the topic, but the forum does not let me put line breaks in my text anymore. Tim

Posted

@@knifeman

 

Ensure your path is correct for jquery usage (the admin column uses it to expand the menu)

 

The second part is, you may have told Windows to remember your password

 

 

 

Chris

Posted

I used to like my host, but this is their answer:

This seems to be set up as a convenient way to avoid entering the login details twice (once in the "popup" screen and then again in the oscommerce admin login). In the code it seems to written to automatically login using the HTTP Authentication values we entered and seems it is set up by the software vendors.

this issue began immediately after upgrading my server. Not sure what to do next. As to the menu, Ijquery is correct as changes made there reflect on the site. I used some code from Burt (thanks!) to make box 3 default expanded, then added the who's online link to that box. Saves many clicks to navigate my admin. Tim

Posted
I used to like my host

 

The code is set up as the host says, which means this is a host that knows what they are talking about.

 

Having a double login is pointless, so the action is correct.

 

Burt (thanks!)

 

No problem.

Posted

The code is set up as the host says, which means this is a host that knows what they are talking about.

 

Having a double login is pointless, so the action is correct.

 

 

Burt, I do not understand. Prior to the upgrade, I logged in via a pop up window, then logged in again via the oscommerce page. Now I log in once, which is great, but not the same behavior as before. I did no upgrade to my store, only the server. Tim
Posted

Nothing to worry about. Your previous use was incorrect, now it is correct. osCommerce is set up to take the auth credentials and apply to the normal login if it can. If successful you are logged in.

 

Again, nothing to worry about.

Posted

Thanks again Burt.

It still bothers me that it changed without knowing why. If it changed for the better, that is good, but I still like to know why. I do not remember the php version prior to upgrading. Any idea why it worked wrong before (like you know my server settings)?

 

Tim

Posted

The pop up window logs me right in without asking for the second password. My admin says I still have the additional protection:

This osCommerce Online Merchant Administration Tool installation is additionally secured through htaccess/htpasswd means.

But it is not making me use it. Any ideas as to why the behavior changed? And kinda off the topic, but the forum does not let me put line breaks in my text anymore. Tim

You don't mention it but I assume you are referring to a 2.3 shop. If so, as I understand your problem, you are saying you get a .htaccess popup to login but not the standard 2.3 login page. In that case, your host is incorrect.

 

It is possible that the popup login would not show if you are in a browser that is remembering it and you had already logged in. And the second login won't show as log as the session has not timed out. But assuming neither to be the case, both should show, providing you have the option set to use the .htaccess. If not, the standard login should always show.

 

Try opening admin in a browser that you don't normally use and see what logins you get. You may or may not get the popup, depending upon if you have that set or not. But if you don't get the standard one, then there is a problem.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

Thanks for the reply Jack.

 

Yes, I am on a 2.3 store.

All browsers act the same way and all this started immediately after the server upgrade. I made no changes to the store, browser, windows, etc.

 

It seems like my admin session never times out. Even after 12 hours of inactivity. If I click logoff in the upper right, then I get the oscommerce login page. Otherwise I only need to login at the pop up.

 

Tim

 

under server info it says

session.gc_maxlifetime 1440 1440

 

I have the admin session mod added and set to 10800 seconds.

(The value you set is added to 10 minutes, so that you can not set this to 0 and mess yourself up.)

I will set this to a much smaller number when I go to lunch and see the result.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...