LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-13-2016, 12:37 AM   #1
MeghanClaire
LQ Newbie
 
Registered: Jun 2015
Posts: 5

Rep: Reputation: Disabled
Get trouble with PHP server in osCommerce


I am running an osCommerce app on Hostforlife.eu. I'm not a php expert though. I recently found that some admin pages give errors. I narrowed the problem down to the following line:


Quote:
$pIDlist_array=split("&", $_SERVER["argv"][0]);
$_SERVER["argv"][0] returns always NULL.
Code (markup):I think it's because "register_argc_argv" is off in global php configuration.
I created php.ini in the web root directory and the file has register_argc_argv = on. But it doesn't seem to override the default option. So here are my questions:

- Can I override "register_argc_arg" in my php.ini on Hostforlife.eu? Do you have experience with them.
- If I can't change "register_argc_argv" option, what can I do?
- I want to avoid modify all source codes. But if that's the only option, how should I change the problem line?

I need your help, thanks in advance
 
Old 09-13-2016, 10:07 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
https://library.oscommerce.com/Onlin...d&requirements
discusses php settings.

Let us know!
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mail from php (oscommerce) martinlangley Linux - Software 1 06-02-2013 03:25 AM
Trouble viewing .php on local apache server using Mozilla shortname Linux - Software 2 03-25-2005 03:07 PM
Fedora Core includes PHP? Why won't it recognize OSCOMMERCE download? TSynergy Linux - Software 4 05-16-2004 04:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration