vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders 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

functions.php on line 4236

This is a discussion on functions.php on line 4236 within the Troubleshooting forums, part of the vBSEO SEO Plugin category; since updating to vbseo3 I get the following error when post some threads: Fatal error: Call to undefined function: print_portal_output() ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-13-2006, 09:07 AM
Member
 
Join Date: Oct 2005
Posts: 44
functions.php on line 4236

since updating to vbseo3 I get the following error when post some threads:

Fatal error: Call to undefined function: print_portal_output() in /home/wildabou/public_html/forums/includes/functions.php on line 4236

the threads still post, but could this be related to vbseo or just a coincidence?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 09-13-2006, 09:16 AM
Member
 
Join Date: Oct 2005
Posts: 44
this is the code from the functions.php

PHP Code:
Finishes off the current page (using templates), prints it out to the browser and halts execution
*
* @
param    string    The HTML of the page to be printed
* @param    boolean    Send the content length header?
*/
function 
print_output($vartext$sendheader true)
{
    global 
$pagestarttime$querytime$vbulletin;
    global 
$vbphrase$stylevar;

if (
defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT') AND !defined('NOPMPOPUP'))
    {
        
define('SKIP_OUTPUT'true);

        global 
$home;

        
print_portal_output($home$vartext);
    }

    if (
$vbulletin->options['addtemplatename'])
    {
        if (
$doctypepos = @strpos($vartext$stylevar['htmldoctype']))
        {
            
$comment substr($vartext0$doctypepos);
            
$vartext substr($vartext$doctypepos strlen($stylevar['htmldoctype']));
            
$vartext $stylevar['htmldoctype'] . "\n" $comment $vartext;
        }
    }

    if (!empty(
$vbulletin->db->explain))
    {
        
$pageendtime microtime();

        
$starttime explode(' '$pagestarttime);
        
$endtime explode(' '$pageendtime);

        
$totaltime $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];

        
$vartext .= "<!-- Page generated in " vb_number_format($totaltime5) . " seconds with " $vbulletin->db->querycount " queries -->";
    } 
4236 is the line:

PHP Code:
        print_portal_output($home$vartext); 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 09-13-2006, 11:46 AM
Code Monkey's Avatar
Senior Member
vBulletin HackervBSEO Pre-Release TeamvBSEO Code Quality Assurance
 
Real Name: Code Monkey
Join Date: Aug 2006
Posts: 773
That looks like a vbadvanced issue.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 09-13-2006, 12:59 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,277
Yes, print_portal_output() is a vBadvanced CMPS issue.
__________________
Keith Cohen / 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.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 09-13-2006, 02:01 PM
Member
 
Join Date: Oct 2005
Posts: 44
but it hasn't been an issue for the past two years, then suddenly it pops up when I updated to vbseo3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 09-13-2006, 06:31 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
Hello,

please try to change this line:
PHP Code:
if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT') AND !defined('NOPMPOPUP')) 
to:
PHP Code:
if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT') AND !defined('NOPMPOPUP') AND function_exists('print_portal_output')) 
__________________
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.


Last edited by Oleg Ignatiuk; 09-18-2006 at 08:08 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 09-21-2006, 05:42 PM
Member
 
Real Name: eric
Join Date: Apr 2006
Posts: 56
fixed my problem, thanks a million. i searched for my error before, but didn't see this thread
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #8  
Old 10-13-2007, 08:00 PM
Member
 
Real Name: John Gonzalez
Join Date: Sep 2005
Posts: 71
Just for the record, after I made the above change I also had to make the same change into the vba_cmps_include_output.php in the includes folder for the error to go away.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #9  
Old 10-13-2007, 09:56 PM
KW802's Avatar
Senior Member
vBulletin HackervBSEO Pre-Release TeamBig Board Administrator
 
Real Name: Kevin
Join Date: Jan 2006
Posts: 155
What versions of CMPS are you guys using? The latest build (3.0 RC2) does not seem to have this issue with vB 3.6.8 and vBSEO 3.0.1 on any of my sites.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #10  
Old 08-30-2008, 09:44 AM
Junior Member
 
Real Name: Danny
Join Date: Aug 2008
Posts: 13
I have this problem but dont seem able to find;

Code:
  if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT') AND !defined('NOPMPOPUP'))   
In the functions file?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #11  
Old 08-30-2008, 04:54 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,780
This thread is 2 years old... it's probably an older version.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #12  
Old 10-17-2008, 04:59 AM
Junior Member
 
Real Name: Roms
Join Date: Dec 2006
Location: Western United States
Posts: 8
Quote:
Originally Posted by Danny1878 View Post
I have this problem but dont seem able to find;

Code:
  if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT') AND !defined('NOPMPOPUP'))   
In the functions file?
Just change the vba_cmps_include_output.php file and it should fix your problem (Just delete that line of code and add the new line...)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

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
Some extreme issues need help on fixing. pspcrazy Troubleshooting 14 03-14-2006 04:40 AM
whoa, tons of errors mindhunter77 Troubleshooting 5 03-10-2006 04:39 AM
only able to view 1/3 of vbseo config area mindhunter77 Troubleshooting 5 01-31-2006 05:46 PM
adding my vbadvanced pages.... BamaStangGuy General Discussion 8 12-12-2005 11:18 AM


All times are GMT -4. The time now is 03:43 AM.


Powered by vBulletin Version 3.8.0 Release Candidate 2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.