Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vBadvanced CMPS
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Got an error need some help fixing it (vbadvanced) Details »»
Got an error need some help fixing it (vbadvanced)
Version: , by kobescoresagain kobescoresagain is offline
Developer Last Online: Oct 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-12-2005 Last Update: Never Installs: 0
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-12-2005, 04:18 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Remove the /info.php
Reply With Quote
  #3  
Old 05-12-2005, 04:21 PM
kobescoresagain kobescoresagain is offline
 
Join Date: Feb 2005
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 05-12-2005, 05:34 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That line should probably be:
PHP Code:
chmod('/kunden/homepages/16/d117449961/htdocs/forums'); 
Reply With Quote
  #5  
Old 05-12-2005, 08:22 PM
kobescoresagain kobescoresagain is offline
 
Join Date: Feb 2005
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 05-12-2005, 10:13 PM
FightRice.com FightRice.com is offline
 
Join Date: Mar 2005
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this instead
PHP Code:
chdir('/kunden/homepages/16/d117449961/htdocs/forums'); 
Reply With Quote
  #7  
Old 05-12-2005, 11:17 PM
kobescoresagain kobescoresagain is offline
 
Join Date: Feb 2005
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ya that is what i needed. Thanks
Reply With Quote
  #8  
Old 05-13-2005, 04:34 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oops i typed cchmod instead of chdir.

Thanks for correcting FightRice.
Reply With Quote
  #9  
Old 05-13-2005, 04:40 AM
kobescoresagain kobescoresagain is offline
 
Join Date: Feb 2005
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

haha it is cool.
Could you help me out on how to make the custom content pages? Not sure how to do it? thanks
Reply With Quote
Reply


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


All times are GMT. The time now is 05:59 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06574 seconds
  • Memory Usage 2,278KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete