to upgrade the server to php 5.1.6 (apache 2.2.2) and the app no longer works. It was running on php 4.4.0.
The urls are also being rewritten with the session id that the module loading is not working. If you are not familiar with phpshop, the index.php acts as a controller loading various modules and delegating the request to them
With the upgrade the url is being rewritten with the session id as the first param
http://localhost/?SESSION_ID=880a04093e ... endor_id=1
but as you can see it gets messed up with the second question mark and i believe phpshop chokes on this.
I have tried setting every param I can think of to prevent the session id in the url but it doesn't seem to work. These are the params I set.
register_globals = On
session.use_trans_sid = 0
session.use_only_cookies = 1
url_rewriter.tags = ""
register_long_arrays = On
session.bug_compat_42 = 1
session.cookie_domain =thedomain.com
How can I get rid of the session id's from the URL once and for all?
Is there a known workaround for phpshop in php5, eg a new session class? or a fork or something that could help. It took me all day to reproduce the server environment. Its a biatch to get php 5.1.6 on Apache 2.2.2. I know this won't be the last of my problems and I only have a day to get this working
Thx in advance for any input.
cheers
Krish
Thanks. I posted that at 4am ..[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.