11
Mithrandir
Re: Suddenly a blank page

Comment out line 3 of blocks/stockbox.php - it is not needed

on line 6 (inside the b_stockbox_show function) add a line saying
global $xoopsUser;


and see if that doesn't work out better.

12
comegona
Re: Suddenly a blank page
  • 2004/7/10 14:51

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


Quote:

Comment out line 3 of blocks/stockbox.php - it is not needed

on line 6 (inside the b_stockbox_show function) add a line saying
global $xoopsUser;

and see if that doesn't work out better.


I now get only this line at the bottom of the page:
Quote:
Notice [PHP]: Constant _SB_STOCKBOX_TITLE already defined in file modules/stockquotes/language/english/blocks.php line 14


But within the stockquotes block I get:
Quote:

Notice [PHP]: Constant _SB_STOCKBOX_TITLE already defined in file modules/stockquotes/language/english/blocks.php line 14
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82
Notice [PHP]: Use of undefined constant fp - assumed 'fp' in file modules/stockquotes/blocks/stockbox_iframe.php line 82



13
Mithrandir
Re: Suddenly a blank page

blocks/stockbox_iframe.php line 82:
if(!fp)

should be
if(!$fp)

(missing dollar-sign after the exclamation mark and before fp)

Also comment out line 14 of language/english/blocks.php - it's already defined on line 12.

14
comegona
Re: Suddenly a blank page
  • 2004/7/10 15:19

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


EXCELLENT

you have been most helpful.

thank you.

Login

Who's Online

170 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 170


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits