vBulletin Search Engine Optimization
This is a discussion on vbSEO stops working upon switch to PHP5 within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hello everyone, I have a Managed Dedicated Server that has installations of PHP3, PHP4, and PHP5. By default, all of ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
|
Hello everyone, I have a Managed Dedicated Server that has installations of PHP3, PHP4, and PHP5. By default, all of my .php scripts are processed in PHP4, but I can switch the .php extension files to be processed in PHP5 by adding the following to the top of my .htaccess file: Code: AddType x-mapp-php5 .php Any clue as to why this happens? I had to remove the above line in order to get vBSEO to work properly once more. I'm using the latest version of vBSEO 3.1.0. Thanks! |
|
#2
| ||||
| ||||
|
Do you get anything related in server's error log?
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#3
| |||
| |||
| Not that I can see; I will keep checking, however. Update: I reviewed my Error logs and I saw no error entries or reports; there was also no database error either. Is this some sort of rewrite error? I discovered the following when PHP5 was active: 1. The forum URLs were not being rewritten (links were showing up as /forums/forumdisplay.php?f=1 rather than /forums/general for instance). Disabling vBSEO and Re-Enabling vBSEO did not fix this issue. Clicking on these links sent you back to my web site's root (/). 2. My non vBulletin URLs were being rewritten using the custom rewrite rules that I had in the vBSEO configuration area. (Specifically, transforming /index.php?page=name to /index-name.html.) Clicking on these rewrites worked. Last edited by Kaelon; 01-10-2008 at 07:54 PM. |
|
#4
| |||
| |||
|
For the record, here is the entire .htaccess file being used located at root (/). My forums are located at /forums. Code: AddType x-mapp-php5 .php
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.domain\.com
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^wiki/(.+)$ /wiki/index.php?title=$1 [L,QSA]
RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} !forums/
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
RewriteCond %{THE_REQUEST} !forums/
RewriteRule ^(.*.php)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
|
|
#5
| ||||
| ||||
|
Replied to your support ticket.
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#6
| |||
| |||
| Thanks; updated with requested information. Appreciate your help, Oleg, and especially the quick turn-around!
|
|
#7
| |||
| |||
|
I had this same issue. Is there a solution publically?
|
|
#8
| ||||
| ||||
|
Defining VBSEO_CUSTOM_DOCROOT in config_vbseo.php file resolved the issue in this case: PHP Code:
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#9
| |||
| |||
|
I'm having the same problem. Just a quick question, my forum is in a sub-domain, should it be the path to the subdomain root that the forum is in? |
|
#10
| |||
| |||
|
I keep getting this error message: Code: Site error: the file /homepages/includes/functions_vbseo.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator. |
|
#11
| ||||
| ||||
|
Yes, that should be the path to the subdomain then.
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#12
| ||||
| ||||
| Quote:
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#13
| |||
| |||
| Ok I've added that in config_vbseo.php When I run the site in php4 everything seems good but then when I switch to php5 still the same error. Edit: Quote:
Edit 2: That did the trick, thanks! Last edited by okgaz; 03-19-2008 at 09:45 PM. |
|
#14
| |||
| |||
|
Hi, Where abouts do I put: define('VBSEO_CUSTOM_DOCROOT', '/path/to/domain/root'); In my config_vbseo.php? I'm getting the below error after upgrading my PHP Warning: preg_match_all() expects parameter 2 to be string, array given in [path]/includes/functions_vbseo_hook.php on line 752 Warning: Invalid argument supplied for foreach() in [path]/includes/functions_vbseo_hook.php on line 753 |
|
#15
| |||
| |||
|
Here is my htaccess file: # 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 %{HTTP_HOST} !^www\.treasurequestxlt\.com #RewriteRule (.*) http://www.treasurequestxlt.com/community/$1 [L,R=301] RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron) RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$ RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA] |
| Tags |
| php, php5 |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| vbseo php5 compatible? | amnesia623 | General Discussion | 2 | 06-18-2007 11:13 PM |
| PHP5.2.3 ve vbseo | alpozdemir | Türkçe | 1 | 06-13-2007 07:33 AM |
| Will vBSEO help when I switch to vB from UBB Threads | len backus | General Discussion | 3 | 06-10-2007 03:30 AM |
| Vbseo + Php5 | stickman373 | Troubleshooting | 9 | 03-23-2007 05:43 AM |
| [Help]Changed my ip - vBSEO Stops working | Hemanth | Troubleshooting | 3 | 12-31-2006 07:05 PM |