51
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.



52
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





53
comegona
Re: Suddenly a blank page
  • 2004/7/10 13:57

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


Quote:
Is Stockquotes your own module? Have you experimented with comments?


No its not my module. I found it on XOOPS and it so far works fine but when I put PHP DEBUG on I get the following:
Quote:

Notice [PHP]: Constant _SB_STOCKBOX_TITLE already defined in file modules/stockquotes/language/english/blocks.php line 14
Warning [PHP]: main(../../../mainfile.php): failed to open stream: No such file or directory in file modules/stockquotes/blocks/stockbox.php line 3
Warning [PHP]: main(): Failed opening '../../../mainfile.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file modules/stockquotes/blocks/stockbox.php line 3
Notice [PHP]: Undefined variable: xoopsUser in file modules/stockquotes/blocks/stockbox.php line 20




54
comegona
Re: Suddenly a blank page
  • 2004/7/10 13:53

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


OK
I got it working.

I disabled 'Recent Comments' by turning xoops_newblocks.visible to 0.

Thanks for all the help.

Site is now back up.



55
comegona
Re: Suddenly a blank page
  • 2004/7/10 13:41

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


Quote:
modules table
change isactive from 1 to 0


Did that and the errors still come up about Stockquotes.

I also checked the comments table and they look fine. I can read all comments without any problems.

If it is a Comments issue, I had placed the System comments block on the main page for Webmasters. If this is the cause is there a table where I can disable this block?



56
comegona
Re: Suddenly a blank page
  • 2004/7/10 13:04

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


Tried to get in using user.php and admin.php but I still get a blank page. Is there a way of disabling this module directly from the DB?



57
comegona
Suddenly a blank page
  • 2004/7/10 12:33

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


All of a sudden I'm getting a blank page on the index page and every other page. I was able to turn on debug mode and got the following errors:

Quote:

Fatal error: Call to a member function on a non-object in /home/broadca/public_html/modules/system/blocks/system_blocks.php on line 339
Notice [PHP]: Constant _SB_STOCKBOX_TITLE already defined in file modules/stockquotes/language/english/blocks.php line 14
Warning [PHP]: main(../../../mainfile.php): failed to open stream: No such file or directory in file modules/stockquotes/blocks/stockbox.php line 3
Warning [PHP]: main(): Failed opening '../../../mainfile.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file modules/stockquotes/blocks/stockbox.php line 3
Notice [PHP]: Undefined variable: xoopsUser in file modules/stockquotes/blocks/stockbox.php line 20


I renamed the module stockquotes and got just the following error
Quote:
Fatal error: Call to a member function on a non-object in /home/broadca/public_html/modules/system/blocks/system_blocks.php on line 339


I turned debug on by going directly to the DB.



58
comegona
Re: Bug in WF-Section 2.0
  • 2004/7/7 0:07

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


Sorry to bust in like this but, is there an upgrade to this version of WFS? I using 1.01


If not I may have to start learning PHP and MySSQL and build my own.

ps.. see I cant even spell MySQL propelly



59
comegona
Upgrade script for WFSections?
  • 2004/6/25 20:23

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


Hello
Any update on the upgrade script for the new WFSections?



60
comegona
Re: WF-Section v2.0.1 - You might wanna wait for the next version...
  • 2004/6/12 14:33

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


Any word on the upgrade script?




TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 16 »



Login

Who's Online

245 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 245


more...

Donat-O-Meter

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

Latest GitHub Commits