Results 1 to 13 of 13

Major Issue

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 ...

  1. #1
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times

    Major Issue

    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.

  2. #2
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    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

  3. #3
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    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.

  4. #4
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    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.

  5. #5
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    // ****** 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);
    Line in red is line 206.

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    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.

  7. #7
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    Unfortunately i followed your instructions to overwrite the file before i checked to see what the content inside was.

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Oh, I see. I hope you have the exported xml settings from previous vBSEO upgrade so that you can restore them easily.

  9. #9
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    Unfortunately not, hence, why i am spending the next half an hour readding my CRRs, and RPs too ... -_-

  10. #10
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    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?

  11. #11
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    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)?

  12. #12
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    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.

  13. #13
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    That's weird, perhaps they have accidentally conflicted somehow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •