friends help me, i am getting this error on some pages..

Started on the old forum in June 2012 · view the original in the archive · old links redirect here

9 replies · 492 views · started 14 years ago · 1 min read

7 participants
icedroplet1987 Senior · 258 posts #1

hi friends, i am stuck with this error on main page n few more pages.. there is no error in other pages like buddylist , inbox etc.. whats this help pls

Firefox doesnt know how to open this address , protocol (location) isnt associate with any program!!

please help about this as getting with all browsers but on few pages n not on all.. it was working fine before!! what could be the problem?

ozziemale31 Lead · 861 posts #3

re

icedroplet1987 wrote: hi friends, i am stuck with this error on main page n few more pages.. there is no error in other pages like buddylist , inbox etc.. whats this help pls

Firefox doesnt know how to open this address , protocol (location) isnt associate with any program!!

please help about this as getting with all browsers but on few pages n not on all.. it was working fine before!! what could be the problem?

A protocol is a method that is used to send, receive, and handle information over a connection. Common protocols viewed from the browser include http, https, ftp, and mailto. In order for you to view information sent over a specific protocol, it must be registered. If you enter a URL for an unknown protocol (foo) in the Location Bar, you will receive a message such as, Firefox doesn't know how to open this address, because the protocol (foo) isn't associated with any program or, in Mozilla Suite/SeaMonkey, foo not a registered protocol.

Once registered, the protocol can then be handled by the program you specify, such as your browser or a third party viewer. This means that a hyperlink ( e.g. foo://fred) can use the handler for protocol foo to open the file named fred. Contents [hide]

1 Windows
2 Linux
    2.1 All Firefox versions
    2.2 Firefox 3.5 and above
    2.3 Firefox versions up to 3.0
3 Mac
4 Troubleshooting
5 See also
6 External links

[edit] Windows

On Windows, protocol registration is done by the operating system (OS). For example, when you set a web browser as the default browser, the OS will register the http, https and ftp protocols and associate them with that web browser; when you open an http https or ftp link in a mail message or from an Internet Shortcut, the URL will open in your default browser. Similarly, when you set a default mail client, the OS registers the mailto protocol so that mailto links in the browser open in the associated mail application.

Note: Mozilla Suite/SeaMonkey integrates mail and browser functions so that web links in an email message (e.g., http:// links) will open in a SeaMonkey browser window and "mailto:" links in a web page will open in SeaMonkey Mail, regardless of the OS protocol handlers.

Other protocols can be registered and associated with an external application by configuring an installed program to handle the content. For example, you can set RealPlayer as the registered protocol handler for RTSP URLs (Real-Time Streaming Protocol) by using RealPlayer's preference settings under "Content -> Media Types". When you next open an rtsp:// link, Firefox or Mozilla Suite/SeaMonkey will ask you to confirm the external protocol request before it will launch the application [1] [2].

It is also possible to register a protocol by creating a .reg file such as the following, and placing this in the file:

REGEDIT4

[HKEY_CLASSES_ROOT\foo] @="URL:foo Protocol" "URL Protocol"=""

[HKEY_CLASSES_ROOT\foo\shell]

[HKEY_CLASSES_ROOT\foo\shell\open]

[HKEY_CLASSES_ROOT\foo\shell\open\command] @=""C:\Program Files\Application\program.exe" "%1""

Replace foo with the protocol you're specifying and C:\Program Files\Application\program.exe with the program you want to run. [3] Note that backslashes must be doubled and the additional slashes and quotes before the path must not be removed. Save the file, then double-click it to insert into the Windows registry. See Registering an Application to a URL Protocol for additional information. [edit] Linux [edit] All Firefox versions

(Requires certain Gnome libraries to be installed)

In a terminal, type: 

gconftool-2 -s /desktop/gnome/url-handlers/foo/command '/path/to/app %s' --type String gconftool-2 -s /desktop/gnome/url-handlers/foo/enabled --type Boolean true

Replace foo on both lines with the protocol you want to register and /path/to/app with the path to the application you want to run. [edit] Firefox 3.5 and above

(Works without installed Gnome libraries)

Type about:config into the Location Bar (address bar) and press Enter.
Right-click -> New -> Boolean -> Name: network.protocol-handler.expose.foo -> Value -> false (Replace foo with the protocol you're specifying)
Next time you click a link of protocol-type foo you will be asked which application to open it with. 

[edit] Firefox versions up to 3.0

(Works without installed Gnome libraries)

Type about:config into the Location Bar (address bar) and press Enter.
Right-click -> New -> Boolean -> Name: network.protocol-handler.external.foo -> Value -> true (Replace foo with the protocol you're specifying)
Right-click -> New -> String -> Name: network.protocol-handler.app.foo -> Value -> /path/to/app (Replace foo with the protocol you're specifying and /path/to/app with the path to the application you want to run)
Ensure network.protocol-handler.expose-all is set to true. 

[edit] Mac

Firefox versions up to 3.0:

Type about:config into the address bar and press Enter.
Right-click -> New -> Boolean -> Name: network.protocol-handler.external.foo -> Value -> true (Replacing foo with the protocol you're specifying)
Right-click -> New -> String -> Name: network.protocol-handler.app.foo -> Value -> /path/to/app (Replacing foo with the protocol you're specifying and /path/to/app with the path to the application you want to run.
Ensure network.protocol-handler.expose-all is set to true. 

[edit] Troubleshooting

(Linux and Mac) If the path or name is incorrect when setting the network.protocol-handler.app.(protocol) preference , Firefox will display an error saying "protocol (foo) isn't associated with any program". (bug 312953)
If you receive a message in Firefox that the mailto protocol is not associated with any program, reset your default mail client.
Certain unsafe protocols are ignored by default (bug 173010).

icedroplet1987 wrote: hi friends, i am stuck with this error on main page n few more pages.. there is no error in other pages like buddylist , inbox etc.. whats this help pls

Firefox doesnt know how to open this address , protocol (location) isnt associate with any program!!

please help about this as getting with all browsers but on few pages n not on all.. it was working fine before!! what could be the problem?

ice your site seems to work fine on my browser

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

morse Senior · 364 posts #4

The pages that you are trying to view, are they php pages or simple html? Whats the document type? If it is wml then you need a wml browser plugin to view those pages (check the document type code in those selective pages) . I would also recommend you to check the hyperlink i.e linked url. See if its in the format i.e. http://subdomain.domain.tld format or atleast http://domain.tld format. if you are using rtsp instead of http or if http:// has any element missing from it then you may face such problem. The double slash and colon are important, hence see if they are present.

tinyurl.com/earnbymobile Easy earning for Indians

Alternative mobile advertising network .. Minimum 100 USD pay / NET15 pay cycle, Good Brand, Best targeting for Android goo.gl/6vub3

icedroplet1987 Senior · 258 posts #5

ozziemale31 wrote: A protocol is a method that is used to send, receive, and handle information over a connection. Common protocols viewed from the browser include http, https, ftp, and mailto. In order for you to view information sent over a specific protocol, it must be registered. If you enter a URL for an unknown protocol (foo) in the Location Bar, you will receive a message such as, Firefox doesn't know how to open this address, because the protocol (foo) isn't associated with any program or, in Mozilla Suite/SeaMonkey, foo not a registered protocol.

Once registered, the protocol can then be handled by the program you specify, such as your browser or a third party viewer. This means that a hyperlink ( e.g. foo://fred) can use the handler for protocol foo to open the file named fred. Contents [hide]

1 Windows
2 Linux
    2.1 All Firefox versions
    2.2 Firefox 3.5 and above
    2.3 Firefox versions up to 3.0
3 Mac
4 Troubleshooting
5 See also
6 External links

[edit] Windows

On Windows, protocol registration is done by the operating system (OS). For example, when you set a web browser as the default browser, the OS will register the http, https and ftp protocols and associate them with that web browser; when you open an http https or ftp link in a mail message or from an Internet Shortcut, the URL will open in your default browser. Similarly, when you set a default mail client, the OS registers the mailto protocol so that mailto links in the browser open in the associated mail application.

Note: Mozilla Suite/SeaMonkey integrates mail and browser functions so that web links in an email message (e.g., http:// links) will open in a SeaMonkey browser window and "mailto:" links in a web page will open in SeaMonkey Mail, regardless of the OS protocol handlers.

Other protocols can be registered and associated with an external application by configuring an installed program to handle the content. For example, you can set RealPlayer as the registered protocol handler for RTSP URLs (Real-Time Streaming Protocol) by using RealPlayer's preference settings under "Content -> Media Types". When you next open an rtsp:// link, Firefox or Mozilla Suite/SeaMonkey will ask you to confirm the external protocol request before it will launch the application [1] [2].

It is also possible to register a protocol by creating a .reg file such as the following, and placing this in the file:

REGEDIT4

[HKEY_CLASSES_ROOT\foo] @="URL:foo Protocol" "URL Protocol"=""

[HKEY_CLASSES_ROOT\foo\shell]

[HKEY_CLASSES_ROOT\foo\shell\open]

[HKEY_CLASSES_ROOT\foo\shell\open\command] @=""C:\Program Files\Application\program.exe" "%1""

Replace foo with the protocol you're specifying and C:\Program Files\Application\program.exe with the program you want to run. [3] Note that backslashes must be doubled and the additional slashes and quotes before the path must not be removed. Save the file, then double-click it to insert into the Windows registry. See Registering an Application to a URL Protocol for additional information. [edit] Linux [edit] All Firefox versions

(Requires certain Gnome libraries to be installed)

In a terminal, type: 

gconftool-2 -s /desktop/gnome/url-handlers/foo/command '/path/to/app %s' --type String gconftool-2 -s /desktop/gnome/url-handlers/foo/enabled --type Boolean true

Replace foo on both lines with the protocol you want to register and /path/to/app with the path to the application you want to run. [edit] Firefox 3.5 and above

(Works without installed Gnome libraries)

Type about:config into the Location Bar (address bar) and press Enter.
Right-click -> New -> Boolean -> Name: network.protocol-handler.expose.foo -> Value -> false (Replace foo with the protocol you're specifying)
Next time you click a link of protocol-type foo you will be asked which application to open it with. 

[edit] Firefox versions up to 3.0

(Works without installed Gnome libraries)

Type about:config into the Location Bar (address bar) and press Enter.
Right-click -> New -> Boolean -> Name: network.protocol-handler.external.foo -> Value -> true (Replace foo with the protocol you're specifying)
Right-click -> New -> String -> Name: network.protocol-handler.app.foo -> Value -> /path/to/app (Replace foo with the protocol you're specifying and /path/to/app with the path to the application you want to run)
Ensure network.protocol-handler.expose-all is set to true. 

[edit] Mac

Firefox versions up to 3.0:

Type about:config into the address bar and press Enter.
Right-click -> New -> Boolean -> Name: network.protocol-handler.external.foo -> Value -> true (Replacing foo with the protocol you're specifying)
Right-click -> New -> String -> Name: network.protocol-handler.app.foo -> Value -> /path/to/app (Replacing foo with the protocol you're specifying and /path/to/app with the path to the application you want to run.
Ensure network.protocol-handler.expose-all is set to true. 

[edit] Troubleshooting

(Linux and Mac) If the path or name is incorrect when setting the network.protocol-handler.app.(protocol) preference , Firefox will display an error saying "protocol (foo) isn't associated with any program". (bug 312953)
If you receive a message in Firefox that the mailto protocol is not associated with any program, reset your default mail client.
Certain unsafe protocols are ignored by default (bug 173010).

ice your site seems to work fine on my browser

bro i know all this but main problem.. i am facing this error only on few pages!! n not facing it with all pc"s.. it was working all good but from last two days , i am facing this error while i didnt change anything in codes anywhere.. // dont know why its happening as one more user complint same.. its working fine on a cyber pc where i chkd but giving error in mine n few more users of my site.. // cant understand why its giving so coz it was working fine.. n as i mentioned, i didnt change any codes anywhere yet then also it automatically started giving this error. !! 🙁

morse wrote: The pages that you are trying to view, are they php pages or simple html? Whats the document type? If it is wml then you need a wml browser plugin to view those pages (check the document type code in those selective pages) . I would also recommend you to check the hyperlink i.e linked url. See if its in the format i.e. http://subdomain.domain.tld format or atleast http://domain.tld format. if you are using rtsp instead of http or if http:// has any element missing from it then you may face such problem. The double slash and colon are important, hence see if they are present.

mate i know all this abt pages etc.. but its some error coz of host or something.. looks so..

my pages are in php (xhtml)

Loony wrote: have u got a demo link?

Demo

chk pls

morse Senior · 364 posts #6

As expected there is a problem with the way you have laid up the html page. Add

<?xml version="1.0" encoding="UTF-8"?>

or

<?xml version="1.0" encoding="iso-8859-1"?>

depending upon the meta content-type that you have later declared in the page. You are missing upon basic HTML!

tinyurl.com/earnbymobile Easy earning for Indians

Alternative mobile advertising network .. Minimum 100 USD pay / NET15 pay cycle, Good Brand, Best targeting for Android goo.gl/6vub3

icedroplet1987 Senior · 258 posts #7

morse wrote: As expected there is a problem with the way you have laid up the html page. Add

<?xml version="1.0" encoding="UTF-8"?>

or

<?xml version="1.0" encoding="iso-8859-1"?>

depending upon the meta content-type that you have later declared in the page. You are missing upon basic HTML!

i am only facingit in opera.. n yes i tried both.. utf-8 n iso thing but didnt help.. means if i edit correct codes too then also it makes me xcrazy when i get error in 1st line of file:(

Ghost Senior · 366 posts #8

im using opera 12.00 and the demo link provided loads up fine for me no issues.

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
woody Developer · 176 posts #9

Loads fine for me using chrome, apart from all the MySql errors 8)

12345xmen Developer · 239 posts #10

working fi9 for me too on mozilla

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close