vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2005, 05:59 PM
geo101 geo101 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 19
Default help error

here are the error messages

when i goto my site detroitiden.com/cmps_index.php i get this

Fatal error: Call to undefined function: print_portal_output() in /home/.magruder/geo101/detroitiden.com/cmps_index.php on line 35


and when i try and view ant thread i get this


Warning: Invalid argument supplied for foreach() in /global.php on line 665

Warning: Cannot modify header information - headers already sent by (output started at /home/.magruder/geo101/detroitiden.com/forums/includes/init.php:27) in /includes/functions.php on line 2946



please help i dont understand what i did wrong


thank you
Reply With Quote
  #2  
Old 06-15-2005, 09:16 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: help error

Looks like you modified your global.php file incorrectly. Get a fresh, un-hacked version of your global.php file and reapply the changes using Notepad. Do not use Dreamweaver or any similar programs as they have been known to cause problems.
Reply With Quote
  #3  
Old 06-15-2005, 11:14 PM
geo101 geo101 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 19
Default Re: help error

i use th internal editor on wise ftp could that b the problom
Reply With Quote
  #4  
Old 06-15-2005, 11:23 PM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: help error

Try using Crimsion Editor or like Brian said the note pad
I use the free Crimsion Editor.
__________________
User Name : test
Password : test
www.theundergroundsource.com
Reply With Quote
  #5  
Old 06-15-2005, 11:24 PM
geo101 geo101 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 19
Default Re: help error

i reuploadid the global file now everything works but i sstill get this when i try and view www.detroitiden.com/cmps_index.php


Fatal error: Call to undefined function: print_portal_output() in /home/.magruder/geo101/detroitiden.com/cmps_index.php on line 35

Last edited by geo101; 06-15-2005 at 11:31 PM.
Reply With Quote
  #6  
Old 06-15-2005, 11:29 PM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: help error

Screen Shot what u edit in your global & I will see if u have did it right.
__________________
User Name : test
Password : test
www.theundergroundsource.com
Reply With Quote
  #7  
Old 06-16-2005, 02:37 AM
geo101 geo101 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 19
Default Re: help error

aight here you go

by the way thanx very much
Attached Files
File Type: zip 1.zip (102.0 KB, 2 views)

Last edited by geo101; 06-16-2005 at 02:56 AM.
Reply With Quote
  #8  
Old 06-16-2005, 02:42 AM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: help error

Deleted that, u forgot to blur out your lic.#
__________________
User Name : test
Password : test
www.theundergroundsource.com
Reply With Quote
  #9  
Old 06-16-2005, 02:51 AM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: help error

One little question on whitespace. At the end of globe do u see just
Code:
?>
or a line of space @ the bottom. If u do just backspace it.
The best way is to edit in notepad or Crimson Editor and then backspace and upload to server agian.

Code:
?>
__________________
User Name : test
Password : test
www.theundergroundsource.com
Reply With Quote
  #10  
Old 06-16-2005, 02:54 AM
geo101 geo101 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 19
Default Re: help error

u want me 2 delete or u did

and no white space

i edited it and blured out the number

Last edited by geo101; 06-16-2005 at 02:56 AM.
Reply With Quote
  #11  
Old 06-16-2005, 03:00 AM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: help error

Fatal error: Call to undefined function: print_portal_output() in /home/.magruder/geo101/detroitiden.com/cmps_index.php

is this in your cmps_index.php for
Code:
chdir('/forum');
what do u have.
__________________
User Name : test
Password : test
www.theundergroundsource.com
Reply With Quote
  #12  
Old 06-16-2005, 03:07 AM
geo101 geo101 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 19
Default Re: help error

here is a screne shot of the whole file
Attached Files
File Type: zip 1.zip (29.6 KB, 2 views)
Reply With Quote
  #13  
Old 06-16-2005, 03:10 AM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: help error

Some hints but make sure u did all the edits in the readme_vba_cmps.html or u will get errors.

http://www.vbadvanced.com/forum/show..._portal_output
http://www.vbadvanced.com/forum/show..._portal_output
http://www.vbadvanced.com/forum/show..._portal_output
http://www.vbadvanced.com/forum/show..._portal_output
http://www.vbadvanced.com/forum/show..._portal_output
__________________
User Name : test
Password : test
www.theundergroundsource.com
Reply With Quote
  #14  
Old 06-16-2005, 03:22 AM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: help error

I never seen that, plus u have a space in front of /home chdir(' /home/geo101/detroitiden.com/forums/admincp');

It should look like this in your cmps_index.php but your setup is not one I have seen before.
chdir('/home/geo101/detroitiden.com/forums/admincp');

Try just this after
chdir('/forums');

Then
chdir('/home/detroitiden.com/public_html/forums');

u might need to ask your sevice provider if u do not know this correctly
__________________
User Name : test
Password : test
www.theundergroundsource.com

Last edited by LEAD_WEIGHT; 06-16-2005 at 03:29 AM.
Reply With Quote
  #15  
Old 06-16-2005, 03:35 AM
LEAD_WEIGHT's Avatar
LEAD_WEIGHT LEAD_WEIGHT is offline
Senior Member
 
Join Date: Mar 2005
Posts: 307
Default Re: help error

Quote:
Originally Posted by LEAD_WEIGHT
I never seen that, plus u have a space in front of /home chdir(' /home/geo101/detroitiden.com/forums/admincp');

It should look like this in your cmps_index.php but your setup is not one I have seen before.
chdir('/home/geo101/detroitiden.com/forums/admincp');

Try just this after
chdir('/forums');

Then
chdir('/home/detroitiden.com/public_html/forums');

u might need to ask your sevice provider if u do not know this correctly
Did u try this first by taking out the space u had in cmp. See the diff. in the front of /home
chdir(' /home/geo101/detroitiden.com/forums/admincp');

chdir('/home/geo101/detroitiden.com/forums/admincp');
__________________
User Name : test
Password : test
www.theundergroundsource.com
Reply With Quote
  #16  
Old 06-16-2005, 03:11 AM
geo101 geo101 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 19
Default Re: help error

if u htink it would be easier my sn is "DETROIT IDEN"
Reply With Quote
  #17  
Old 06-16-2005, 03:20 AM
geo101 geo101 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 19
Default Re: help error

i dont get it i have alkl the correct file mods
Reply With Quote
  #18  
Old 06-16-2005, 03:30 AM
geo101 geo101 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 19
Default Re: help error

when i put chdir('/home/detroitiden.com/public_html/forums');
i get these messages

Warning: chdir(): No such file or directory (errno 2) in /home/.magruder/geo101/detroitiden.com/cmps_index.php on line 22




Warning: main(./global.php): failed to open stream: No such file or directory in /home/.magruder/geo101/detroitiden.com/cmps_index.php on line 33

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/.magruder/geo101/detroitiden.com/cmps_index.php on line 33
Reply With Quote
  #19  
Old 06-16-2005, 03:43 AM
geo101 geo101 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 19
Default Re: help error

there is no space


and i still get
Fatal error: Call to undefined function: print_portal_output() in /home/.magruder/geo101/detroitiden.com/cmps_index.php on line 36
Reply With Quote
  #20  
Old 06-16-2005, 03:49 AM
geo101 geo101 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 19
Default Re: help error

i noticed this is on your site do you also have to have admincp or do u stop at forums
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
Parse error (adminfunctions_template) and a fatal error (vbacmps_install) Kizzmet Troubleshooting / "How do I..." Questions 4 09-30-2004 06:16 PM


All times are GMT -4. The time now is 10:44 AM.

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.