PDA

View Full Version : help error


geo101
06-14-2005, 05:59 PM
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

Brian
06-15-2005, 09:16 AM
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.

Our Sponsors
 

geo101
06-15-2005, 11:14 PM
i use th internal editor on wise ftp could that b the problom

LEAD_WEIGHT
06-15-2005, 11:23 PM
Try using Crimsion Editor or like Brian said the note pad :)
I use the free Crimsion Editor.

Our Sponsors
 

geo101
06-15-2005, 11:24 PM
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

LEAD_WEIGHT
06-15-2005, 11:29 PM
Screen Shot what u edit in your global & I will see if u have did it right.

geo101
06-16-2005, 02:37 AM
aight here you go

by the way thanx very much

LEAD_WEIGHT
06-16-2005, 02:42 AM
Deleted that, u forgot to blur out your lic.# :eek:

LEAD_WEIGHT
06-16-2005, 02:51 AM
One little question on whitespace. At the end of globe do u see just
?>

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.

?>

geo101
06-16-2005, 02:54 AM
u want me 2 delete or u did

and no white space

i edited it and blured out the number

LEAD_WEIGHT
06-16-2005, 03:00 AM
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
chdir('/forum'); what do u have.

geo101
06-16-2005, 03:07 AM
here is a screne shot of the whole file

LEAD_WEIGHT
06-16-2005, 03:10 AM
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/showthread.php?t=8524&highlight=print_portal_output
http://www.vbadvanced.com/forum/showthread.php?t=8555&highlight=print_portal_output
http://www.vbadvanced.com/forum/showthread.php?t=8383&highlight=print_portal_output
http://www.vbadvanced.com/forum/showthread.php?t=8350&highlight=print_portal_output
http://www.vbadvanced.com/forum/showthread.php?t=8338&highlight=print_portal_output

geo101
06-16-2005, 03:11 AM
if u htink it would be easier my sn is "DETROIT IDEN"

geo101
06-16-2005, 03:20 AM
i dont get it i have alkl the correct file mods

LEAD_WEIGHT
06-16-2005, 03:22 AM
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

geo101
06-16-2005, 03:30 AM
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

LEAD_WEIGHT
06-16-2005, 03:35 AM
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');

geo101
06-16-2005, 03:43 AM
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

geo101
06-16-2005, 03:49 AM
i noticed this is on your site do you also have to have admincp or do u stop at forums

LEAD_WEIGHT
06-16-2005, 03:49 AM
Stop @ /forums'
chdir('/home/geo101/detroitiden.com/forums');

Try this cause this works for me @ my site.chdir('/forums'); & if this does not work then u need a visit from Brian or one of his staff by summiting a ticket @ the members area @ home page

geo101
06-16-2005, 03:59 AM
omg for sum reason it worked that time you are god lol i owe u huge

hewy u shoudl check out my site detroitiden.com and if u ever need help wit a phone hit me up cuz i am good at that **** my user name is geo101 on there 2


thanx again u rock

geo101
06-16-2005, 04:04 AM
hey 1 more thing i know how to add a link 2 the nav bar but h
ow do i add a forum link so u can only see it when at the homew paghe and a home link so u only see it at the forums

LEAD_WEIGHT
06-16-2005, 04:10 AM
Here is the link

http://www.vbadvanced.com/forum/showthread.php?t=41&highlight=navbar

U need to go to style manager and find stylar to get images links to appear .

geo101
06-17-2005, 12:27 AM
hey cansomeone help for somereason the coloms wont stay linned up could someone let me know how to ajust width plewase

thank you in advance

LEAD_WEIGHT
06-17-2005, 02:12 AM
Top Poster Module is most like the problem u have. I can see that u use the wrapper around it and that code in that template could be giving u the problem with lining up the rest of the other modules.