osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

php5 question+oscmax rc3

This is a discussion on php5 question+oscmax rc3 within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; My host is switching soon to php5 and mysql5 I have read about people having problems and having to switch ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 02-14-2008, 02:21 PM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default php5 question+oscmax rc3

My host is switching soon to php5 and mysql5 I have read about people having problems and having to switch have register globals on in php.ini or fixing it in the .htaccess file. The posts I read were with oscmax RC2. I use RC3 is this still an issue with that release? or should it be fine when they make the switch.

Thanks in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-20-2008, 12:04 PM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: php5 question+oscmax rc3

I put this contribution on my test site super easy and it states it will work with globals on or off, php 4 or 5 and won't break any modules like shipping or credit. It seems to work on my local machine test site but I can not verify on my local machine if it does not affect the shipping or credit modules. Has anyone used this on a live site yet? Thank you in advance.

osCommerce Community Add-Ons
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 02-25-2008, 01:00 PM
Lurker
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
freitas66
Default Re: php5 question+oscmax rc3

I still have problems with Oscmax 2.0 RC3 and PHP 5.
Does anyone knows when the final version will come throw?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 02-25-2008, 03:53 PM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: php5 question+oscmax rc3

Don;t think anyone around Freitas66 I know I tried the above contribution register globals easy and I thought it worked but it breaks the saved cart. If a customer logs out they lose the cart. CRAP!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 02-26-2008, 06:36 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,190
Thanks: 66
Thanked 290 Times in 276 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: php5 question+oscmax rc3

I have no problems with php5. See this thread:
Testers needed for register_globals/register_long_arrays=off
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 02-26-2008, 07:18 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: php5 question+oscmax rc3

Michael:

I have seen that thread. Did you install the changes mentioned in that thread? I know that I still get an error with RC3 on the local machine using xampp and php4 or 5 but not live using php 4. I am just trying to avert problems that may occur when the host switches next week. Also in that thread no one mentioned whether they tested the ups xml shipping module. Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 02-26-2008, 11:43 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,190
Thanks: 66
Thanked 290 Times in 276 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: php5 question+oscmax rc3

It could be a setting on your local machine causing the issue. I have no errors when adding the magic-seo solution, including no problems with saved carts.
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 02-26-2008, 03:17 PM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: php5 question+oscmax rc3

Nope I just made the changes and put it on my live site. Even though the customers saved cart is still in the database it does not show when they re login. Once I put the code back to what it was the cart shows back up when logging in. I am be-fuddled if that is a word and frustrated. Could it be a setting I have in the admin or another contribution that was installed?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 02-26-2008, 05:17 PM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: php5 question+oscmax rc3

Alright I narrowed it down to the changes causing this for my shop is in catalog/includes/functions/sessions .php If I do all the contributions changes except for this file it works and the saved cart shows back up. So now if anyone can tell me why?
I am still going crazy. If it worked in Michaels install why not mine.
Argggg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 02-26-2008, 05:47 PM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: php5 question+oscmax rc3

OK I have narrowed it down to the piece of code in the contribution at around line 112 of catalog/includes/functions/sessions that makes my store not be able to see the saved cart. Here is the exact contribution code for register globals easy that messes me up by not letting customers see saved cart when they re login

function tep_session_is_registered($variable) {
if(isset($_SESSION[$variable])) {
return true;
} else {
return false;
}
}


Here below is the original code in that section it replaced that worked

function tep_session_is_registered($variable) {
return session_is_registered($variable);
}


Is this enough detail to get the answer from someone who might know a bit more php than I?

Last edited by bkpie; 02-27-2008 at 06:12 AM. Reason: narrowed down the code
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Will oscMax work with php5 and MySQL5 ? (All featueres) ryankan1 osCMax v2 Installation issues 3 10-16-2007 06:31 PM
Can not run oscmax install script on php5 - here is the fix rabbit79 osCMax v2 Installation issues 6 09-22-2007 09:34 AM
osCMax 2.0 RC3 upgrade jpf osCMax v2 Announcements 1 12-15-2006 07:16 PM
Layaway Option for OSCMAX RC3 ALElder osCMax v2 Customization/Mods 2 11-04-2006 09:27 PM
osCMAx 2.0 RC3 Released Today michael_s osCMax v2 Announcements 0 08-04-2006 12:00 PM


All times are GMT -8. The time now is 03:52 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax