PDA


View Full Version : Help with install problem


8kobe
05-12-2005, 02:11 PM
Okay installed today. Got an error. Think it has to do with the path that you have to choose on step three. Here is the error:


Parse error: parse error, unexpected '/' in /homepages/16/d117449961/htdocs/cmps_index.php on line 21

I did the step where it says to make a file php.info and then check it. It told me that the path was

/kunden/homepages/16/d117449961/htdocs/forums/info.php

(I don't even know why it says that) (but that is what it said)

I replaced the code so that it looks like this

<?php
// ++=========================================================================++
// || vBadvanced CMPS v1.0.1
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || vb.org distro
// ||
// ++ ========================================================================++

error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);

// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================

/kunden/homepages/16/d117449961/htdocs/forums/info.php

// ============================================
// No Further Editing Necessary!
// ============================================

$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();

require_once('./global.php');

print_portal_output($home);

?>

Can anyone help? i messed around with it a little and can't figure it out. thanks

dsboyce8624
05-12-2005, 02:21 PM
Remove the file name at the end.

8kobe
05-12-2005, 02:22 PM
did that, still same error

8kobe
05-12-2005, 02:23 PM
I don't recognize the file that it gave me. Is there a reason for that? /kunden/homepages/16/d117449961/htdocs/forums/info.php Never heard of it

dsboyce8624
05-12-2005, 02:24 PM
Did you also remove the trailing "/" ?

dsboyce8624
05-12-2005, 02:25 PM
I don't recognize the file that it gave me. Is there a reason for that? /kunden/homepages/16/d117449961/htdocs/forums/info.php Never heard of it

That's the file you made to get the path.

It's pathing to itself.

8kobe
05-12-2005, 02:26 PM
yup

dsboyce8624
05-12-2005, 02:27 PM
Try using the attached file to get the path.


And I'm assuming you tried it with and without the closing "/"

8kobe
05-12-2005, 02:32 PM
Where exactly should I put the info.php file? I put it in the forums folder. Is that the problem?

dsboyce8624
05-12-2005, 02:34 PM
I haven't used that one, I used theone I just attached, but yes, put it in the folder where you installed the forums. Then in your browser to this:

http://www.yoursite.com/yourforumfolder/forumpath.php

8kobe
05-12-2005, 02:36 PM
If I do that then I get an error at same place
parse error: parse error, unexpected '/' in /homepages/16/d117449961/htdocs/cmps_index.php on line 21

I put it in my main directory it game me /kunden/homepages/16/d117449961/htdocs

If I put it in my forums it just adds /forums to the end

dsboyce8624
05-12-2005, 02:43 PM
If I do that then I get an error at same place
parse error: parse error, unexpected '/' in /homepages/16/d117449961/htdocs/cmps_index.php on line 21

I put it in my main directory it game me /kunden/homepages/16/d117449961/htdocs

If I put it in my forums it just adds /forums to the end

Sounds like you need better help than I can give. I had the same problem because I use a windows server. Using the forumpath.php file and adding a "/" to the end worked for me.

Sorry I couldn't help more.

8kobe
05-12-2005, 02:52 PM
could you give me what your url is and what your path was? I don't know, but I think it is weird that I have never seen that file path ever before. Thanks

8kobe
05-12-2005, 02:54 PM
Also just to let you know you get a parse error when you click on the links in your calander on your site.

dsboyce8624
05-12-2005, 03:34 PM
Mine looked like this:

c:\\inetpub\\wwwroot\\forums\\

But I think it's because of it being windows.

Thanks for the error.

Brian
05-12-2005, 05:38 PM
Add the chdir line back around the path so that it looks like this:

chdir('/kunden/homepages/16/d117449961/htdocs/forums');