1
xebra
Undefined index:
  • 2005/4/5 22:30

  • xebra

  • Just popping in

  • Posts: 37

  • Since: 2004/7/31


I've got three PHP notices that appear on all pages.

I searched the site for this, but apparently it isn't common.

Here they are:

Notice [PHP]: Undefined index: meta_desc in file include/functions.php line 53

Notice [PHP]: Undefined index: show_cblock in file header.php line 54

Notice [PHP]: Undefined index: show_cblock in file header.php line 58

What is causing this, and how can I fix it?

2
xebra
Re: Undefined index:
  • 2005/4/8 10:08

  • xebra

  • Just popping in

  • Posts: 37

  • Since: 2004/7/31


I keep looking, but I don't see the answer in any faq or other forum posting. If the answer is here on this website somplace, would somebody help me find it?

3
rowdie
Re: Undefined index:
  • 2005/4/8 12:31

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Turn off PHP Debug in system admin->preferences. That will stop you seeing those notices. Notices don't affect the performance of the module, so you can safely forget about them when the PHP debug is off.

4
Mithrandir
Re: Undefined index:

xebra - which XOOPS version are you running?

Turning off php debug can hide the errors - and php debug should be off on a production site - but it is generally a good idea to understand why they are appearing before ignoring them.
If your site is working correctly and nothing is malfunctioning, you can assume that these notices are just that; notices. However, some notices can cover for more grave errors in some circumstances.

In this case, I think that it is safe to assume that the notices are harmless.

5
xebra
Re: Undefined index:
  • 2005/4/12 16:37

  • xebra

  • Just popping in

  • Posts: 37

  • Since: 2004/7/31


Hey thanks for the info.

The reason I thought it could be a problem is the xhelp is not letting registered users log a ticket. One of the xhelp developers checked my my installation of his module, and found no problems with the install, and I even deleted and reinstalled xhelp 71 three times but the problem continues.

He says I'm the only one reporting the problem, which leads me to believe there is something wrong with my XOOPS installation, and I was hoping that that undefined index error was pointing to the problem.

From your replies, it sounds like this is not the case.

Login

Who's Online

142 user(s) are online (66 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

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

Latest GitHub Commits