Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Bug Reports - Other Issues
Author Message
DBF_Tim
New Member
New Member



Joined: Dec 14, 2005
Posts: 7

PostPosted: Sat Apr 14, 2007 12:46 pm Reply with quote

I'm having issues with Member Application getting my regex comparisons to work on text inputs in either javascript or php. My question is, has something been done to override or alter form input fields. Of the various Nukes I test, my code seems to only have issues with RN 210.

I would like to figure this out so I can change my code to make it compatible.

Tim
 
View user's profile Send private message Visit poster's website
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Sat Apr 14, 2007 1:37 pm Reply with quote

Are you using the RN WYSIWYG editor on your form fields? If so, it seems to htmlentity'ize the text, so you may have to adjust your regex's accordingly...

If not, please provide some more details about your application and what you are trying to do.

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
DBF_Tim







PostPosted: Sat Apr 14, 2007 4:46 pm Reply with quote

No wysiwyg editors enabled. Here's a splinter of my javascript code that tests an input field for a match with a regex statement.

rgtest = document.getElementById(\"data\"+zz).value;
rgcode = document.getElementById(\"regexdef\"+zz).value;
if (! rgtest.match(rgcode))
{
alert( \"Invalid entry\");
document.getElementById(\"data\"+zz).focus();
return false ;
}

I thought perhaps with some of the security enhancements, you were altering "INPUT" elements in forms.

Thank you for looking into this,
Tim
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Apr 16, 2007 10:32 am Reply with quote

Quote:
has something been done to override or alter form input fields


Not unless we corrected some logic that has never worked correctly which we found many instances of.

Please post an example from your other site(s), before and after, and then post the same example from RavenNuke(tm) before and after.
 
View user's profile Send private message
DBF_Tim







PostPosted: Sat Apr 21, 2007 8:40 pm Reply with quote

I know it's been a long time, but life intervened. I created another RN210 based test site on a different server. Every thing seems to work there.

Key differences:
PHP as CGI - problem site
PHP as Apache Module - working site
path to nuke root:
www.development.testsite.tst/Nukes/raven210 - problem site
www.testsite2.wrk/ - working site

With that, I'm going to completely remove problem site. Reinstall it cleanly in a root level directory on a main domain so I have apples to apples comparison and see what goes. I'll keep you posted.

Tim

PS:
Because of the multi-part operation, admin side, user side, popup windows, etc.. If I can't work through this, I'll set up a site that can be freely examined.
 
DBF_Tim







PostPosted: Sun Apr 22, 2007 9:11 am Reply with quote

Fixed. I assume it was an error in a file some where. Before deleting and moving problem site, I decided to re-upload RN210 files as well as Member Application files, overwriting everything. I made no changes to database. All testing so far shows good.

Note to self: Try the obvious and easy stuff first!

Tim
 
Raven







PostPosted: Sun Apr 22, 2007 10:51 am Reply with quote

killing me
 
kevinkap
Involved
Involved



Joined: Apr 22, 2006
Posts: 356

PostPosted: Sun Apr 22, 2007 1:53 pm Reply with quote

Very good to hear Tim. I have found the member app very useful. I am again glad you did not let the issues of code being stolen to deter your work! I think many will find this module a nice addition. Wave

_________________
Kevin Kappes 
View user's profile Send private message
DBF_Tim







PostPosted: Sun Apr 22, 2007 3:26 pm Reply with quote

To many good people to let 1 bad 1 knock you out. We're proceeding with testing on Member Application v2.1.2.
 
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.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Bug Reports - Other 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 ©