vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v4.0 Support > Bugs & Issues > Bugs From v4.0.1

Reply
 
Thread Tools Display Modes
  #1  
Old 07-01-2010, 12:52 AM
zems zems is offline
Junior Member
 
Join Date: Apr 2009
Posts: 15
Default Call to Undefined Function print_portal_output() When Forums Are Closed

I have integrated vbadvance in my homepage but I have problem opening it. Funny thing is that I can open it normaly in chrome but in FF, opera and IE8 I get this message:

Fatal error: Call to undefined function print_portal_output() in [path]/includes/functions.php(6851) : eval()'d code on line 9
Reply With Quote
  #2  
Old 07-01-2010, 07:56 AM
Marvin Hlavac Marvin Hlavac is offline
Member
 
Join Date: Sep 2007
Location: Canada
Posts: 52
Default

Code:
Fatal error: Call to undefined function print_portal_output() in [path]/includes/functions.php(6851) : eval()'d code on line 9
I get the very same error when I'm logged out, and attempting to access my home page. When I'm logged in, I do not get that error.

I recently set up a Test forum to test upgrading vB 3.8.4 to vB 4.0.4. I'm stuck on a couple of seemingly minor vBadvanced issues: 1. The above error, and 2. An alignment issue (I posted about it here).

I'm contemplating running my site w/out vBadvanced CMPS.
Reply With Quote
  #3  
Old 07-01-2010, 08:00 AM
zems zems is offline
Junior Member
 
Join Date: Apr 2009
Posts: 15
Default

You are right. I just log in from different page and I can open homepage.
So problem is opening for guests.
Hope some support will come soon, I am also doing it on test site and planing to upgrade as soon as I remove all issues.
Reply With Quote
  #4  
Old 07-02-2010, 06:50 AM
zems zems is offline
Junior Member
 
Join Date: Apr 2009
Posts: 15
Default

Ok, I found something. I am geting this error only if the forum is closed. If I open forum it is working fine.
Reply With Quote
  #5  
Old 07-02-2010, 07:05 AM
Marvin Hlavac Marvin Hlavac is offline
Member
 
Join Date: Sep 2007
Location: Canada
Posts: 52
Default

Yes, so on the surface it appears to be just a little annoyance for the webmaster. However, I wonder if it is a symptom of a more serious issue which affects more than what we see at this moment.
Reply With Quote
  #6  
Old 07-02-2010, 07:13 AM
zems zems is offline
Junior Member
 
Join Date: Apr 2009
Posts: 15
Default

Well it is not "little annoyance" as you said. When you are doing some maintenance which need forum closing, your users and guest will see this error. You will not send them message and the reason of closing, they will think that site is down.
Reply With Quote
  #7  
Old 07-02-2010, 07:17 AM
Marvin Hlavac Marvin Hlavac is offline
Member
 
Join Date: Sep 2007
Location: Canada
Posts: 52
Default

That's t rue. However, disabling VBadvanced CMPS (in Plugin Manager) before closing your forum should prevent you from getting the error.
Reply With Quote
  #8  
Old 07-02-2010, 07:24 AM
zems zems is offline
Junior Member
 
Join Date: Apr 2009
Posts: 15
Default

True, so when we start upgading, last thing we should do is to install VBadvanced CMPS.
But anyhow, as you said maybe this symptom is more serious issue which affects more than what we see at this moment.
It has to be fixed.
Reply With Quote
  #9  
Old 07-02-2010, 11:45 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

There shouldn't be any reason guests would get that error if the forums are closed. Do you guys have any other plugins/hacks installed? And what version of the CMPS are you running?
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #10  
Old 07-02-2010, 12:19 PM
zems zems is offline
Junior Member
 
Join Date: Apr 2009
Posts: 15
Default

I have almost fresh installed VB4.0.4 with only few plugins. Just removed them all and problem is still there.
I am running CMPS 4.0.1
Reply With Quote
  #11  
Old 07-02-2010, 12:36 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

I'm not sure what the problem might be, but if you would like to submit a support ticket via the Members' Area here I'll be gald to take a look at things for you.
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #12  
Old 07-02-2010, 12:58 PM
zems zems is offline
Junior Member
 
Join Date: Apr 2009
Posts: 15
Default

Just open it, thanks.
Reply With Quote
  #13  
Old 07-02-2010, 02:08 PM
Marvin Hlavac Marvin Hlavac is offline
Member
 
Join Date: Sep 2007
Location: Canada
Posts: 52
Default

Brian, it crossed my mind that the issue(s) may be related to one common thing that Zems and I share, and that is that we both run a test forum.

In my case my test forum was set up by first cloning my existing vB 3.8.4 into example.com/test/ folder. Then I upgraded to vB 4.0.4 PL1, and then I upgraded to the newest vBadvanced (about three days ago).

Perhaps I (or both of us) overlooked some config setting somewhere. Perhaps if we did the same upgrade to our live sites we wouldn't experience this issue.

Please, do share your findings here in the forum, too. Thanks.
Reply With Quote
  #14  
Old 07-02-2010, 02:23 PM
zems zems is offline
Junior Member
 
Join Date: Apr 2009
Posts: 15
Default

I had problems after upgrade so I decide to uninstall and to make new, fresh install.
Reply With Quote
  #15  
Old 07-06-2010, 11:48 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

It looks like there is a small issue that can occur with integrated pages if the forum is turned off. For anyone who's experiencing this issue, you should be able to correct it by going to Admin CP => Plugins & Products => Plugin Manager, edit the 'Integration Output' plugin, and replace the 'Plugin PHP Code' with the following:
PHP Code:
if (defined('VBA_PORTAL') AND THIS_SCRIPT != 'adv_index' AND !defined('SKIP_OUTPUT') AND !defined('NOPMPOPUP') AND function_exists('print_portal_output'))
{
    if (
THIS_SCRIPT == 'showthread')
    {
        global 
$thread$pagetitle;
        
$pagetitle $thread['prefix_plain_html'] . ' ' $thread['title'];
    }

    
$output print_portal_output($home$vartexttrue);

__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #16  
Old 07-22-2010, 11:32 AM
John John is offline
Junior Member
 
Join Date: Oct 2004
Posts: 20
Default

Nevermind, this was not caused by this plugin but by DownloadsII vBSEO addon. Thanks!

Last edited by John; 07-22-2010 at 04:08 PM.
Reply With Quote
  #17  
Old 10-06-2010, 12:12 PM
KevinL KevinL is offline
Junior Member
 
Join Date: Apr 2005
Posts: 5
Default

Weird just had this issue. This fixed it right up!

Thanks!
Reply With Quote
  #18  
Old 10-28-2010, 09:19 AM
Mystics Mystics is offline
Junior Member
 
Join Date: May 2004
Posts: 2
Default

This issue also occurs, when you have to change your password ("Your password is X days old, and has therefore expired.").
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call to undefined function: print_portal_output() on line 44 3dc Troubleshooting & Problems 15 09-06-2010 07:40 AM
Call to undefined function print_portal_output() error eam Troubleshooting & Problems 2 08-13-2008 04:14 PM
Fatal error: Call to undefined function: print_portal_output() mcyates Troubleshooting & Problems 17 09-03-2006 07:47 PM
Call to undefined function: print_portal_output destro3m Troubleshooting & Problems 1 06-11-2006 05:35 PM
Fatal error: Call to undefined function: print_portal_output() digitalje5u5 Troubleshooting / "How do I..." Questions 3 09-25-2004 04:50 AM


All times are GMT -4. The time now is 01:09 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.