Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
Bigboy177
Worker
Worker



Joined: Jul 07, 2004
Posts: 192

PostPosted: Sat Jan 08, 2005 6:06 pm Reply with quote

I've installed a new module... It's working quite OK... But I've got one problem.. I get an error that:
Code:


setcookie() expects parameter 3 to be long,


The line to which the error refers to looks like this:

Code:


setcookie("IDU","$IDU","/");


I know what it means... But I don't know what can I do to fix it... I've got PHP Nuke 7.3... I don't know what to set as the third parameter so that the error would disappear...

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Sat Jan 08, 2005 6:22 pm Reply with quote

Check to see if there are blank lines after the ?> at the end of the file.

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
Bigboy177







PostPosted: Sat Jan 08, 2005 6:36 pm Reply with quote

Nope... the file ends with ?>
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©