osCommerce php $ _SERVER ['argv'] [0] hatası

1 Cevap php

I am running an osCommerce app on GoDaddy.(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.

$pIDlist_array=split("&", $_SERVER["argv"][0]);

$_SERVER["argv"][0] her zaman döner NULL.

I think it's because register_argc_argv is off in global php configuration.
I created php.ini in the web root directory ve the file has register_argc_argv = on. But it doesn't seem to override the default option.

Benim sorular şunlardır:

  1. Ben GoDaddy benim php.ini içinde register_argc_argv kılabilirsiniz? Eğer GoDaddy ile deneyiminiz var mı?
  2. I register_argc_argv seçeneği değiştiremezsiniz, ben ne yapabilirim?
  3. Ben değiştirmek tüm kaynak kodlarını önlemek istiyor. Bu tek seçenek Ama eğer, nasıl sorun hattını değiştirmek gerekir?

Teşekkürler.

Sam

1 Cevap

GoDaddy'nin destek:

Thank you for contacting Online Support.

Unfortunately, register_argc_argv is not available in our shared hosting
accounts and we cannot activate for you. We apologize for any
inconvenience this may cause.

Please let us know if there is anything further that we can do for

you. Our service departments and telephone lines are open 24 hours a day, 365 days a year to accommodate your needs anytime.

Found Here