1
Brandy
Can anyone help with any of these error messages?
  • 2004/7/24 20:30

  • Brandy

  • Just popping in

  • Posts: 3

  • Since: 2004/6/18


Here are the PHP error messages at the bottom of my start page. If anyone knows how to fix any of them, please let me know what to do, I can't figure it out!
Thank you!!!!!!!

Notice [PHP]: Undefined variablebgcolor3 in file modules/news-block/blocks/articles.php line 40
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 streamNo such file or directory in file modules/stockquotes/blocks/stockbox.php line 3
Warning 
[PHP]: main(): Failed opening '../../../mainfile.php' for inclusion (include_path=''in file modules/stockquotes/blocks/stockbox.php line 3
Notice 
[PHP]: Undefined variablexoopsUser in file modules/stockquotes/blocks/stockbox.php line 20
Notice 
[PHP]: Constant _MSW_B_INTHE already defined in file modules/ms_weather/language/english/blocks.php line 36
Warning 
[PHP]: main(msw_config.php): failed to open streamNo such file or directory in file modules/ms_weather/class.msweather.php line 26
Warning 
[PHP]: main(): Failed opening 'msw_config.php' for inclusion (include_path=''in file modules/ms_weather/class.msweather.php line 26
Warning 
[PHP]: Missing argument 1 for makelangselect() in file modules/xoogle/include/xoogle.php line 303
Notice 
[PHP]: Undefined indexlr in file modules/xoogle/include/xoogle.php line 309
Notice 
[PHP]: Undefined indexsearch in file modules/xoogle/include/xoogle.php line 328
Notice 
[PHP]: Undefined indexquery in file modules/xoogle/blocks/xoogle_search_block.php line 22
Notice 
[PHP]: Use of undefined constant _XO_SEARCH_LABEL assumed '_XO_SEARCH_LABEL' in file modules/xoogle/blocks/xoogle_search_block.php line 28
Warning 
[PHP]: main(include/get_perms.php): failed to open streamNo such file or directory in file modules/myalbum/xoops_version.php line 111
Warning 
[PHP]: main(): Failed opening 'include/get_perms.php' for inclusion (include_path=''in file modules/myalbum/xoops_version.php line 111
Notice 
[PHP]: Undefined variableglobal_perms in file modules/myalbum/xoops_version.php line 112
Notice 
[PHP]: Undefined variableglobal_perms in file modules/myalbum/xoops_version.php line 120
Warning 
[PHP]: fopen(): URL file-access is disabled in the server configuration in file modules/xoopsheadline/class/headlinerenderer.php line 62
Warning 
[PHP]: fopen(https://xoops.org/backend.php): failed to open stream: no suitable wrapper could be found in file modules/xoopsheadline/class/headlinerenderer.php line 62
Warning [PHP]: fopen(): URL file-access is disabled in the server configuration in file modules/xoopsheadline/class/headlinerenderer.php line 62
Warning 
[PHP]: fopen(https://xoops.org/backend.php): failed to open stream: no suitable wrapper could be found in file modules/xoopsheadline/class/headlinerenderer.php line 62
Warning [PHP]: fopen(): URL file-access is disabled in the server configuration in file modules/xoopsheadline/class/headlinerenderer.php line 62

2
JMorris
Re: Can anyone help with any of these error messages?
  • 2004/7/24 20:38

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


What version of XOOPS are you running?

When did this error start?

Have you tried disabling ALL modules and seeing if the errors are still there?

Could you post a link to the site?

3
Mithrandir
Re: Can anyone help with any of these error messages?

Quote:

Notice [PHP]: Undefined variable: bgcolor3 in file modules/news-block/blocks/articles.php line 40
Notice [PHP]: Constant _SB_STOCKBOX_TITLE already defined in file modules/stockquotes/language/english/blocks.php line 14

Undefined variable means that $bgcolor3 is used before it has been given a value
The constant notice is about a language constant being defined several times
Quote:

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='') in file modules/stockquotes/blocks/stockbox.php line 3

the block is trying to include mainfile.php, but this file is not at the location it tries to include it from - on a related note, a block should never include mainfile.php, coding error
Quote:

Notice [PHP]: Undefined variable: xoopsUser in file modules/stockquotes/blocks/stockbox.php line 20

variable $xoopsUser is used without being defined - probably a missing
global $xoopsUser;
in the block code
Quote:

Warning [PHP]: main(msw_config.php): failed to open stream: No such file or directory in file modules/ms_weather/class.msweather.php line 26
Warning [PHP]: main(): Failed opening 'msw_config.php' for inclusion (include_path='') in file modules/ms_weather/class.msweather.php line 26

similar to inclusion of mainfile, a file could not be included since it doesn't exist
Quote:

Warning [PHP]: Missing argument 1 for makelangselect() in file modules/xoogle/include/xoogle.php line 303

makelangselect() function has a parameter, which is not sent with the function call
Quote:

Notice [PHP]: Undefined index: lr in file modules/xoogle/include/xoogle.php line 309
Notice [PHP]: Undefined index: search in file modules/xoogle/include/xoogle.php line 328
Notice [PHP]: Undefined index: query in file modules/xoogle/blocks/xoogle_search_block.php line 22

an array index ($array['index']) is used, which does not exist
Quote:

Warning [PHP]: fopen(): URL file-access is disabled in the server configuration in file modules/xoopsheadline/class/headlinerenderer.php line 62
Warning [PHP]: fopen(https://xoops.org/backend.php): failed to open stream: no suitable wrapper could be found in file modules/xoopsheadline/class/headlinerenderer.php line 62
Warning [PHP]: fopen(): URL file-access is disabled in the server configuration in file modules/xoopsheadline/class/headlinerenderer.php line 62
Warning [PHP]: fopen(https://xoops.org/backend.php): failed to open stream: no suitable wrapper could be found in file modules/xoopsheadline/class/headlinerenderer.php line 62
Warning [PHP]: fopen(): URL file-access is disabled in the server configuration in file modules/xoopsheadline/class/headlinerenderer.php line 62

fopen() is disabled on your webserver - without it, the Headlines module won't work.

4
JMorris
Re: Can anyone help with any of these error messages?
  • 2004/7/25 0:32

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Mithrandir,

You da man!

5
theprof
Re: Can anyone help with any of these error messages?
  • 2004/8/7 2:12

  • theprof

  • Quite a regular

  • Posts: 225

  • Since: 2004/7/14


Quote:
Notice [PHP]: Undefined variable: bgcolor3 in file modules/news-block/blocks/articles.php line 40


I am having this similar problem with Friendfinder...

What does one do when this is happening?


Login

Who's Online

376 user(s) are online (63 user(s) are browsing Support Forums)


Members: 0


Guests: 376


more...

Donat-O-Meter

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

Latest GitHub Commits