Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Rude awakening; PHP 4.2.3 and Sessions


omars

Recommended Posts

I woke up this morning to find that my web hosting company had

upgraded from PHP 4.2.1 to PHP 4.2.3, and that as a result, my web site

didn't work any longer

 

The problem was related to the way sessions were handled. I set STORE_SESSIONS to "mysql" and that solved the problem; however, what are the consequences of such change, is that really the way to solve this problem?

 

On a different subject, I am running on a snapshot taken sometime in May or June 2002. I want to upgrade to the latest and greatest snapshot, however, I have tried several times, but for some estrange reason, the latest snapshots don't allow me to create an account. The state drop down menu doesn't show up, and consequently I can't create an account, check out, etc. Am I doing something wrong?

 

I have tried Netscape 6.0 and IE 6.028. My web hosting Co is using:

Apache/1.3.26 (Unix) mod_bwlimited/1.0 PHP/4.2.3

 

In my PC I am using:

Windows XP, Apache/1.3.26, PHP Version: 4.2.1 (Zend: 1.2.0)

 

Thanks a bunch in advance for shedding some light on this subject.

 

Omar

Link to comment
Share on other sites

I guess it is good when I can answer my own questions.

 

I woke up this morning to find that my web hosting company had

upgraded from PHP 4.2.1 to PHP 4.2.3, and that as a result, my web site

didn't work any longer

 

The problem was related to the way sessions were handled. I set STORE_SESSIONS to "mysql" and that solved the problem; however, what are the consequences of such change, is that really the way to solve this problem?

 

This morning I went and reset STORE_SESSIONS to '', instead of 'mysql',

and it worked this time. I guess there was something incorrectly set,

or something they missed, and now they fixed it. Clearly I wasn't the

only one affected. :D

 

On a different subject, I am running on a snapshot taken sometime in May or June 2002. I want to upgrade to the latest and greatest snapshot, however, I have tried several times, but for some estrange reason, the latest snapshots don't allow me to create an account. The state drop down menu doesn't show up, and consequently I can't create an account, check out, etc. Am I doing something wrong?

 

I have tried Netscape 6.0 and IE 6.028. My web hosting Co is using:

Apache/1.3.26 (Unix) mod_bwlimited/1.0 PHP/4.2.3

 

In my PC I am using:

Windows XP, Apache/1.3.26, PHP Version: 4.2.1 (Zend: 1.2.0)

 

Over the weekend I downloaded, and tested, the latest snapshot, and

it now works as expected, the drop down menu is till not there, but

when I type the name of a valid state, it accepts it. If I type an invalid

name, then it prompts me with a drop down list of valid states. :oops: I guess

I wasn't doing anything wrong. :wink:

 

Thanks a bunch in advance for shedding some light on this subject.

 

Omar

 

Omar

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...