PDA

View Full Version : Zip File is empty?


Ohiosweetheart
03-17-2006, 02:52 PM
I upgraded to vb 3.5.4 and now get this error:

Fatal error: Call to undefined function: print_portal_output() in /home/exquisi/public_html/forums/portal.php on line 35


help??

KW802
03-17-2006, 02:57 PM
I just downloaded the zip file but when I opened it to extract... it was empty. Any suggestions??The two biggest reasons that issue occurs is either when (a) the person is using a Mac or (b) the ZIP client the person is using doesn't like the file.

If you're on a Mac or a Linux PC, try the "tar" format instead of the "zip" format in the drop down menu. If you're on a Windows PC try either a different ZIP client (like WinZip on WinRAR) or the built-in ZIP client that comes with Windows XP.

Our Sponsors
 

KW802
03-17-2006, 02:59 PM
I upgraded to vb 3.5.4 and now get this error:

Fatal error: Call to undefined function: print_portal_output() in /home/exquisi/public_html/forums/portal.php on line 35


help??Make sure that your plugins are turned on and if they are then check the cmps_index.php to make sure you updated the $forumpath variable.

Ohiosweetheart
03-17-2006, 04:07 PM
Make sure that your plugins are turned on and if they are then check the cmps_index.php to make sure you updated the $forumpath variable.

ooooook, they are and I didn't.... how would I go about doing that?

and thanks for your help

Our Sponsors
 

KW802
03-17-2006, 04:14 PM
ooooook, they are and I didn't.... how would I go about doing that? Based upon what you've posted above edit your cmps_index.php and replace this line...$forumpath = '';... with this instead:$forumpath = '/home/exquisi/public_html/forums';

Ohiosweetheart
03-17-2006, 04:18 PM
The two biggest reasons that issue occurs is either when (a) the person is using a Mac or (b) the ZIP client the person is using doesn't like the file.

If you're on a Mac or a Linux PC, try the "tar" format instead of the "zip" format in the drop down menu. If you're on a Windows PC try either a different ZIP client (like WinZip on WinRAR) or the built-in ZIP client that comes with Windows XP.

I use Windows XP, a pc and Winzip, lol. so I'll try to find window's zip client and use it

Ohiosweetheart
03-17-2006, 04:24 PM
Based upon what you've posted above edit your cmps_index.php and replace this line...$forumpath = '';... with this instead:$forumpath = '/home/exquisi/public_html/forums';

thank you for the help Kevin... but guess what? I can't even FIND the cmps_index.php file. Incredible... I was USING the portal up to the day I upgraded to 3.5.4! Could it have been deleted somewhere in the upgrade process? I only have the portal.php file

Ohiosweetheart
03-17-2006, 04:28 PM
grrrrrrrr... I tried to use the windows xp zip feature but when I click on download, winzip automatically comes up, I don't have a choice.

KW802
03-17-2006, 04:34 PM
You may have renamed cmps_index.php to just index.php or similar name in your root folder.

Ohiosweetheart
03-17-2006, 04:48 PM
um, no, I didn't. I looked in there and that is as it should be. There's only a portal.php file.
Well now I'm really screwed, lol. I guess I need to delete all the files and start all over again?

KW802
03-17-2006, 04:54 PM
Let's slow down.... :p

The file that is giving you the error is called "portal.php"? If so, take a look inside of it to see if that is really "cmps_index.php" but renamed. If it is find the line with $forumpath on it and make sure it's correct.

We'll start there.

Ohiosweetheart
03-17-2006, 04:55 PM
lol... ok.... this is what's inside my portal.php file:

<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.0.0 (vB 3.5) - 11150
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com (http://vbadvanced.com)
// || Downloaded 04:04, Mon Jan 9th 2006
// ||
// ++ ========================================================================++
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
chdir('/home/exquisi/public_html/forums/');
// ============================================
// No Further Editing Necessary!
// ============================================
$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();
require_once('./global.php');
print_portal_output($home);
?>


if this is wrong, how'd it work before?? LOL.... leave it to me....

Ozzie
03-17-2006, 05:03 PM
That's the original cmps_index.php file. Just rename it from portal.php to that.

Also, remove the / from the end of your path statement. Should be chdir('/home/exquisi/public_html/forums');

Ohiosweetheart
03-17-2006, 05:09 PM
ahhh... it's been portal.php all along, but I'll rename it to cmps_index.php........ right?
and remove the /......... check...


reuploaded it and............ still nothing

if I point the browser to http://exquisitelyerotic.net/forums/portal.php I get a page cannot be found error
if I point it to http://exquisitelyerotic.net/forums/cmps_index.php I get the same long error above

Call to undefined function: print_portal_output() in /home/exquisi/public_html/forums/cmps_index.php on line 35

KW802
03-17-2006, 05:12 PM
ahhh... it's been portal.php all along, but I'll rename it to cmps_index.php........ right?
and remove the /......... check...


reuploaded it and............ still nothingYou can name the file to be just about anything you want. :) If you have links that point to "portal.php" then you can just leave it with that name.

OK, now that we know you have it out there... try running {yoursite}/forums/admincp/vbacmps_install.php and if that loads anything choose the "upgrade" option and then try the loading the "portal.php" page again.

Ohiosweetheart
03-17-2006, 05:18 PM
tried... no that didn't load a thing. got a 404 not found error

Ohiosweetheart
03-19-2006, 09:13 AM
thanks for your help everyone! I never did get it fixed, and never could get d/l the zip file, so someone sent it to me. It's now up and running great with the exception of a problem module, which I've posted about in a new thread ;)