Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - HELP - I AM TOTALLY MIFFED!!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HELP - I AM TOTALLY MIFFED!!

 Post Reply Post Reply Page  <1234>
Author
NISSANGTIR View Drop Down
Groupie
Groupie


Joined: 20 April 2004
Location: United Kingdom
Status: Offline
Points: 85
Post Options Post Options   Thanks (0) Thanks(0)   Quote NISSANGTIR Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2004 at 6:44am
OK - I am now TOTALLY at the end of my tether (if thats how you spell it)
 
I have uploaded a fresh copy of WWF onto the non-secure side http:// folder and STILL I keep getting the insufficent permissions page.


Edited by NISSANGTIR
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2004 at 7:10am
I had a look and it it trying to get through.

But it does look like a cookie issue.

Looking at my cookie cach after tryiny to login, for some reason the path for the cookie is being set as:-

/usautomotive.co.uk_ssl

When the path shold be just /, this is coursing the browser to have difficulties reading back in the cookie.

Maybe your host can help out with this.

If not you will have to find all places the forum sets cookies and manually set the cookie path using:-

Response.Cookies("cookieName").Path = "/"
Back to Top
NISSANGTIR View Drop Down
Groupie
Groupie


Joined: 20 April 2004
Location: United Kingdom
Status: Offline
Points: 85
Post Options Post Options   Thanks (0) Thanks(0)   Quote NISSANGTIR Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2004 at 8:16am
Well I shall look into that  - Again I take my hat off, thanks for taking the time to help - You are in deed a gentleman and a scholar.
Back to Top
NISSANGTIR View Drop Down
Groupie
Groupie


Joined: 20 April 2004
Location: United Kingdom
Status: Offline
Points: 85
Post Options Post Options   Thanks (0) Thanks(0)   Quote NISSANGTIR Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2004 at 11:12am
Ok - This is last time I shall ask for help I promise  - My hosts have asked me this:-
 
...........
does the designer know the phrase to search for and what to replace it with, ie:

search for  Response.Cookies("cookieName").Path = "/" and replace with Response.Cookies("cookieName").Path = "/usautomotive.co.uk_ssl"
...........
 
??? - Is it going to be as simple as that??
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2004 at 3:32am
I'm afraid not.

You need to get a program like UltraEdit and search for files that contain Response.Cookies

You then need to edit each of these files and put in the code for the path the cookie should be set to, for your server it will be:-

Response.Cookies("cookieName").Path = "/usautomotive.co.uk_ssl"

At present no path is set in the forum code for cookies, the reason for this is that it was found that by setting the path coursed problems with allot of servers.


Back to Top
NISSANGTIR View Drop Down
Groupie
Groupie


Joined: 20 April 2004
Location: United Kingdom
Status: Offline
Points: 85
Post Options Post Options   Thanks (0) Thanks(0)   Quote NISSANGTIR Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2004 at 4:01am
Ok thanks for that, I just need to get one thing staright in my head
 
For example, below is a scetion of your code from the login page:
 
Response.Cookies("Forum")("UID") = strUserCode
   If CBool(Request.Form("ActiveUsers")) = False Then
    Response.Cookies("Forum")("Hide") = True
   Else
    Response.Cookies("Forum")("Hide") = False
   End If
 
 
Should it now be:-
 
Response.Cookies("cookieName").Path = "/usautomotive.co.uk_ssl"
("Forum")("UID") = strUserCode
   If CBool(Request.Form("ActiveUsers")) = False Then
    Response.Cookies("cookieName").Path = "/usautomotive.co.uk_ssl"
("Forum")("Hide") = True
   Else
    Response.Cookies("cookieName").Path = "/usautomotive.co.uk_ssl"
("Forum")("Hide") = False
   End If
 
Back to Top
NISSANGTIR View Drop Down
Groupie
Groupie


Joined: 20 April 2004
Location: United Kingdom
Status: Offline
Points: 85
Post Options Post Options   Thanks (0) Thanks(0)   Quote NISSANGTIR Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2004 at 6:35am
Well aparrently not - If I do add that after each Response.Cookies I get this message:-
 
Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: "/usautomotive.co.uk_"]'

/usautomotive.co.uk_ssl/forum/admin/common.asp, line 217

DOH!!  -boRg- I don't suppose I can pay you to sort this for me?? I will also pay for the link removal too  - Just need it sorted now.
 

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2004 at 10:58am
Looks like you could be running an old version of the forum looking at that code, you should update to the latest version 7.8.

The part "cookieName" was only an example, you need to change this to the name of the cookie and place it before the cookie is set eg.:-


Response.Cookies("Forum").Path = "/usautomotive.co.uk_ssl"

Response.Cookies("Forum")("UID") = strUserCode
   If CBool(Request.Form("ActiveUsers")) = False Then
    Response.Cookies("Forum")("Hide") = True
   Else
    Response.Cookies("Forum")("Hide") = False
   End If


You just need to add the line before the cookie is set, not change any lines that are already there.
Back to Top
 Post Reply Post Reply Page  <1234>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.