osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

No access to php.ini file!

This is a discussion on No access to php.ini file! within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; It seems that there are many of us trying to use osCMax with php5 and having issues, so I don't ...


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
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-04-2007, 06:37 PM
New Member
 
Join Date: Nov 2006
Posts: 16
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 0
crystina is on a distinguished road
Exclamation No access to php.ini file!

It seems that there are many of us trying to use osCMax with php5 and having issues, so I don't feel quite as alone as I did. First off, thanks, Michael, for responding to my pm regarding this issue yesterday. I appreciate your help. Now, here's the issue. I have no access to my php.ini file as I'm on shared hosting. I have searched and researched and haven't been able to find a solution that I understand. I created the following .htaccess file:

php_flag register_globals on
php_flag register_long_arrays on

to no avail. I then added

AllowOverride Options
Allow from all

and got a 500 error. I know that the above was incorrect, but figured I'd give it a try as someone somewhere suggested it.

Any ideas? I have already contacted the host and have been told that for security reasons, they will not edit it, so I am needing to override this somehow. Help! =-0

Last edited by crystina; 04-04-2007 at 07:04 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 04-04-2007, 08:19 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 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: No access to php.ini file!

Your best bet is to first contact your host to see if you have permission to turn on register globals or of they will do it for you. If you cannot get it turned on, your only other option is to patch your store with the register globals mod. Here is the mod for osCMax:
Testers needed for register_globals/register_long_arrays=off

I run osCMax on php5 without any issues whatsoever, it just needs to be configured to meet osCMax requirements. This is easily done via .htaccess if your host allows it.
__________________
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!
  #3  
Old 04-05-2007, 04:35 AM
New Member
 
Join Date: Nov 2006
Posts: 16
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 0
crystina is on a distinguished road
Thumbs up Re: No access to php.ini file!

While waiting for a reply, I went ahead and answered that above post... "testers needed..." and (drumroll please...) IT WORKED! My site is up and running and working perfectly so far. Thank you both for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-05-2007, 07:25 PM
New Member
 
Join Date: Jan 2005
Posts: 13
Thanks: 5
Thanked 7 Times in 4 Posts
Rep Power: 0
poppatopz
Default Re: No access to php.ini file!

just a after thought for anyone else reading this, you can attempt to write a php.ini file out of a text file and then type this into it
register_globals=off
register_long_arrays=off
and put that in your admin folder, main folder, and the install folder. it will allow the system to read it as the INI file and works on most linux distros powered with apache
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to poppatopz For This Useful Post:
crystina (04-05-2007)
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
How do I give file access to the Catalog section. webwolfe osCMax v1.7 Discussion 1 06-20-2006 02:46 PM
Is there a Fault with file Access? AceDog osCMax v1.7 Discussion 4 05-05-2004 11:14 AM
Admin File Access Questions? Kristine osCommerce 2.2 Modification Help 1 04-28-2004 07:40 AM
root access litotes osCommerce 2.2 Modification Help 1 10-20-2003 02:51 PM
can access admin panel but cannot access catalog Anonymous osCMax v1.7 Discussion 1 10-14-2003 05:28 PM


All times are GMT -8. The time now is 07:30 PM.


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