Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues
Author Message
sucahyo
New Member
New Member


Joined: Jul 12, 2008
Posts: 1

PostPosted: Sat Jul 12, 2008 12:08 am Reply with quote

Hello,

This may only happen to me, but here it is:

system:
Windows 2000 pro sp4
apache 2.0
mysql 5.0.20
php 4.3.0
RavenNuke_v2.20.01

problem:
white page happen after pressing add user when options ""Allow other users to view my email address" is disabled.

message:
Incorrect integer value: '' for column 'user_viewemail' at row 1

I fix this problem by adding line at file modules\Your_Account\admin\index.php, line 539 from:
Code:
$sql .= "values (NULL,'$add_name','$add_uname','$add_email','$add_femail','$add_url','$user_regdate','$add_user_icq','$add_user_aim','$add_user_yim','$add_user_msnm','$add_user_from','$add_user_occ','$add_user_intrest','$add_user_viewemail','$add_avatar','$add_user_sig','$add_pass','$add_newsletter',1,0)";



to become
Code:
$add_user_viewemail = ($add_user_viewemail=='') ? 0 : $add_user_viewemail;

$sql .= "values (NULL,'$add_name','$add_uname','$add_email','$add_femail','$add_url','$user_regdate','$add_user_icq','$add_user_aim','$add_user_yim','$add_user_msnm','$add_user_from','$add_user_occ','$add_user_intrest','$add_user_viewemail','$add_avatar','$add_user_sig','$add_pass','$add_newsletter',1,0)";
 
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9456
Location: Arizona

PostPosted: Sun Jul 13, 2008 5:40 am Reply with quote

sucahyo, thank you for pointing this out to us!

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues

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 ©