Parse error: parse error, unexpected ')' in /home/michael/public_html/includes/config_vbseo.php on line 206
I am getting the following error message upon visiting ALL pages.![]()
This is a discussion on Major Issue within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Parse error : parse error, unexpected ')' in /home/michael/public_html/includes/config_vbseo.php on line 206 I am getting the following error message upon ...
Parse error: parse error, unexpected ')' in /home/michael/public_html/includes/config_vbseo.php on line 206
I am getting the following error message upon visiting ALL pages.![]()
The Staff Lounge - Your vBulletin Resource.
vBulletin, InvisionFree, IPB, phpBB and Forum Resources.
vBSEO: The SEO Solution for Expert vBulletin Forum Admins
To repeat, all pages, including the Admin CP, including the vBSEO Admin CP panel, including the index, including the thread pages are all dishing out the same error. This change can be linked to me making a change to my Archive Settings. From memory i think i went from the 3rd Option which was 301ing Threads and Rewriting them to the Top Option of just 301ing threads whilst not rewriting the content ... erm ... HELP!!! :P
The Staff Lounge - Your vBulletin Resource.
vBulletin, InvisionFree, IPB, phpBB and Forum Resources.
vBSEO: The SEO Solution for Expert vBulletin Forum Admins
Michael,
an error occured when saving the settings in vbseocp.
You should reupload original config_vbseo.php file and then restore your settings from xml backup (if you have one).
OR you can look in this file at line 206 and try to find an error to correct it.
If you will post content block near to this line, we will try to help you correct it.
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Update: I was currently running the vBSEO 2.3.1 version i have since updated my files to the 2.3.2 version. Of course though, i have been unable to access my Plugin System or vB SEO Admin CP thus my modifications will have been lost.
The Staff Lounge - Your vBulletin Resource.
vBulletin, InvisionFree, IPB, phpBB and Forum Resources.
vBSEO: The SEO Solution for Expert vBulletin Forum Admins
Line in red is line 206.// ****** INCLUDE ABSOLUTE PATH IN URLs? ******
// The original vB does not have nested tree urls, so image urls are the same for every page displayed.
// With the hack enabled you will possibly have 'deeper' pages and images would be broken then.
// Absolute URLs should be used to correct the situation. However , if you are using root URLs, you can disable
// this setting to gain some performance.
define('VBSEO_ABSOLUTE_PATH_IN_URL', 1);
// ****** ADD REL="NOFOLLOW" TO LINKS ******
// Prevent Search Engines from following links that might lead to 'duplicate content' by enabling these features.
define('VBSEO_NOFOLLOW_SHOWPOST', 2);
define('VBSEO_NOFOLLOW_PRINTTHREAD', 1);
define('VBSEO_NOFOLLOW_SORT', 1);
define('VBSEO_NOFOLLOW_DYNA', 1);
define('VBSEO_NOFOLLOW_EXTERNAL', 0);
define('VBSEO_NOFOLLOW_MEMBER_POSTBIT', 1);
define('VBSEO_NOFOLLOW_MEMBER_FORUMHOME', 0);
The Staff Lounge - Your vBulletin Resource.
vBulletin, InvisionFree, IPB, phpBB and Forum Resources.
vBSEO: The SEO Solution for Expert vBulletin Forum Admins
Michael,
is it the content of config_vbseo.php at the moment when error appeared or it is current config file that you restored?
What I meant was to check the contents of config file that raised an error.
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Unfortunately i followed your instructions to overwrite the file before i checked to see what the content inside was.
The Staff Lounge - Your vBulletin Resource.
vBulletin, InvisionFree, IPB, phpBB and Forum Resources.
vBSEO: The SEO Solution for Expert vBulletin Forum Admins
Oh, I see. I hope you have the exported xml settings from previous vBSEO upgrade so that you can restore them easily.
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Unfortunately not, hence, why i am spending the next half an hour readding my CRRs, and RPs too ... -_-
The Staff Lounge - Your vBulletin Resource.
vBulletin, InvisionFree, IPB, phpBB and Forum Resources.
vBSEO: The SEO Solution for Expert vBulletin Forum Admins
There updated everything back to normal.
Now the matter at hand, what caused this error and will it happen again, and what can you and myself do to make sure this is avoided?
The Staff Lounge - Your vBulletin Resource.
vBulletin, InvisionFree, IPB, phpBB and Forum Resources.
vBSEO: The SEO Solution for Expert vBulletin Forum Admins
I am interested to find out the reason too! I can think of 2 possible reasons:
1. config_vbseo.php file uploaded incorrectly (it's unlikely though)
2. You have saved the settings in vbseocp and entered some value that (after storing in config file) break php code in config_vbseo.php.
Can you recall if you made some specific changes via vbseocp right before an error occured?
Also, could please check your current config file near to line 206 (assuming the config is exactly the same as before)?
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
I recall making only one change to that vB SEO Admin CP which was to change the Archive option from Rewrite + 301 Redirect Archive Pages to 301 Redirect vB's Archive Thread Pages. Although at the same time as this i was also working away on a plugin by amykahr why added Google Adsense into the Archive and i was trying to implement Digital Coop Ads into her plugin for a better allround visual appeal. Perhaps the two bits of information "collided"? After checking my config file since upload the line "// Prevent Search Engines from following links that might lead to 'duplicate content' by enabling these features". is still the same at 206.
The Staff Lounge - Your vBulletin Resource.
vBulletin, InvisionFree, IPB, phpBB and Forum Resources.
vBSEO: The SEO Solution for Expert vBulletin Forum Admins
That's weird, perhaps they have accidentally conflicted somehow.
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!