vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
New vBSEO Discount Level for Network Builders Meet vBSEO Team in New York (Nov. 3rd & 4th) vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Blog rewrite error 500 with CRR blogs.php => /blogs/

This is a discussion on Blog rewrite error 500 with CRR blogs.php => /blogs/ within the Bug Reporting forums, part of the vBSEO SEO Plugin category; I have found this bug looking ta my php_log file I have found this Code: PHP Warning: require(/<homepath>/forums/best-blog.php) [<a href='function.require'>function.require</a>]: ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > Bug Reporting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 12-24-2007, 11:50 AM
Senior Member
 
Real Name: A.D
Join Date: Oct 2007
Location: France
Posts: 158
Blog Entries: 2
Blog rewrite error 500 with CRR blogs.php => /blogs/

I have found this bug looking ta my php_log file I have found this

Code:
PHP Warning:  require(/<homepath>/forums/best-blog.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /<homepath>/forums/vbseo.php on line 1128
[24-Dec-2007 10:28:24] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required '/<homepath>/forums/best-blog.php' (include_path='.:/usr/share/pear:/usr/share/php') in /<homepath>/forums/vbseo.php on line 1128
so I have been searching then in my lighttpd access log what link contains best-blogs and I find this spider bot querie:

Code:
66.249.70.177 website.com - [23/Dec/2007:19:32:00 -0500] "GET /forums/blogs/best-blogs/ HTTP/1.1" 500 0 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
So when I test by clicking manually within Firefox the "Best-Blog" link it appears to work without returning the error 500 but when I'm trying to access it with the full url in my browser like

Code:
http://website.com/forums/blogs/best-blogs/
I get a blank page, error 500 and the php_log mentionned previously is created

I have tested removing my custorm rewrite 'blog\.php$' => 'blogs/[NF]' , then no more bugs

Looks like it doesnt happen on vbseo.com however on another site I have found exactly the same bug, check here:

http://forum.vbulletinsetup.com/blogs/best-blogs/

blank page , error 500


Hope it helps
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 12-24-2007, 01:30 PM
Senior Member
 
Real Name: A.D
Join Date: Oct 2007
Location: France
Posts: 158
Blog Entries: 2
is it possible to know how did your write your blog.php CRR for vbseo.com ? because I see it not buggus here
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 12-24-2007, 02:10 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,432
Blog Entries: 1
Hello,

try to change CRR to:
Code:
'^blog\.php$' => 'blogs/'
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 12-24-2007, 02:28 PM
Senior Member
 
Real Name: A.D
Join Date: Oct 2007
Location: France
Posts: 158
Blog Entries: 2
Quote:
Originally Posted by Oleg Ignatiuk View Post
Hello,

try to change CRR to:
Code:
'^blog\.php$' => 'blogs/'
not working if I do this with the ^ then the navbar link blog.php is not rewritten to blogs/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 12-24-2007, 02:46 PM
Senior Member
 
Real Name: A.D
Join Date: Oct 2007
Location: France
Posts: 158
Blog Entries: 2
to note that project.php and blog.php of project tools and vb blogs are the 2 only files I cant custom rewrite with the ^, all others vb files rewrite went fine without both project and blog ...
Im able to do theses rewrites for example and they are ok:

'^faq\.php$' => 'faq/[NF]'

'^search\.php\?do=getnew$' => 'newposts/[NF]'

'^search\.php$' => 'search/[NF]'

but for both blog.php and project.php I must remove the ^ else when I mouseover the links , it's still pointing to the php file ..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 12-24-2007, 03:17 PM
Senior Member
 
Real Name: A.D
Join Date: Oct 2007
Location: France
Posts: 158
Blog Entries: 2
ok found the thing that is because blog and pj tools has their own navbar templates and it wasnt wrote properly in here.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
500, blog, bug, crr, error

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
change /forums/blogs to /blogs magmf URL Rewrite Settings 31 02-08-2008 11:20 AM
How to get /blogs instead of /forum/blogs Doug Nelson General Discussion 2 11-20-2007 01:04 AM
/blogs/index.php loads /forums/blog.php voteforbird Custom Rewrite Rules 3 09-20-2006 06:08 PM


All times are GMT -4. The time now is 06:11 AM.


Powered by vBulletin Version 3.8.0 Beta 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.