osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

register globals

This is a discussion on register globals within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Ok, I was able to reproduce the issue and repair the problem. Do an svn update to get the fixed ...



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

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #11  
Old 10-24-2008, 02:31 PM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,747
Thanks: 139
Thanked 609 Times in 521 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: register globals

Ok,

I was able to reproduce the issue and repair the problem. Do an svn update to get the fixed application_top.php file.
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to michael_s For This Useful Post:
daream (11-04-2008)
  #12  
Old 01-16-2009, 12:42 AM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 247
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 8
neil is on a distinguished road
Default Re: register globals

Code:
RC4 is here:
Code:

 svn checkout http://oscmax2.googlecode.com/svn/branches/michael_s/rc4/trunk/
Is that available to be downloaded as a .zip
__________________
HTH
Neil
www.12website.com

"You can have everything in life that you want if you will just help enough other people get what they want."
Zig Ziglar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #13  
Old 01-16-2009, 02:36 AM
Active Member
 
Join Date: Sep 2008
Location: holland
Posts: 145
Thanks: 4
Thanked 8 Times in 8 Posts
Rep Power: 2
nostradamus will become famous soon enough
Default Re: register globals

no u need to use a svn client like tortoisesvn.tigris.org

then use the link to check out the rc4 version
__________________
The seven signs that tell of the coming Armageddon


1. A decline in the strength of the three major religions. check
2. Revolutions and internal turmoil in nations around the world. check
3. War and the rumors of war check
4. Famine check
5. Pollution of the earth dubbel check
6. Earthquakes
7.The coming of plagues and diseases.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #14  
Old 01-23-2009, 09:31 PM
Member
 
Join Date: Jan 2009
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jmelson is on a distinguished road
Default Re: register globals

Quote:
Originally Posted by michael_s View Post
That is RC3.0.2.

RC4 is here:
Code:
 svn checkout http://oscmax2.googlecode.com/svn/branches/michael_s/rc4/trunk/
Thanks, I got RC4 loaded, and am trying to set it up. It DOES work with register_globals turned off, and that seems to be keeping the professional bank criminals (I'm not kidding about this) out of my system.

But, after creating categories and products, I can see them in the admin login, and the category titles are in the category sidebar of the store page, but I get a 404 when I click on them in the store page. They have a URL like <my store>catalog/<category name>-c-3.html, and there is no such file in catalog. I don't get any error message when creating the category or product. I'm sure I messed up the file permissions or something when installing this.

Any suggestions?

Thanks,

Jon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #15  
Old 01-24-2009, 04:12 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,747
Thanks: 139
Thanked 609 Times in 521 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: register globals

Quote:
but I get a 404 when I click on them in the store page
Either edit the catalog .htaccess file to enable the rewrite rules or disable SEO urls in the admin panel.
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #16  
Old 01-24-2009, 09:19 AM
Member
 
Join Date: Jan 2009
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jmelson is on a distinguished road
Default Re: register globals

Quote:
Originally Posted by michael_s View Post
Either edit the catalog .htaccess file to enable the rewrite rules or disable SEO urls in the admin panel.
I tried disabling SEO, and got an error from my browser saying there was a loop in the URL reference. I have been tinkering with the .htaccess file, but have ABSOLUTELY no idea what I'm doing there. Any hints would be greatly appreciated.

I have an older version of oscmax on the same system which works, and the catalog/.htaccess file is all commented out, except for the part for MSIE.*, yet that version works (if register_globals is turned on).

Thanks,

Jon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #17  
Old 01-24-2009, 08:49 PM
Member
 
Join Date: Jan 2009
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jmelson is on a distinguished road
Default Re: register globals

OK, worked with this some more. in the file
/etc/apache2/sites-available/default it has a section :
<Directory /home/httpd/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

When I changed the AllowOverride from None to Options, it changed the way the osc main page showed up, like all the skins went away and just the bare text content was showing. But, it enabled the .htaccess file in the catalog. That should be good news, but when I uncommented the #RewriteEngine On line in .htaccess, I got a 500 error on the whole osc catalog. I tried a few combinations of working with the RewriteRule lines, but it didn't fix any of that.

I am running Ubuntu 8.04 with
Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.4 with Suhosin-Patch Server

I didn't need the .htaccess file at all with the oscmax RC3.0.2 on the same server.

Can anybody tell me what I need to do in the Apache config or the .htaccess file to get this to work?

Thanks,

Jon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #18  
Old 01-25-2009, 10:14 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 2,681
Thanks: 12
Thanked 214 Times in 196 Posts
Rep Power: 20
jpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud ofjpf has much to be proud of
Default Re: register globals

Quote:
Originally Posted by jmelson View Post
It DOES work with register_globals turned off, and that seems to be keeping the professional bank criminals (I'm not kidding about this) out of my system.
FYI the change in register globals has nothing to to with OSCMax or OSC and bank criminals....I am not kidding.

If you search the deal about it - is it all about poor programing practices where input that is not properly handled and verified. That with osc was addressed many many....MANY years ago - before osCMax.

However there is several other BUG fixes that cropped up over the last year or two. That has been addressed in the MS2a update (osCommerce) and SVN-RC4 (osCMax).
__________________
JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #19  
Old 01-25-2009, 01:43 PM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,747
Thanks: 139
Thanked 609 Times in 521 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: register globals

Jon, still an seo urls issue. Make sure this is off under SEO Urls, if you are trying to disable seo urls:
Quote:
Enable automatic redirects? false
If that is set to true, even if SEO Urls is disabled, it will cause the endless loop error.

Also make sure that the RewriteEngine On line is commented out in .htaccess. To comment it out, put a # at the beginning of the line.
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #20  
Old 01-25-2009, 03:26 PM
Member
 
Join Date: Jan 2009
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jmelson is on a distinguished road
Default Re: register globals

Quote:
Originally Posted by michael_s View Post
Jon, still an seo urls issue. Make sure this is off under SEO Urls, if you are trying to disable seo urls:
If that is set to true, even if SEO Urls is disabled, it will cause the endless loop error.

Also make sure that the RewriteEngine On line is commented out in .htaccess. To comment it out, put a # at the beginning of the line.
OK, fantastic! I didn't realize BOTH of these settings had to be false for everything to be right. Now, my categories and products are showing up. Thanks VERY much for the help. As is obvious, I'm a TOTAL newbie in the php/sql area, although I've been working with computers since 1970!

Jon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

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
Register Globals michael_s New osCommerce Contributions 0 07-18-2008 06:00 AM
Register Globals michael_s New osCommerce Contributions 0 05-21-2007 04:10 AM
Register Globals michael_s New osCommerce Contributions 0 04-27-2007 05:20 PM
Register Globals michael_s New osCommerce Contributions 0 04-09-2007 06:52 AM
Register Globals michael_s New osCommerce Contributions 0 04-05-2007 07:00 AM


All times are GMT -8. The time now is 12:03 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design