| Author |
Message |
Mickulz
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9
|
Posted:
Wed Jun 29, 2005 11:56 am |
  |
Hello everyone;
Since I have installed ASEC 1.7 (which has worked great), I get the following error when a user (or admin) goes to the coppermine (picture) module:
| Quote: |
Notice: Undefined variable: HTTP_SERVER_VARS in D:\xxxxx\xxxxxxx\html\includes\asconfig.php on line 57
|
I have looked for an answer, but have not found any help.
Any thoughts would be great!
Line 57 of asconfig.php is currently:
| Quote: |
| if(eregi('asconfig\.php$',$HTTP_SERVER_VARS['PHP_SELF'])){die('Error: You cannot access asredir.php directly.');} |
Thanks!
Dan |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Wed Jun 29, 2005 12:08 pm |
  |
|
     |
 |
Mickulz
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9
|
Posted:
Wed Jun 29, 2005 12:29 pm |
  |
The link I tried to access to "learn" how to turn them on is coming up 404. Can you point me to the right resource, or walkme through it. I am a n00b and I don't want to take up your time. |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Wed Jun 29, 2005 4:47 pm |
  |
|
     |
 |
Mickulz
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9
|
Posted:
Wed Jun 29, 2005 4:55 pm |
  |
Im not, but I guess I will keep looking. Thanks. |
|
|
   |
 |
Mickulz
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9
|
Posted:
Wed Jun 29, 2005 11:58 pm |
  |
I added
| Quote: |
| register_long_arrays = ON |
to my php.ini but I still get the same error.
I tried to migrate to PHP 5, but everything went heywire, so I rolled back to PHP 4.3.4
Any more thought on what I can do?
Dan |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Thu Jun 30, 2005 3:55 am |
  |
|
     |
 |
Mickulz
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9
|
Posted:
Thu Jun 30, 2005 5:21 am |
  |
Yeah, I did a full reboot of the server.
Dan |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Thu Jun 30, 2005 5:46 am |
  |
|
     |
 |
Mickulz
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9
|
Posted:
Thu Jun 30, 2005 5:59 am |
  |
I am running on Windows 2k with IIS.
So there is not .htaccess file correct? |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Thu Jun 30, 2005 6:31 am |
  |
|
     |
 |
Mickulz
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9
|
Posted:
Thu Jun 30, 2005 6:45 am |
  |
Yeah. I have been through it a dozen times.
I just can not figure it out. The other part that is perplexing to me is that it only effects Coppermine. Every other module seems to work fine. And the fucntionality of Coppermine works fine too, just has the errors on top.
I guess I will keep trying somethings, but man this is getting me all frustrated. |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Thu Jun 30, 2005 8:07 am |
  |
|
     |
 |
Mickulz
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9
|
Posted:
Thu Jun 30, 2005 9:23 am |
  |
Thank fixed it!
Than you soooo much...
So may I ask what the change did? |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Thu Jun 30, 2005 10:55 am |
  |
PHP formerly uses the long array variables ($HTTP_SERVER_VARS, etc) to store certain settings. Now they just use the simple ones ($_SERVER, $_POST, etc). The long setting is being deprecated - it is supported with the register_long_arrays setting turned on, but it may not be supported in the future. |
_________________ Helping those that help themselves
Read FIRST or DIE!
"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding |
|
     |
 |
|
|