coppermine-gallery.com/forum

Support => Older/other versions => cpg1.1.X Support (standalone) => Topic started by: melloyellow on October 05, 2003, 08:04:52 AM

Title: Registering with Netscape
Post by: melloyellow on October 05, 2003, 08:04:52 AM
I have found using Netscape with Coppermine users can't register. Has anyone found this kind of behavior? Is their a fix out there somewhere? http://www.s-10crewcab.com/coppermine

Thanks
Title: Registering with Netscape
Post by: Zarsky on October 05, 2003, 08:11:58 AM
Can you please provide the exact version and OS you are using?
Title: Registering with Netscape
Post by: melloyellow on October 05, 2003, 08:31:27 AM
Quote from: "zarsky99"Can you please provide the exact version and OS you are using?

Yes. It is standalone 1.1.0 and the OS is MacOSX 10.2.6. Only netscape seems to have a problem that we have found so far.
Title: Registering with Netscape
Post by: Zarsky on October 05, 2003, 08:38:09 AM
Which version of netscape?
Title: Registering with Netscape
Post by: melloyellow on October 05, 2003, 04:05:55 PM
Quote from: "zarsky99"Which version of netscape?

7.1 on the mac. Not sure on the pc.
Title: Registering with Netscape
Post by: melloyellow on October 07, 2003, 04:28:45 AM
Quote from: "zarsky99"Which version of netscape?
Has anyone seen this problem before with Netscape? Is their any hope?
Title: Registering with Netscape
Post by: Zarsky on October 07, 2003, 04:34:07 AM
please be patient....I do not have netscrap installed....so I am unable/unwilling to test it.  I wanted all the specifics to enable some other dev to figure out the problem.
Title: Registering with Netscape
Post by: moorey on October 07, 2003, 05:35:45 AM
Quote from: "melloyellow"
Quote from: "zarsky99"Which version of netscape?
Has anyone seen this problem before with Netscape? Is their any hope?

On OSX, Netscape/mozilla doesn't work on registering (just found out) but it could be theme specific.

It works fine on Safari and IE though - is there any reason why those browsers can't be used instead?
Title: Registering with Netscape
Post by: hyperion on October 07, 2003, 05:51:26 AM
Dear mellowyellow,

Most likely, the issue lies within the HTML itself. Examination of your source code reveals a typo in the form tag.


<form <form method="post" action="/coppermine/register.php">


Netscape is the most finnicky of all browsers, and it is probably rejecting the malformed HTML out of hand. Hence, users with Netscape have no result when clicking I agree. (Netscape sees <form></form> with no action directive.)

Please look in your register.php file, and remove the extra <form.  (That's where it should be, but it could be hiding somewhere else.)

This how  the code in register.php should appear:

// Display the disclaimer
function display_disclaimer()
{
        global $CONFIG, $PHP_SELF;
        global $lang_register_disclamer, $lang_register_php;

        starttable(-1, $lang_register_php['term_cond']);
        echo <<<EOT
        <form method="post" action="$PHP_SELF">
        <tr>
                <td class="tableb" style="padding: 10px;">



(That's my hypothesis, but I don't have Netscape or a Mac . . . )

In order to fix this problem for others, we need to know if you have edited this file.  If not, when did you download it (date and version)?

Thanks,

Hyperion.
Title: Registering with Netscape
Post by: melloyellow on October 09, 2003, 04:12:26 AM
I have not modified it at all. I downloaded it about 2 weeks ago. I didn't see the problem until a couple users complained and they were using Netscape. So I tried Netscape on the mac and sure enough the same problem.
Title: Registering with Netscape
Post by: melloyellow on October 09, 2003, 04:30:39 AM
Quote from: "hyperion"Dear mellowyellow,

Most likely, the issue lies within the HTML itself. Examination of your source code reveals a typo in the form tag.


<form <form method="post" action="/coppermine/register.php">


Netscape is the most finnicky of all browsers, and it is probably rejecting the malformed HTML out of hand. Hence, users with Netscape have no result when clicking I agree. (Netscape sees <form></form> with no action directive.)

Please look in your register.php file, and remove the extra <form.  (That's where it should be, but it could be hiding somewhere else.)

This how  the code in register.php should appear:

// Display the disclaimer
function display_disclaimer()
{
        global $CONFIG, $PHP_SELF;
        global $lang_register_disclamer, $lang_register_php;

        starttable(-1, $lang_register_php['term_cond']);
        echo <<<EOT
        <form method="post" action="$PHP_SELF">
        <tr>
                <td class="tableb" style="padding: 10px;">



(That's my hypothesis, but I don't have Netscape or a Mac . . . )

In order to fix this problem for others, we need to know if you have edited this file.  If not, when did you download it (date and version)?

Thanks,

Hyperion.

That was it. I fixed that and it works fine.

Thanks
Title: Registering with Netscape
Post by: Oasis on October 09, 2003, 10:05:35 AM
you should fix that in the release. It comes like that in the release.

I have had several netscape users report the problem too. Netscape 7.1 on windows.