Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Code Image didn't show when I modified lang. file
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Code Image didn't show when I modified lang. file

 Post Reply Post Reply Page  12>
Author
asplearning View Drop Down
Newbie
Newbie


Joined: 26 July 2006
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote asplearning Quote  Post ReplyReply Direct Link To This Post Topic: Code Image didn't show when I modified lang. file
    Posted: 28 July 2006 at 2:53pm

I have posted my issue from the Modifications Forum and Dpyers told me to post this issue to the Support Forum so I can get help from Borg.  Since I had posted my issue from the Modifications, you can read it from HERE.



Thanks



Edited by asplearning - 28 July 2006 at 2:54pm
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: 28 July 2006 at 9:09pm
The best way to see why your security image is not displaying is to type into Firefox the path to your CAPTCHA_image.asp.

This is the file that creates the security image, and should display an error message in Firefox if there is an issue with this file loading.
Back to Top
asplearning View Drop Down
Newbie
Newbie


Joined: 26 July 2006
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote asplearning Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2006 at 10:50pm

boRg,

Here is what I got:
    The image http://192.168.0.2/forum/CAPTCHA_image.asp cannot be displayed, because it contains errors.

Then I tried changing it back to the way it was before and it showed the image.  I am not to sure why modify language_file_inc.asp file is effect Code Image.

Thanks
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: 29 July 2006 at 12:44am
You need to turn off friendly HTTP errors in IE, or use Firefox to get a complete error message, this will tells us what is wrong.
Back to Top
asplearning View Drop Down
Newbie
Newbie


Joined: 26 July 2006
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote asplearning Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2006 at 5:16am
Originally posted by -boRg- -boRg- wrote:

You need to turn off friendly HTTP errors in IE, or use Firefox to get a complete error message, this will tells us what is wrong.


Here is what I got boRg:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="vi">
</head>

GIF89ap#3f!,p#|C+FXߔ& 8
ى(
CTt(kh!0̦uz@b<WePxF]ʲM,9Uj wGuS4hw8gIsӥ&9YRbyi&'"juj c3:aЋg(d&lz|Pw3hV8|[F >)+\zBJٌjYBw4j5o=3`NiR rv8H`F<q_z8+J! B']@#W я=>4iGM)}EHE@Rdz]үd{V6mjB}6rڽ7޽|(;

Thanks


Edited by asplearning - 29 July 2006 at 5:17am
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: 29 July 2006 at 8:35am
It looks like you may have edited an include file somewhere to add in :-

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="vi">
</head>

This is the problem as it is sending data it shouldn't to the browser.

To remove the part that you have added that ads the above HTML to your forum, then instead edit the file includes/browser_page_encoding_inc.asp and change the page encoding in that file to UTF-8
Back to Top
asplearning View Drop Down
Newbie
Newbie


Joined: 26 July 2006
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote asplearning Quote  Post ReplyReply Direct Link To This Post Posted: 31 July 2006 at 4:49am

If I take these lines out then all the words will change to a different look.  Please see the images below:


Code:


Web:


Even though I have enabled UTF-8 from the includes/browser_page_encoding_inc.asp file.

Thanks
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: 31 July 2006 at 11:07am
Also add in your :-
<meta http-equiv="Content-Language" content="vi">

Into the browser_page_encoding_inc.asp file

By only modifying the file mentioned above to include your page encoding it will only be used in the correct pages.

At the moment the file you are modifying is coursing your page encoding tags to be used in pages it shouldn't, such as the security image file which is why this part is not working.
Back to Top
 Post Reply Post Reply Page  12>

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.