1
chlockett
XOOPS 2.1.1 + PHP 4.4.1 - Variable Reference Issues
  • 2006/5/23 17:12

  • chlockett

  • Just popping in

  • Posts: 29

  • Since: 2005/9/10


Beginning (with no clear cause) at the new year, my site began posting various PHP error/warning messages. Given below are only three of the messages:

- "Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566"
- "Notice [PHP]: Only variables should be assigned by reference in file kernel/profile.php line 93"
- "Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 212"

If I set 'Debug' to 'Off' using the site administration tools, it disables all access to my site with exception to access from home.

For starters, why does disabling Debug in effect turn off my site?

More importantly, is there any way to either resolve or silence the reported screens of error messages/Notices.

The site in question ishttp://www.kidscookamerica.com and is currently being hosted by StartLogic.com.

Version Information:
PHP: 4.4.1
XOOPS: 2.1.1

Any and all recommendations are welcome! A trouble ticket has been submitted to SmartLogic, but I'm not holding my breath.



2
chlockett
HELP! My site is offline!
  • 2006/2/24 5:08

  • chlockett

  • Just popping in

  • Posts: 29

  • Since: 2005/9/10


I asked for help to get rid of PHP error messages and was told to just turn off the PHP alerts.

I did that, and now no one can get past the homepage of my site:http://www.kidscookamerica.com

I have recently cleared all the caches and cookies from my home computer, so I can't even get to my control panel to turn it back on. So my site is basically totally crippled.

Please tell me how I can get my site back up and running again as quickly as possible.

Thanks!



3
chlockett
Re: PHP Errors - can't hide 'em can't solve 'em
  • 2006/2/2 15:27

  • chlockett

  • Just popping in

  • Posts: 29

  • Since: 2005/9/10


My host is not a XOOPS provider. I installed XOOPS on the site myself, and have not upgraded to a recent version.

I can hide the PHP notices by turning off debug as you suggest, but for some weird reason, when I turn off debug, people cannot get beyond my homepage. I don't understand why that is so, but it has happened twice before when I tried to turn off debug.

Any other suggestions?



4
chlockett
PHP Errors - can't hide 'em can't solve 'em
  • 2006/2/1 23:26

  • chlockett

  • Just popping in

  • Posts: 29

  • Since: 2005/9/10


I'm suddenly getting this list of PHP errors on my site:

Quote:
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variables should be assigned by reference in file kernel/profile.php line 93
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variables should be assigned by reference in file kernel/profile.php line 93
Notice [PHP]: Only variable references should be returned by reference in file kernel/user.php line 610
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variables should be assigned by reference in file include/common.php line 215
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 803
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 212
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 803
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 212
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 803
Notice [PHP]: Only variables should be assigned by reference in file modules/system/admin/preferences/main.php line 39
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 803
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 803
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 803
Notice [PHP]: Only variables should be assigned by reference in file include/cp_functions.php line 41
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 803
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 803
Notice [PHP]: Only variables should be assigned by reference in file include/cp_functions.php line 58
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 803
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice [PHP]: Only variable references should be returned by reference in file kernel/module.php line 171


It started after I added the modules Bluemoon and Survey. I deleted both modules, but the PHP errors continue.

When I turn off PHP Errors in Debug, visitors are clocked from moving beyond my homepage which reates a whole new problem. Besides, ignoring these error messages is like sweeping dirt under the rug. It means someone screwed up writing the program, but no one is able or willing to fix it.

I'll admit it it. I'm unable. Is anyone willing?



5
chlockett
Module for voting / poling
  • 2006/1/9 8:54

  • chlockett

  • Just popping in

  • Posts: 29

  • Since: 2005/9/10


I need to set up a way for people to vote for a favorite recipe on my site. I planned to use the polling module, but it only allows something like 12 options, and I have about 16 recipes that people have recently submitted for the contest. Does anyone know a module I can use or better yet, what module the XOOPS Factory uses for voting on their site of the month? I like the way their e-mail form lists all the possible sites and forces you to select only one.

Thanks!



6
chlockett
Registration problems
  • 2005/11/22 2:42

  • chlockett

  • Just popping in

  • Posts: 29

  • Since: 2005/9/10


I have had to complaints today from people trying to register on my site, but after they get their e-mail verification and respond, they still can't lo onto the site. Any clue why not or how to slove this?

Also, one person complained that he was still logged in after he exited. Is there any way to automatically log people out when they leave the site?

Thanks!

ChLockett

www.kidscookamerica.com



7
chlockett
Re: URGENT! Im suddenly getting a white page after my home page
  • 2005/11/17 22:24

  • chlockett

  • Just popping in

  • Posts: 29

  • Since: 2005/9/10


Thanks for your help.

I found the error -- obviously before you found my complaint

I turned off the button in the preferences/general setting section that says:

Quote:

Update module template .html files from themes/your theme/templates directory?

If this option is enabled, module template .html files will be updated automatically if there are newer files under the themes/your theme/templates directory for the current theme. This should be turned off once the site goes public.


But now I am confused. I thought that button was supposed to be off when I go public. So how do I turn it off without losing access to all my pages again?



8
chlockett
URGENT! I'm suddenly getting a white page after my home page
  • 2005/11/17 20:17

  • chlockett

  • Just popping in

  • Posts: 29

  • Since: 2005/9/10


Please help. My site is www.kidscookamerica.com.

It was workign fine last night. Today, if I try to go anywhere beyond the home page, it gives me a white page and freezes. I cannot even use the back button to return to the home page. I have to exit IE entirely and return to the home page manuualy.

I called my hosting service, and they have rebooted the servers for me, but it still has the same problem.

Two days ago I added a guest book module, but it worked fine after that.

Last night I corrected a few broken links on some pages using DreamWeaver and uploaded them, but it stilled worked after that.

The last thing I did before going to bed was running a backup of of the database and requesting my host to run a back up of the entire site.

Have I been hacked or what is the problem?

PLEASE help. Grading for this grad school project is beginning next week, and the number of visitors I have to my site and my Google ranking THIS week are CRITICAL to my grade.

Thank you!

ChLockett



9
chlockett
How do I change FONT color in Center Block titles in XMT?
  • 2005/11/11 4:03

  • chlockett

  • Just popping in

  • Posts: 29

  • Since: 2005/9/10


I cannot find the font color for title fonts in the center block when using theme XMT.

I am speaking specifically of titles of custom blocks I created in the admin/blocks area of XOOPS and placed in the Center-Center Block. The titles still appear as blue. I managed to find the other titles in the CSS Style sheet, and changed them to #990000.

Please help me understand XOOPS better so I can finish polishing my site.

Thanks!

ChLockett
www.kidscookamerica.com



10
chlockett
Re: How to you nudge blocks or widen your theme?
  • 2005/11/10 19:58

  • chlockett

  • Just popping in

  • Posts: 29

  • Since: 2005/9/10


What do you mean by my "DIR listings are showing"?

Ideally, I would like to have all my menu items on the navigation bar across the top, but there are not enough buttons. Further, I am not sure how to call a module from the nav buttons. Can you educate me with that as well please?

Thanks!

Ch Lockett




TopTop
(1) 2 3 »



Login

Who's Online

83 user(s) are online (52 user(s) are browsing Support Forums)


Members: 0


Guests: 83


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