Results 1 to 9 of 9

Apache Segfault with newthread.php

This is a discussion on Apache Segfault with newthread.php within the Troubleshooting forums, part of the vBSEO SEO Plugin category; When I submit a new thread in my forums I get the following in my apache logs: [notice] child pid ...

  1. #1
    Junior Member
    Join Date
    Oct 2005
    Posts
    9
    Liked
    0 times

    Apache Segfault with newthread.php

    When I submit a new thread in my forums I get the following in my apache logs:

    [notice] child pid 3278 exit signal Segmentation fault (11)

    The post gets recorded in MYSQL and shows up in the forum. However, after the user hits submit he gets " the page cannot be displayed" in his web browser. When I disable vbseo it works fine. Does anyone have any ideas to get this issue resolved?

    apache 2.0.54
    php 5.0.4

  2. #2
    Junior Member
    Join Date
    Oct 2005
    Posts
    9
    Liked
    0 times
    I fixed it, but I consider this a band aid. Since all of the php files were generating the errors. I modified the .htaccess file to this:

    Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums)
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !admincp/
    RewriteCond %{REQUEST_FILENAME} !modcp/
    #RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

    Can you tell me if this will cause problems if leave the .htaccess file like this?

  3. #3
    vBSEO Staff Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    14,266
    Liked
    586 times
    Quote Originally Posted by farisb
    Can you tell me if this will cause problems if leave the .htaccess file like this?
    We are looking into this issue. As for the .htaccess modification, it will disallow forwarding of old dynamic urls to new ones.

    PM Sent.

  4. #4
    Junior Member
    Join Date
    Oct 2005
    Posts
    9
    Liked
    0 times
    Can someone help me with this?

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello,

    instead of commenting out the rewriterule, try using this code to exclude newthread.php from pre-processing:
    .....
    RewriteCond %{REQUEST_FILENAME} !admincp/
    RewriteCond %{REQUEST_FILENAME} !modcp/
    RewriteCond %{REQUEST_FILENAME} !newthread\.php
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    .....
    Please note, that it will still rewrite all links on newthread.php page.

  6. #6
    Junior Member
    Join Date
    Oct 2005
    Posts
    9
    Liked
    0 times
    I tried that but that did not work. Here is my current .htaccess file.

    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums)
    #RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !admincp/
    RewriteCond %{REQUEST_FILENAME} !modcp/
    RewriteCond %{REQUEST_FILENAME} !newthread\.php
    RewriteCond %{REQUEST_FILENAME} !newattachment\.php
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    PM sent

  8. #8
    Junior Member
    Join Date
    Oct 2005
    Posts
    9
    Liked
    0 times
    This issue has been resolved, thanks vbseo support!

  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Great

Similar Threads

  1. Replies: 4
    Last Post: 04-27-2006, 03:35 PM
  2. Apache erros log errors...
    By GlitterKill in forum Troubleshooting
    Replies: 1
    Last Post: 03-30-2006, 03:16 PM
  3. Version works only with apache server...
    By xb_ in forum Bug Reporting
    Replies: 1
    Last Post: 09-23-2005, 07:46 PM

Posting Permissions

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