You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 255 guest(s) and 19 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Coppermine Error after ASEC 1.7 install [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Mickulz
Nuke Cadet
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9


PostPosted: Wed Jun 29, 2005 11:56 am Reply with quoteBack to top

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
Find all posts by MickulzView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Wed Jun 29, 2005 12:08 pm Reply with quoteBack to top

You need to turn on register_long_arrays in your PHP configuration

_________________
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
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Mickulz
Nuke Cadet
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9


PostPosted: Wed Jun 29, 2005 12:29 pm Reply with quoteBack to top

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.
Find all posts by MickulzView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Wed Jun 29, 2005 4:47 pm Reply with quoteBack to top

Well if you are on someone's host, ask them about it

_________________
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
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Mickulz
Nuke Cadet
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9


PostPosted: Wed Jun 29, 2005 4:55 pm Reply with quoteBack to top

Im not, but I guess I will keep looking. Thanks.
Find all posts by MickulzView user's profileSend private message
Mickulz
Nuke Cadet
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9


PostPosted: Wed Jun 29, 2005 11:58 pm Reply with quoteBack to top

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
Find all posts by MickulzView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Thu Jun 30, 2005 3:55 am Reply with quoteBack to top

You changed your php.ini - did you restart your server?

_________________
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
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Mickulz
Nuke Cadet
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9


PostPosted: Thu Jun 30, 2005 5:21 am Reply with quoteBack to top

Yeah, I did a full reboot of the server.

Dan
Find all posts by MickulzView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Thu Jun 30, 2005 5:46 am Reply with quoteBack to top

Have you tried with a .htaccess file?
Code:

PHP_FLAG register_long_arrays On

_________________
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
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Mickulz
Nuke Cadet
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9


PostPosted: Thu Jun 30, 2005 5:59 am Reply with quoteBack to top

I am running on Windows 2k with IIS.

So there is not .htaccess file correct?
Find all posts by MickulzView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Thu Jun 30, 2005 6:31 am Reply with quoteBack to top

Mm alright. I can't say I know how PHP on IIS is configured.
Have you tried everything under Windows on the FAQ?
http://www.nukecops.com/postt1.html

_________________
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
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Mickulz
Nuke Cadet
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9


PostPosted: Thu Jun 30, 2005 6:45 am Reply with quoteBack to top

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.
Find all posts by MickulzView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Thu Jun 30, 2005 8:07 am Reply with quoteBack to top

I'm using ASEC 1.7 as well, not had this error.

Try changing
Code:

$HTTP_SERVER_VARS

to
Code:

$_SERVER

_________________
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
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Mickulz
Nuke Cadet
Nuke Cadet


Joined: Jun 29, 2005
Posts: 9


PostPosted: Thu Jun 30, 2005 9:23 am Reply with quoteBack to top

Thank fixed it!

Than you soooo much...

So may I ask what the change did?
Find all posts by MickulzView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Thu Jun 30, 2005 10:55 am Reply with quoteBack to top

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
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.053 Seconds - 225 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::