osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Testers needed for register_globals/register_long_arrays=off

This is a discussion on Testers needed for register_globals/register_long_arrays=off within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Hi All, I found several problems in the original port. Most notably: Sessions still did not behave correctly. oscMax expected ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #11  
Old 06-07-2007, 05:14 PM
New Member
 
Join Date: Mar 2007
Location: Portland
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
tbirnseth is on a distinguished road
Default Re: Testers needed for register_globals/register_long_arrays=off

Hi All,

I found several problems in the original port. Most notably:
  1. Sessions still did not behave correctly.
  2. oscMax expected more info to be in the environment than exists under PHP-5.
So I fixed the session issues and added a psuedo function that resides in application_top.php called TBgetenv(). This tries to pick out the environmental value from other system arrays before making a final call to getenv(). I then did a global search/replace of 'getenv' with 'TBgetenv'.

I believe the application is functioning correctly. I still have some issues with it myself, but don't believe they are related to the port to PHP-5 and register_globals/register_long_arrays.

A new zip file is located at: http://www.ez-order-manager.com/osc/..._arrays_v2.zip
__________________
tony
http://www.ez-order-manager.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #12  
Old 10-27-2007, 06:51 AM
Member
 
Join Date: Jan 2007
Posts: 30
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 0
jmdesign is on a distinguished road
Default Re: Testers needed for register_globals/register_long_arrays=off

Hi,

Having an absolute nightmare trying to install Osmax on a client's web server which has register globals disabled and the host won't enable it and changing host's isn't an option.

I've tried the oscommerce register globals contribution which didn't work at all (through up loads of errors when i tried to view the front and backend), also tried changing the htaccess file and creating a php.ini file without any joy.

I've just tried this contribution but this doesn't appear to work either, uploaded all the files and successfully went through the setup procedure then when i go to veiw the front end it looks a right mess - osCMax v2.0 : Welcome to MakeUpMirrors4U!, doesn't look like the stylesheet file is linked properly, obviously this isn't a problem though as i won't be using the stock template. I can't access the admin area though which is a problem, i just get this error - osCMax v2.0.

Can anybody help me as i'm seriously running out of options.

Thanks,

James
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #13  
Old 10-27-2007, 11:28 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,426
Thanks: 73
Thanked 334 Times in 313 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: Testers needed for register_globals/register_long_arrays=off

James, I have not tried it myself, but this looks like it is worth a try :
osCommerce SEO - Running osCommerce with Register Globals Off - Magic SEO URL - Search Engine Optimization

Let us know how it works for you.
__________________
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.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to michael_s For This Useful Post:
jmdesign (10-28-2007)
  #14  
Old 10-28-2007, 03:07 AM
MindTwist's Avatar
Active Member
 
Join Date: Jun 2007
Location: Barcelona, Spain
Posts: 338
Thanks: 9
Thanked 26 Times in 25 Posts
Rep Power: 3
MindTwist will become famous soon enoughMindTwist will become famous soon enough
Default Re: Testers needed for register_globals/register_long_arrays=off

Quote:
Originally Posted by jmdesign View Post
I can't access the admin area though which is a problem, i just get this error - osCMax v2.0.

Quite weird, but the first time I accessed that link, I did get the normal OSCMAX admin login screen.
Closed the tab, tried again, and now I get the following error:

Quote:
Warning: require(includes/languages/0.php) [function.require]: failed to open stream: No such file or directory in /home/fhlinux168/t/thetailorscat.co.uk/user/htdocs/shop/admin/includes/application_top.php on line 210

Warning: require(includes/languages/0.php) [function.require]: failed to open stream: No such file or directory in /home/fhlinux168/t/thetailorscat.co.uk/user/htdocs/shop/admin/includes/application_top.php on line 210

Fatal error: require() [function.require]: Failed opening required 'includes/languages/0.php' (include_path='.:/usr/share/pear-php5') in /home/fhlinux168/t/thetailorscat.co.uk/user/htdocs/shop/admin/includes/application_top.php on line 210
That was with Firefox. So I tried with Explorer, and the same thing happened... The first time, the login screen showed ok, I did a reload, and the error showed up
__________________
MindTwist of Twisted Reality and Twisted Tienda
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 10-28-2007, 07:00 AM
Member
 
Join Date: Jan 2007
Posts: 30
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 0
jmdesign is on a distinguished road
Default Re: Testers needed for register_globals/register_long_arrays=off

Hi Guys,

Thanks for the help/advice.

I've followed the instructions on the link you posted up Mike and it's definately an improvement on the other methods i've tried although it's still not working completely correctly.

I've got an error on the admin login page and the default login details don't appear to work either

Any ideas what the problem could be? The code around line 130 is some of additional code i added from that solution:

PHP Code:
// Register Globals MOD - http://www.magic-seo-url.com
  
if (!ini_get("register_globals")) {
    if (
version_compare(phpversion(), "4.1.0""<") === true) {
      if (isset(
$HTTP_SESSION_VARS)) $_SESSION &= $HTTP_SESSION_VARS;
    }
    
extract($_SESSIONEXTR_SKIP);
  } 
Thanks,

James
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16  
Old 02-26-2008, 06:01 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 298
Thanks: 23
Thanked 35 Times in 34 Posts
Rep Power: 6
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: Testers needed for register_globals/register_long_arrays=off

I have loaded the one michael referenced above from magic seo and all works but the saved cart. Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17  
Old 02-28-2008, 07:41 AM
Lurker
 
Join Date: Feb 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nexe is on a distinguished road
Default Re: Testers needed for register_globals/register_long_arrays=off

"Hi , i have tried this installation and basically i have several problem running my shop. Below is the list, anybody please i really need your help

1. after install i have problem with buy now button, giving me some SQL error
Later i fix it using some guide in this forum which modify my application
top file.
2. Then i figure out that whenever i add to cart some product the cart
empty.
3. On top of that add to wishlist also end up empty.

at the momment these are my problem i really don't know how to move on from here. Some help really needed here.

Thanks"

I have the same problem, i found plenty of errors regarding sessions and de cart empty, need help too!!!

Thanxz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18  
Old 02-28-2008, 11:02 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 298
Thanks: 23
Thanked 35 Times in 34 Posts
Rep Power: 6
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: Testers needed for register_globals/register_long_arrays=off

Quote:
Originally Posted by jmdesign View Post
Hi Guys,

Thanks for the help/advice.

I've followed the instructions on the link you posted up Mike and it's definately an improvement on the other methods i've tried although it's still not working completely correctly.

I've got an error on the admin login page and the default login details don't appear to work either

Any ideas what the problem could be? The code around line 130 is some of additional code i added from that solution:

PHP Code:
// Register Globals MOD - http://www.magic-seo-url.com
  
if (!ini_get("register_globals")) {
    if (
version_compare(phpversion(), "4.1.0""<") === true) {
      if (isset(
$HTTP_SESSION_VARS)) $_SESSION &= $HTTP_SESSION_VARS;
    }
    
extract($_SESSIONEXTR_SKIP);
  } 
Thanks,

James
I had problems as well but changed just one section of code in the link Michael put up for magic seo urls and so far in testing no problems with anything. (fingers crossed) I will attach the read me with the only change being in the catalog/includes/functions/sessions.php no guarantees so back up. We are talking about 2 different fixes in this thread this is for the on Michael put a link to. Maybe we should move this to php5 question+oscmax rc3
Attached Files
File Type: txt changed for cart errors.txt (11.2 KB, 14 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to bkpie For This Useful Post:
typhus (04-15-2008)
  #19  
Old 06-08-2008, 07:43 AM
Lurker
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lordbdp is on a distinguished road
Thumbs up Re: Testers needed for register_globals/register_long_arrays=off

It's done for me and run with no problems.

Tks a lot !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20  
Old 07-05-2008, 09:24 AM
Lurker
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Jason99 is on a distinguished road
Default Re: Testers needed for register_globals/register_long_arrays=off

Hi,
Nice effort! I did try this one out.
Installation went smooth. When adding products to the cart, it doesn´t get populated with products though.
Just an empty cart.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
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
Install with register_long_arrays set to OFF michael_s New osCommerce Contributions 0 01-09-2007 04:46 PM
xShop Max : XP based admin for oscmax : Beta testers wanted! michael_s osCMax v1.7 Announcements 0 08-27-2004 08:31 PM


All times are GMT -8. The time now is 08:56 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax