Results 1 to 13 of 13

Crashs when I submit a poll

This is a discussion on Crashs when I submit a poll within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Looks like I have a path issue somewhere as the url looks wrong with the modules.php at the end. When ...

  1. #1
    Senior Member
    Join Date
    Oct 2005
    Posts
    238
    Liked
    0 times

    Crashs when I submit a poll

    Looks like I have a path issue somewhere as the url looks wrong with the modules.php at the end. When I submit a poll, I get this error:

    PHP Code:
    Warning:  main(/forums/have-you-ever-called-sick-work-your-modules.php) [function.main]: failed to open streamNo such file or directory in /forums/vbseo.php on line 864

    Fatal error
    :  main() [function.require]: Failed opening required '/3reef/forums/have-you-ever-called-sick-work-your-modules.php' (include_path='.:/php'in /forums/vbseo.php on line 864 
    Any help would be greatly appreciated!

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

    there seems to be a conflict with one of your Custom Rewrite Rules. Please post your CRRs from vbseocp so that we can determine which one is it.

  3. #3
    Senior Member
    Join Date
    Oct 2005
    Posts
    238
    Liked
    0 times
    Thanks for your help again Oleg.

    PHP Code:
    'modules\.php\?name=Jig' => 'index.php'
    'modules\.php\?name=(\w+)$' 
    => 'aquarium-$1.html'
    'modules\.php\?name=(.+)&file=(\w+)&id=(\d+)$' 
    => 'aquarium-$1-$2-$3.html'
    'modules\.php\?name=(.+)&file=(\w+)$' 
    => 'aquarium-$1-$2.html'
    'modules\.php\?name=(.+)&file=(\w+)&cid=(\d+)$' 
    => 'articles-$1-$2-$3.html'
    'modules\.php\?name=(.+)&file=(\w+)&threadid=(\d+)$' 
    => 'aquariums-$1-$2-$3.html'
    'modules\.php\?name=Content&file=viewarticle&op=newarticle&id=22' 
    => 'reef_acronyms.html' 

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    It must be conflicting with your 2nd CRR. You can try to change it to:
    Code:
    'modules\.php\?name=(\w+)$' => 'aquariumpage-$1.html'

  5. #5
    Senior Member
    Join Date
    Oct 2005
    Posts
    238
    Liked
    0 times
    You rock. That fixed it. Thanks!

    I've been really getting hit with yahoo lately, should I be worried that they indexed the pages with 'aquarium' and not 'aquariumpage' ??

  6. #6
    Senior Member
    Join Date
    Oct 2005
    Posts
    238
    Liked
    0 times
    Well I thought it was fixed, but it breaks on new posts now. :(
    /forums/3reef-site-polls/have-you-ever-called-sick-work-your-aquarium-38376-new.html

    Ugh!

  7. #7
    Senior Member
    Join Date
    Oct 2005
    Posts
    238
    Liked
    0 times
    Ok I changed it to:
    PHP Code:
    'modules\.php\?name=Jig' => 'index.php'
    'modules\.php\?name=(\w+)$' 
    => 'aquarium-page-$1.html'
    'modules\.php\?name=(.+)&file=(\w+)&id=(\d+)$' 
    => 'aquarium-page-$1-$2-$3.html'
    'modules\.php\?name=(.+)&file=(\w+)$' 
    => 'aquarium-page-$1-$2.html'
    'modules\.php\?name=(.+)&file=(\w+)&cid=(\d+)$' 
    => 'aquarium-articles-$1-$2-$3.html'
    'modules\.php\?name=(.+)&file=(\w+)&threadid=(\d+)$' 
    => 'aquarium-pages-$1-$2-$3.html'
    'modules\.php\?name=Content&file=viewarticle&op=newarticle&id=22' 
    => 'reef_acronyms.html' 
    SO far, so good.

    Again, should I worry about how those pages were indexed before the fix? Maybe make redirects?

    THanks again.....
    Last edited by caliman; 12-11-2006 at 12:05 PM.


  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Again, should I worry about how those pages were indexed before the fix? Maybe make redirects?
    Yes, it would be good to setup redirects for them. If you will change your CRRs by prepending "page-" to them, like:
    Code:
    'modules\.php\?name=(\w+)$' => 'page-aquarium-$1.html'
    etc.
    the following code in vbseocp->Custom redirects should work:
    Code:
    '^(aquarium-.+\.html)'=> 'page-$1'

  9. #9
    Senior Member
    Join Date
    Oct 2005
    Posts
    238
    Liked
    0 times
    Thanks I think I understand what you are trying to say, I think you just got the original and new ones confused a bit.

    ORIGINAL:
    aquarium-$1.html

    NEW:
    aquarium-page-$1.html

    SO should the rewrite then be:
    '^(aquarium-.+\.html)' => 'aquarium-page-$1.html'


    ??

    Last edited by caliman; 12-11-2006 at 02:45 PM. Reason: messed up code


  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    This redirect will cause an endless loop, that's why I suggest to switch "aquarium" and "page" locations.

  11. #11
    Senior Member
    Join Date
    Oct 2005
    Posts
    238
    Liked
    0 times
    Man I am good at those endless loops.


    '^(aquarium-.+\.html)'=> 'page-$1'

    How do I change this for $1 $2 and $3?

    'modules\.php\?name=(\w+)$' => 'aquarium-$1.html'
    'modules\.php\?name=(.+)&file=(\w+)&id=(\d+)$'
    => 'aquarium-$1-$2-$3.html'
    'modules\.php\?name=(.+)&file=(\w+)$'
    => 'aquarium-$1-$2.html'

    Does page-$1 add 'aquarium' into it?

    I am sorry, this is pretty confusing to me, I need to study how to do this. If you'd like I can go to PM.


  12. #12
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    The redirect should affect these 3 CRRs as well. And yes, 'aquarium' will be kept in URL as well.

  13. #13
    Senior Member
    Join Date
    Oct 2005
    Posts
    238
    Liked
    0 times
    Thanks buddy!

Similar Threads

  1. How often should I submit to Yahoo!?
    By eJM in forum General Discussion
    Replies: 22
    Last Post: 11-20-2006, 10:38 PM
  2. Yahoo Submit Question
    By Ocean in forum General Discussion
    Replies: 2
    Last Post: 03-06-2006, 11:46 PM
  3. Poll on vbadvanced home page - View Poll Results
    By dazzlin in forum Troubleshooting
    Replies: 3
    Last Post: 02-16-2006, 05:47 PM
  4. Which file do we manually submit to google?
    By Mike in forum General Discussion
    Replies: 5
    Last Post: 11-27-2005, 06:24 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
  •