The Arcive of vBulletin Modifications Site. |
|
Got an error need some help fixing it (vbadvanced) Details »»
|
|||||||||||||||||||||||||||
|
Got an error need some help fixing it (vbadvanced)
Developer Last Online: Oct 2007
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 Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Remove the /info.php
|
|
#3
|
|||
|
|||
|
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 I will send $10 paypal to anyone who can get me up in the next hour. |
|
#4
|
|||
|
|||
|
That line should probably be:
PHP Code:
|
|
#5
|
|||
|
|||
|
I changed it to that. Then i get more errors.
Warning: Wrong parameter count for chmod() in /homepages/16/d117449961/htdocs/cmps_index.php on line 21 Warning: main(./global.php): failed to open stream: No such file or directory in /homepages/16/d117449961/htdocs/cmps_index.php on line 32 Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /homepages/16/d117449961/htdocs/cmps_index.php on line 32 Still have an error at that same line though. The other two then appear as well. |
|
#6
|
|||
|
|||
|
Try this instead
PHP Code:
|
|
#7
|
|||
|
|||
|
ya that is what i needed. Thanks
|
|
#8
|
|||
|
|||
|
oops i typed cchmod instead of chdir.
![]() Thanks for correcting FightRice. |
|
#9
|
|||
|
|||
|
haha it is cool.
Could you help me out on how to make the custom content pages? Not sure how to do it? thanks |
![]() |
|
|