PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
slappy
New Member
New Member


Joined: May 28, 2006
Posts: 23

PostPosted: Tue May 30, 2006 4:23 pm Reply with quote Back to top

Hi,

Before installing CNB Your Account, new users were getting the activation email and an entry was being added to the nuke_users_temp table in the database. Users were able to click on the link in the email and activate their account and log on to my site with no problems. All was working fine. After installing CNBYA activation emails are not being sent and there is no new entries being added to the nuke_users_temp table in the database after a new user registers. Website feedback is still working. The settings in the CNB User config are as follows:

Allow User Registration: Yes
Require Admin Approval: No
Allow User self-deactivation: No
Doublecheck email at registration: Yes
COPPA Compliance Required: Yes
Show Terms of Service [TOS]: No
Show TOS to members as well: No

Email Options
Server can send mail? Yes
Notify Admin of User Registration: No
Notify Admin of User Deactivation: No
Use Email Activation? Yes
Allow User Email Change: Yes
Validate Email Changes: Yes


I am using the following:
CNB Your Account 4.4.0
NUKE 7.6 patch 3.1
Apache2Triad version 1.4.4
Apache version 2.0.55
MySQL version 4.0.26
PHP version 4.4.2
Path to PHP C:/apache2triad/php/bin/php.exe
Ability Mail Server v2.52
View user's profile Send private message
srhh
Involved
Involved


Joined: Dec 27, 2005
Posts: 296

PostPosted: Tue May 30, 2006 4:42 pm Reply with quote Back to top

Sounds like the database info didn't get installed right. I recall I had to manually input the SQL into the database using phpmyadmin when I installed CNBYA because the self-installer didn't work.

Here is a post with the SQL info:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
slappy
New Member
New Member


Joined: May 28, 2006
Posts: 23

PostPosted: Tue May 30, 2006 5:58 pm Reply with quote Back to top

OK everything went fine up to the point where I ran the Alter Table line:

When I run:


SQL query:

ALTER TABLE ".$user_prefix."_users ADD agreedtos TINYINT( 1 ) DEFAULT 0 NOT NULL

MySQL said: Documentation
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '".$user_prefix."_users ADD agreedtos TINYINT(1) DEFAULT 0 NOT N

SQL query:

ALTER TABLE ".$user_prefix."_users_temp ADD realname VARCHAR( 255 ) NOT NULL AFTER username

MySQL said: Documentation
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '".$user_prefix."_users_temp ADD realname VARCHAR(255) NOT NULL

My syntax is incorect?

Please help!
View user's profile Send private message
slappy
New Member
New Member


Joined: May 28, 2006
Posts: 23

PostPosted: Tue May 30, 2006 6:15 pm Reply with quote Back to top

OK, It looks like nuke_users and nuke_users_temp all ready have the added agreedtos and realname tables added. Probably from the first run of the install.php. I am still not getting any entry in the temp_users table after submitting and no email.

Somthing else is not right here.
View user's profile Send private message
slappy
New Member
New Member


Joined: May 28, 2006
Posts: 23

PostPosted: Tue May 30, 2006 6:31 pm Reply with quote Back to top

OK,


I think I figured it out, but I need a fix for this. I De-installed the tables, and re-installed a fresh copy via install.php. All operations completed OK.

Then I went through the User config and left the security code check OFF. That did it. When I have Security code turned on, and try to register, I dont get the entry in the nuke_users_temp and no email. When I turn it off, everything works. I seem to remember seeing somthing like this somewhere in these forums. If you know the link or know what is going on, please let me know.

Thanks
Slappy
View user's profile Send private message
Pride
Regular
Regular


Joined: Oct 22, 2003
Posts: 59

PostPosted: Fri Jun 09, 2006 8:42 am Reply with quote Back to top

slappy wrote:
OK,


I think I figured it out, but I need a fix for this. I De-installed the tables, and re-installed a fresh copy via install.php. All operations completed OK.

Then I went through the User config and left the security code check OFF. That did it. When I have Security code turned on, and try to register, I dont get the entry in the nuke_users_temp and no email. When I turn it off, everything works. I seem to remember seeing somthing like this somewhere in these forums. If you know the link or know what is going on, please let me know.

Thanks
Slappy


I have this same exact problem! If you find a fix for it, please let me know and I'll do the same!
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
slappy
New Member
New Member


Joined: May 28, 2006
Posts: 23

PostPosted: Fri Jun 09, 2006 12:11 pm Reply with quote Back to top

I have not found a fix, and I am still running with Security Code check OFF. But if I find anything, I will post here.
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Fri Jun 09, 2006 6:29 pm Reply with quote Back to top

slappy...was that the sql query u ran from phpmyadmin or did u run the installer?

SQL query:

ALTER TABLE ".$user_prefix."_users ADD agreedtos TINYINT( 1 ) DEFAULT 0 NOT NULL

MySQL said: Documentation
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '".$user_prefix."_users ADD agreedtos TINYINT(1) DEFAULT 0 NOT N
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
slappy
New Member
New Member


Joined: May 28, 2006
Posts: 23

PostPosted: Fri Jun 09, 2006 6:45 pm Reply with quote Back to top

Well, The first time I installed it, I used the installer. The second time, I ran from phpmyadmin. I didn't remove agreedtos and realname tables befor running the second time, so I think that is why I got those errors.
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Fri Jun 09, 2006 6:49 pm Reply with quote Back to top

the real reason u got the error...is ".$user_prefix." is a variable...when nuke runs it...it actually says nuke_users...as that variable is by default set to nuke.

if its there dont worry bout this but if the agreedtos isnt there...just make it nuke_users instead of ".$user_prefix."_users
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
slappy
New Member
New Member


Joined: May 28, 2006
Posts: 23

PostPosted: Fri Jun 09, 2006 6:53 pm Reply with quote Back to top

Ok,

Well the agreedtos and realname tables are there. But the problem of not being able to turn on the Security Code Check still exits.
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Fri Jun 09, 2006 7:06 pm Reply with quote Back to top

open ur text editor...paste this:


<?php
if (extension_loaded('gd')) echo "GD is loaded";
else echo "GD is NOT loaded";
?>

..name is php.php
Then upload it to the root of ur site

then goto ursite.com/php.php

If it says GD is loaded then we have some problems to figure out....if it says its not loaded then this is a server issue that u cannot address.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
slappy
New Member
New Member


Joined: May 28, 2006
Posts: 23

PostPosted: Fri Jun 09, 2006 9:41 pm Reply with quote Back to top

It says GD is loaded Dance-Y
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sat Jun 10, 2006 5:58 am Reply with quote Back to top

The testing for the 5.0 beta of CNBYA has been reactivated. We should add this to the testing process to make sure it is address in the new version.

darklord, it seems you might be a good candidate for that testing if you are not already involved. Interested?
View user's profile Send private message
slappy
New Member
New Member


Joined: May 28, 2006
Posts: 23

PostPosted: Sat Jun 24, 2006 12:47 am Reply with quote Back to top

I have an update on my issue. I was able to get the security code check to work for Log on Only. New user registration still has it turned off. If I turn it on for both, or just new registration, I get the problem where the new user is not added to temp_user table and no email is sent.

So, has there been a fix for this? I would really like to have a security code check for new user registration.

Thanks,
Slappy

Website:
Only registered users can see links on this board!
Get registered or login to the forums!

PHP-NUKE v7.6 / patched 1.3
Apache2Triad version 1.4.4
Apache version 2.0.55
MySQL version 4.0.26
PHP version 4.4.2
CNB Your Account version 4.4.0
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sat Jun 24, 2006 5:34 am Reply with quote Back to top

Development and testing is focused on the 5.0 version. We can request that this be tested in that version. I'd guess they'd be reluctant to revisit the 4.4.2 version, though, when the 5.0 version is so close (well, it's been close for about a year now).
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum