vBulletin Search Engine Optimization
This is a discussion on refresh and other problems within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; For the past 48 hours my forum has had lots of problems with not being able to refresh pages properly, ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| refresh and other problems For the past 48 hours my forum has had lots of problems with not being able to refresh pages properly, not logging members in/out, not being able to moderate the gallery etc. I've tried everything including upgrading vb to 3.6.7pl1, upgrading vbseo to 3.0gold, then disabling plugins in vb and by adding the dissable hooks in the config, using a fresh template etc. Nothing seems to be fixing it, but one of the issues is that when trying to access pms members are getting something like: Warning: Invalid argument supplied for foreach() in /forums/vbseo.php on line 375 Fatal error: Call to undefined function: rkivrfv65ztjux() in /forums/vbseo.php on line 768 any ideas? |
|
#2
| |||
| |||
| trying to strip everything down to the minimum, I've switched off all plugins except for vbgallery and vbseo, I've removed all old files and I've the diagnostics are just showing the following suspect files: Suspect File Versions Scanned 47 files ./ vbseo.php File does not contain expected contents vbseocp.php File does not contain expected contents vbseocpform.php File does not contain expected contents Scanned 52 files ./admincp admin_vbseo.php File does not contain expected contents vba_gallery_admin.php File not recognized as part of vBulletin Scanned 3 files ./archive Scanned 32 files ./clientscript Scanned 3 files ./clientscript/yui Scanned 2 files ./images/regimage/fonts Scanned 100 files ./includes adminfunctions_gallery.php File not recognized as part of vBulletin config_vbseo.php File not recognized as part of vBulletin functions_vbseo.php File does not contain expected contents functions_vbseo_extra.php File does not contain expected contents Scanned 23 files ./includes/cron Scanned 8 files gallery_ecard.php File not recognized as part of vBulletin gallery_search.php File not recognized as part of vBulletin gallery_stats.php File not recognized as part of vBulletin gallery_subscriptions.php File not recognized as part of vBulletin gallery_totals.php File not recognized as part of vBulletin ./includes/paymentapi Scanned 27 files ./includes/xml bitfield_vbgallery.xml File not recognized as part of vBulletin cpnav_vbagallery.xml File not recognized as part of vBulletin hooks_vbgallery.xml File not recognized as part of vBulletin vbseo_urls_default.xml File not recognized as part of vBulletin vbseo_urls_vbseocom.xml File not recognized as part of vBulletin vbseocp_arabic.xml File not recognized as part of vBulletin Scanned 69 files ./install Scanned 12 files ./modcp vba_gallery.php File not recognized as part of vBulletin vbseo_moderate.php File does not contain expected contents |
|
#3
| |||
| |||
| one comment from a member: Got these error messages when trying to post a comment on an image: Warning: main(/home/wildabou/public_html/forums/showimage.php) [function.main]: failed to open stream: No such file or directory in /home/wildabou/public_html/forums/vbseo.php on line 906 Warning: main(/home/wildabou/public_html/forums/showimage.php) [function.main]: failed to open stream: No such file or directory in /home/wildabou/public_html/forums/vbseo.php on line 906 Fatal error: main() [function.require]: Failed opening required '/home/wildabou/public_html/forums/showimage.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wildabou/public_html/forums/vbseo.php on line 906 I Pressed the back key, and low and behold, the comment was there! |
|
#4
| |||
| |||
| I've just taken out the Custom Rewrite Rules 'browseimages\.php\?c=(\d+)$' => 'browse-$1.html' 'browseimages\.php\?c=(d+)&page=(\d+)$' => 'browse-$1-$2.html' 'browseimages\.php\?c=(\d+)&userid=$' => 'browse-$1-albums.html' 'browseimages\.php\?c=(\d+)&userid=(d+)$' => 'browse-$1-user$2.html' 'browseimages\.php\?c=(\d+)&u=(d+)$' => 'browse-$1-user$2.html' 'browseimages\.php\?do=popimages$' => 'top.html' 'browseimages\.php\?do=popimages&orderby=views' => 'topviews.html' 'browseimages\.php\?do=popimages&orderby=rating' => 'toprated.html' 'browseimages\.php\?do=popimages&orderby=posts' => 'toppost.html' 'showimage\.php\?i=(\d+)&noignore=0&postid=(\d+)$' => 'image-$1-$2.html' 'showimage\.php\?i=(\d+)&original=1.*$' => 'image-$1big.html' 'showimage\.php\?i=(\d+).*$' => 'image-$1.html' 'galleryindex\.php' => 'gallery-home.html' and the Custom 301 Redirects custom 301 'fungi-mushroom-forums'=>'fungi-forums' and things seem to be looking a bit better, although it's a bit too early to really know if it's fixed the problems. Could this be the cause of all the problem? |
|
#5
| ||||
| ||||
| Hello, Quote:
__________________ 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. |
|
#6
| |||
| |||
| OK, will do. What about the rest of the issues? Is this something that's likely to have been caused by VBSEO, and is it rewriter and 301? Things are looking better on the site this afternoon, and not had any reports that we've still got the problems, but I won't know until later today when most of the traffic usually arrives |
|
#7
| |||
| |||
| I think I've found the problem. My forums are kept in /forums/ and my root has Drupal 5.1 in it. The .htaccess for Drupal seems to be affecting the forums and it appears that above problems only occur when I've got the .htaccess file there. The file includes: # # Apache/PHP/Drupal settings: # # Protect files and directories from prying eyes. <FilesMatch "(\.(engine|inc|info|install|module|profile|po|sh| .*sql|theme|tpl(\.php)?|xtmpl)|code-style\.pl|Entries.*|Repository|Root|Tag|Template)$ "> Order allow,deny </FilesMatch> # Don't show directory listings for URLs which map to a directory. Options -Indexes # Follow symbolic links in this directory. Options +FollowSymLinks # Customized error messages. ErrorDocument 404 /index.php # Set the default handler. DirectoryIndex index.php # Override PHP settings. More in sites/default/settings.php # but the following cannot be changed at runtime. # PHP 4, Apache 1. <IfModule mod_php4.c> php_value magic_quotes_gpc 0 php_value register_globals 0 php_value session.auto_start 0 </IfModule> # PHP 4, Apache 2. <IfModule sapi_apache2.c> php_value magic_quotes_gpc 0 php_value register_globals 0 php_value session.auto_start 0 </IfModule> # PHP 5, Apache 1 and 2. <IfModule mod_php5.c> php_value magic_quotes_gpc 0 php_value register_globals 0 php_value session.auto_start 0 </IfModule> # Requires mod_expires to be enabled. <IfModule mod_expires.c> # Enable expirations. ExpiresActive On # Cache all files for 2 weeks after access (A). ExpiresDefault A1209600 # Do not cache dynamically generated pages. ExpiresByType text/html A1 </IfModule> # Various rewrite rules. <IfModule mod_rewrite.c> RewriteEngine on # If your site can be accessed both with and without the prefix www. you # can use one of the following settings to force user to use only one option: # # If you want the site to be accessed WITH the www. only, adapt and # uncomment the following: # RewriteCond %{HTTP_HOST} ^example\.com$ [NC] # RewriteRule .* http://www.example.com/ [L,R=301] # # If you want the site to be accessed only WITHOUT the www. prefix, adapt # and uncomment the following: # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC] # RewriteRule .* http://example.com/ [L,R=301] # Modify the RewriteBase if you are using Drupal in a subdirectory and # the rewrite rules are not working properly. #RewriteBase /drupal # Rewrite old-style URLs of the form 'node.php?id=x'. #RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d #RewriteCond %{QUERY_STRING} ^id=([^&]+)$ #RewriteRule node.php index.php?q=node/view/%1 [L] # Rewrite old-style URLs of the form 'module.php?mod=x'. #RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d #RewriteCond %{QUERY_STRING} ^mod=([^&]+)$ #RewriteRule module.php index.php?q=%1 [L] # Rewrite current-style URLs of the form 'index.php?q=x'. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] </IfModule> # $Id: .htaccess,v 1.81 2007/01/09 09:27:10 dries Exp $ Could you tell me what I need to do to make sure that Drupal doesn't affect the forum. Thanks stuart |
|
#8
| |||
| |||
|
#9
| ||||
| ||||
| Try to modify your drupal .htaccess FIND: Code: RewriteCond %{REQUEST_FILENAME} !-d
Code: RewriteCond %{REQUEST_FILENAME} !forums/
__________________ 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. |
|
#10
| |||
| |||
| no, sorry, it doesn't seem to have worked. The first indication that's it's not working is that logouts still show as logged in until the page is refreshed - and logins show logged out until refreshed. Last edited by xsimple; 05-29-2007 at 07:20 PM. |
|
#11
| ||||
| ||||
| You should setup redirect from non-www domain to www domain: 301 Redirecting Domains
__________________ 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. |
|
#12
| |||
| |||
| I made the changes in post 8 of your link, but login/logout still don't show until I manually refresh the page that follows. All continues to work OK if the .htaccess for drupal is removed |
|
#13
| ||||
| ||||
| Try to remove this: Code: <IfModule mod_expires.c> # Enable expirations. ExpiresActive On # Cache all files for 2 weeks after access (A). ExpiresDefault A1209600 # Do not cache dynamically generated pages. ExpiresByType text/html A1 </IfModule>
__________________ 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. |
|
#14
| |||
| |||
| tried it but it didn't work either. :( |
|
#15
| ||||
| ||||
| Another try: FIND: Code: # RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
# RewriteRule .* http://www.example.com/ [L,R=301]
Code: RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
RewriteRule .* http://www.example.com/ [L,R=301]
__________________ 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. |