Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
Database Connection Issues
 CJWSoft Support Info : Database Connection Issues
Subject Info: Trouble Protecting Page A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
lhodge
New User
New User
Avatar

Joined: July/19/2006
Online Status: Offline
Info: 10
Added: July/19/2006 at 3:17pm | IP Logged Quote lhodge

OK Great! I have purchased the FULL VERSION of the software but I am still experiencing problems. I tried adding the code to a .asp page to protect it and I receive the following error:

 Microsoft VBScript compilation error '800a0400'

Expected statement

/check_user_inc.asp, line 414

End If

The code I added is:

<!--#INCLUDE
FILE="check_user_inc.asp"-->

I do not know what to do to fix this.
Thanks for your help!

 

Lee Hodge

Back to Top View lhodge's Profile Search for other info by lhodge Visit lhodge's Homepage
 
lhodge
New User
New User
Avatar

Joined: July/19/2006
Online Status: Offline
Info: 10
Added: July/19/2006 at 3:22pm | IP Logged Quote lhodge

I also pasted a fresh copy of the check_user_inc.asp file to be sure I did not break that. I haven't adjusted any code other than adding the <!--#INCLUDE FILE="check_user_inc.asp"--> line of code to my index.asp page to trigger the login page to come up. So, is that a correct line of thought? If so, any ideas on how to make it work?

Thanks so much!

Back to Top View lhodge's Profile Search for other info by lhodge Visit lhodge's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: July/19/2006 at 3:23pm | IP Logged Quote cwilliams

That is the kind of error you get when vbscript if/else logic has been messed up in the code. 

It sorta looks to me like you accidently edited some of my code in a bad way and broke it. Like the check_user_inc.asp file may need to be replaced with a fresh copy.. possibly

Carefully copy the original "check_user_inc.asp" file back in. And do not open it with any editors but a text editor if you ever open it. WYSIWYG editors mess up ASP code that they do not understand.

Lastly.. run your page without trying to protect it and make sure it runs ok.


__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: July/19/2006 at 3:23pm | IP Logged Quote cwilliams

Do the example protected ASP pages work ? In the examples Folder... ??

Also, what does your code look like in your page ???

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
lhodge
New User
New User
Avatar

Joined: July/19/2006
Online Status: Offline
Info: 10
Added: July/19/2006 at 3:25pm | IP Logged Quote lhodge

I did verify that the page works with out the <!--#INCLUDE FILE="check_user_inc.asp"--> added. As posted I replaced the file to confirm that.
Back to Top View lhodge's Profile Search for other info by lhodge Visit lhodge's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: July/19/2006 at 3:25pm | IP Logged Quote cwilliams

one more thing... never move the check_user_inc.asp file around. It needs to stay where it is. I have had people do that before and that's another real bad thing to do...

Not sure you did that but trying to cover everything I can think of..

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
lhodge
New User
New User
Avatar

Joined: July/19/2006
Online Status: Offline
Info: 10
Added: July/19/2006 at 3:32pm | IP Logged Quote lhodge

OK, the default.asp page in examples/basic does the same thing

http://stellaradashboard.com/examples/basic/default.asp
Back to Top View lhodge's Profile Search for other info by lhodge Visit lhodge's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: July/19/2006 at 3:34pm | IP Logged Quote cwilliams

if ya want just let me go look real quick .. cause I am leaving soon for the day and I would rather do that and get it figured out real quick

PM site details and I can go in and look

I got to leave in like 20 minutes

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: July/19/2006 at 3:57pm | IP Logged Quote cwilliams

ok,

it works now..

I was on the right track about you breaking some code, I just guessed the wrong file...

The deal is when you edited "users/login_form_inc.asp" you messed up some code in there.. probably cause you went a little too crazy in Frontopage WYSIWYG mode editing it.

Looks like you tried to apply a frontpage theme to it maybe... dont use that crap, it's evil, so are shared borders and a lot of frontpage  features

Just edit using basic html, stick to the basics... using frontpage is fine but some of its features are trouble... and should be avoided



I replaced that file and things now work again..

You just have to be a little more careful... back things up before you edit, then test, go slow, and if things breaks revert back..

I am gone for the day.. take care



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
lhodge
New User
New User
Avatar

Joined: July/19/2006
Online Status: Offline
Info: 10
Added: July/19/2006 at 4:00pm | IP Logged Quote lhodge

OK Great! I appreciate your help! I will try to be more careful
Back to Top View lhodge's Profile Search for other info by lhodge Visit lhodge's Homepage
 
lhodge
New User
New User
Avatar

Joined: July/19/2006
Online Status: Offline
Info: 10
Added: July/19/2006 at 4:01pm | IP Logged Quote lhodge

ONe new problem now....it won't let me log in
Back to Top View lhodge's Profile Search for other info by lhodge Visit lhodge's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: July/19/2006 at 4:04pm | IP Logged Quote cwilliams

use the "get_me_in.asp" page from the instructions to get back in..

I may have replaced your keys when trying to find out what files were bad..

thats all..

once in resave your password for the admin account you made...

I am leaving the buiilding...



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
lhodge
New User
New User
Avatar

Joined: July/19/2006
Online Status: Offline
Info: 10
Added: September/12/2006 at 12:12pm | IP Logged Quote lhodge

It has been a while since I logged in here. I have purchased the FULL version of the software but I am still unable to access portions of the ACCESS section. They are still highlighted in yellow and it says that I have the 'lite' version. How do I fix this problem. I want to be able to access the log of who has been using the site and what not. Thanks!
Back to Top View lhodge's Profile Search for other info by lhodge Visit lhodge's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: September/12/2006 at 12:19pm | IP Logged Quote cwilliams

that could be happening is if you left code around from the lite version.

You probably got code from the liter version and code from the full in two different spots but accessing the same database..

That's my guess...

When you get the full version you should put it overtop of exactly where the lite version is.. either that or get rid of the liter version before you even start

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
lhodge
New User
New User
Avatar

Joined: July/19/2006
Online Status: Offline
Info: 10
Added: September/12/2006 at 12:49pm | IP Logged Quote lhodge

Where can I redownload the full version of the software. I have my purchase inormation. Once I download it can I siply place the FULL version inplace of the LITE version and it still work?
Back to Top View lhodge's Profile Search for other info by lhodge Visit lhodge's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: September/12/2006 at 12:57pm | IP Logged Quote cwilliams

I just pm'ed you the dload..

I highly suggest you are extremely careful when messing around with that stuff.

Back up everything you got now, backup the original download somewhere to.

Definetly backup the info in your dataconn and config files... !!! That is crucial


And read this too...

http://support.cjwsoft.com/code/code_info.asp?TID=476&KW =upgrade


If I were you I wouldnt be messing around with this cause I got a 100% feeling you got the full version installed somewhere else in your web site. Just look around for it.

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: September/12/2006 at 1:48pm | IP Logged Quote cwilliams

I went and looked in your site... you do have aspprotect in there twice..

Once in the root of the site (working)
And also in a subfolder called asp protecttion or something like that (not working)

regardless both version are the lite version


My licensing postback logs tell me you once had the full version running somewhere in your site but that now seems to be gone

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
lhodge
New User
New User
Avatar

Joined: July/19/2006
Online Status: Offline
Info: 10
Added: September/12/2006 at 1:54pm | IP Logged Quote lhodge

Are there only certain files that have to be changed out for the full version to work or do I have to change them all?
Back to Top View lhodge's Profile Search for other info by lhodge Visit lhodge's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1729
Added: September/12/2006 at 2:02pm | IP Logged Quote cwilliams

Dude, I already told you up above..

dataconn, config_inc in the root are the big ones to keep

login_form.asp is optional

just back what you got up now up... then your safe..

use your head, go slow, figure it out.. it's not anything difficult

a far as I am concernced it's your deal. If you had issues like this way back when it should have been addressed then when it was fresh in everyones head...

I give 30 days of installation support and that is the time period to get it. Not months afterward when nobody even remembers what is going on.



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
lhodge
New User
New User
Avatar

Joined: July/19/2006
Online Status: Offline
Info: 10
Added: September/12/2006 at 2:07pm | IP Logged Quote lhodge

Great! I understand that and I appreciate your assistance. I just do not have time right now to rebuild and fix and test and such. I am not asking you to do that either. I simply wanted to know what the possible problems could be. As soon as I have time I will go through and fix it. Thank you once again for your assistance!
Back to Top View lhodge's Profile Search for other info by lhodge Visit lhodge's Homepage
 

If you wish to make a comment to this info you must first login
If you are not already registered you must first register

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com