| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
tweety PR0

Joined: 24 Jan 2007 Posts: 94
|
Posted: Sat Jul 14, 2007 4:10 am Post subject: posting php redirect blank page error |
|
|
please help
posting all works but reply not 100%
this may be to do with seo
problem is this
posting a reply does not always redirect to post, sometimes just blank page. post is there but does not redirect.
i am testing phase
if i reply to my own post to topic that i start, it seems to work all ok,
but if i reply to some one elses topic then i get blank page.
the post does work, it is there, but blank page, no redirect??
any help please as to how this problem |
Last edited by tweety on Sat Jul 14, 2007 12:01 pm; edited 1 time in total |
|
| Back to top |
|
 |
|
 |
tweety PR0

Joined: 24 Jan 2007 Posts: 94
|
Posted: Sat Jul 14, 2007 12:00 pm Post subject: Re: posting php redirect blank page error |
|
|
| Code: | | stderr: PHP Fatal error: Call to undefined function: format_url() in /includes/functions_post.php on line 743 |
line 743 is this
| Code: | $topic_url = $server_protocol . $server_name . $server_port . ( (trim($board_config['script_path'], "/") != '/') ? trim($board_config['script_path'], "/") : '' ) . '' . format_url($topic_title) . '-t-' . $topic_id .( ($pages > 1) ? '-' . $paginated * ($pages -1) : '') . '.html' . '#' . $post_id; @reset($bcc_list_ary);
|
this error is when replying to someone elses topic.
works fine if topic is your own topic |
|
|
| Back to top |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 808
|
Posted: Sat Jul 14, 2007 5:08 pm Post subject: Re: posting php redirect blank page error |
|
|
| Í don't believe functions_post.php is part of the mod, but shouldn't it be $phpbb_seo->format_url($topic_title)? |
_________________ Dan Kehn |
|
| Back to top |
|
 |
tweety PR0

Joined: 24 Jan 2007 Posts: 94
|
Posted: Sat Jul 14, 2007 6:18 pm Post subject: Re: posting php redirect blank page error |
|
|
you are correct. i was given the project as a handover, i now see they tried to add a mod to topic notify on here.
yes it does needs to be changed
this works
| Code: | | $topic_url = $server_protocol . $server_name . $server_port . ( (trim($board_config['script_path'], "/") != '/') ? trim($board_config['script_path'], "/") : '' ) . '' . $phpbb_seo->format_url. $topic_id .( ($pages > 1) ? '-' . $paginated * ($pages -1) : '') . '.html' . '#' . $post_id; |
but this still needs to be changed and i do not know what to do
| Code: | | 'U_TOPIC' => $server_protocol . $server_name . $server_port . $script_name . '?' . POST_POST_URL . "=$post_id#$post_id", |
any idea for help |
|
|
| Back to top |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 808
|
Posted: Sat Jul 14, 2007 7:48 pm Post subject: Re: posting php redirect blank page error |
|
|
| If you have the zero dup mod installed, the postnnnn.html will be redirected to its actual URL. I believe dcz plans to release a version of the advanced rewrite mod whose notifications are the actual URLs (not the postnnnn.html format). |
_________________ Dan Kehn |
|
| Back to top |
|
 |
tweety PR0

Joined: 24 Jan 2007 Posts: 94
|
Posted: Sun Jul 15, 2007 12:19 pm Post subject: Re: posting php redirect blank page error |
|
|
| yes thank you. i wait for the release. |
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |