1 (edited by qie 2007-06-15 09:58)

Topic: another 2 bug maybe.

Haha..recently i'm holding a website by punbb,so i test it so much time.

smile

1.
i found an old question,you view a topic,then click the" log in " ,then logged,the page redirect to index.php!
but it should redirect to the topic you read seconds ago...

may be that another a "Based Url " question, when my based url is "http://somedomain.org"  i'm using the "http://somdomain.org/viewtopic.php?id=4" then it redirected good,but using "http://www.somedomain.org/viewtopic.php?id=4" then it works wrong,redirected to index.php...
Oh My GOd, so many people using www.somedomain.org,but half of guests using "somedomain.org"!
so i really anooring with "bad http" and "base Url"  it's really too much anoise than benifit.

some one solve the probelm?



2.
i'm using  some@some.com.ru as the admin's email,when i'm editing the options,it says "not correct admin email" something like that,when i changed it to "opensite@gmail.com" ,it runs.

smile

Re: another 2 bug maybe.

1.

$redirect_url = (isset($_SERVER['HTTP_REFERER']) && preg_match('#^'.preg_quote($pun_config['o_base_url']).'/(.*?)\.php#i', $_SERVER['HTTP_REFERER'])) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : 'index.php';

Your issue is using www. versus not using it. The reason it's an issue is that the base URL either has it or does not have it. Your users being able to access the site from multiple URLs is your issue, not PunBB's.

2.

    if (!is_valid_email($form['admin_email']))
        message('The admin e-mail address you entered is invalid.');

I tried entering the email you gave me and it validated without an issue. You'll have to provide the actual email if you want me to check this out (although the email should never be valid in PunBB if you're getting an error there)

3 (edited by qie 2007-06-16 01:47)

Re: another 2 bug maybe.

about 2,maybe my fault...