• Welcome to Simple Machines Community Forum. Please login or sign up.
January 26, 2022, 12:10:33 AM

News:

Wondering if this will always be free?  See why free is better.


redirect error message in MessageIndex.php

Started by dobuy, October 02, 2013, 07:24:19 AM

Previous topic - Next topic

dobuy

I am getting a continuous stream of error messages as below, any suggestions on a fix for this would be much apreciated, many thanks.

Quotehxxp:www.xxxxxx/index.php?pretty;board=car-chat-27.0 [nonactive]
8: Undefined index: redirectApply Filter: Only show the errors from this file
File: /home/xxxxxx/public_html/Sources/MessageIndex.php
Line: 35

Generating an error in line 35 of the MessageIndex.php

Quote35:      if ($board_info['redirect'])
36:      {
37:         $smcFunc['db_query']('', '
38:            UPDATE {db_prefix}boards
39:            SET num_posts = num_posts + 1
40:            WHERE id_board = {int:current_board}',
41:            array(
42:               'current_board' => $board,
43:            )
44:         );
45:   
46:         redirectexit($board_info['redirect']);

My modifications are currently:

QuoteGoogle Analytics Code   1.4 
RSS Feed Poster   3.0.4 
Pretty URLs   1.1 
Enable or Disable "Last Edit: by" for Administrators   1.4 
Global Headers Footers   2.0.1 
Similar Topics   0.6 
Aeva ~ Auto-Embed Video & Audio   7.2 
SA Facebook   2.0.2 

Although I have tried several others and un-installed them.

Kindred

your error would seem to be related to the prettyurls mod.

so, any fix should be requested in the support thread for that mod...    although, personally, I'd just get rid of it - it serves no actual purpose in SEO terms.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: