A stock installation of both vBSEO and vB4 - no changes (apart from memcache set as cache) in vBSEO 3.5.
Error on forum homepage + other pages:
Warning: Invalid argument supplied for foreach() in /home/*****/public_html/forums/vbseo.php on line 646
Forums <-- must be index.php!
Line 646:
I have no custom rules!PHP Code:foreach($GLOBALS['vbseo_custom_rules'] as $k => $v)
H
Error on User Profile Page:
Warning: Invalid argument supplied for foreach() in /home/*****/public_html/forums/vbseo/includes/functions_vbseo_crr.php on line 67
http://forums.hostcule.com/members/r...ms-shamil.html
Line 67:
Again, no custom rules!PHP Code:foreach($GLOBALS['vbseo_custom_rules'] as $k => $v)
However, if I remove the default content that's in the box, the error goes!; Removing that line with no text on, after showgroups -> forumleaders.html fixes this.
//================================================== ========================
// Sample Custom Rewrite Rule: showgroup.php as forumleaders.html (Remove the \'//\' in front of the rule to enable).
//================================================== ========================
//\'^showgroups\\.php$\' => \'forumleaders.html\'
//================================================== ========================
// Sample Custom Rewrite Rules: calendar as static pages (Remove the \'//\' in front of the rules to enable).
// Note: Enable the calendar dropdown redirect rule within the Custom 301 Redirects section below.
//================================================== ========================
//\'calendar\\.php$\' => \'calendar/\'
//\'^calendar\\.php\\?c=1$\' => \'calendar/\'
//\'^calendar\\.php\\?(c=1&)?do=(display.+?)(&year=) ?$\' => \'calendar/$2/[NF]\'
//\'calendar\\.php\\?(c=1&)?nojs=1\' => \'calendar/nojs/[NF]\'
//\'calendar\\.php\\?(c=1&)?do=(display.+?)&nojs=1\' => \'calendar/$2/nojs/[NF]\'
//\'calendar\\.php\\?(c=1&)?week=(\\d+)&nojs=1\' => \'calendar/week-$2/nojs/[NF]\'
//\'calendar\\.php\\?(c=1&)?month=(\\d+)&year=(\\d+)&nojs=1\' => \'calendar/$3/$2/nojs/[NF]\'
//\'^calendar\\.php\\?do=getinfo&(c=1&)?day=(\\d+)-(\\d+)-(\\d+)(&c=1)?$\' => \'calendar/$2/$3/$4/\'
//\'^calendar\\.php\\?do=getinfo&e=(\\d+)(&day=[0-9\\-]+)?(&c=1)?$\' => \'calendar/event-$1/\'
//\'^calendar\\.php\\?(s=&)?(c=1&)?(week=&)?month=(\\d+)&year=(\\d+)(&c=1)?(&do=displaymonth)?$\' => \'calendar/$5/$4/\'
//\'^calendar\\.php\\?c=1&week=(\\d+)(&do=displayweek&month=.+?)?$\' => \'calendar/week-$1/\'


LinkBack URL
About LinkBacks





Reply With Quote
