Jump to content


Photo
- - - - -

Undefined index, error in rss feed


  • Please log in to reply
4 replies to this topic

#1 Zion

Zion

    New Member

  • Members
  • Pip
  • 3 posts

  • Bulgaria

Posted 01 April 2009 - 12:25 PM

Hi, i have a problem with source code. In my hosting have file "error_log". The content of this file is:
CODE
[24-Mar-2009 00:45:13] PHP Notice:  Undefined index:  a in /home/zion/public_html/functions/f_search.php on line 126
[24-Mar-2009 00:45:13] PHP Notice:  Undefined index:  strength in /home/zion/public_html/functions/f_search.php on line 126
[24-Mar-2009 00:45:13] PHP Notice:  Undefined index:  cat in /home/zion/public_html/functions/f_search.php on line 126
[24-Mar-2009 00:45:13] PHP Notice:  Undefined index:  by in /home/zion/public_html/functions/f_search.php on line 126
[24-Mar-2009 00:45:13] PHP Notice:  Undefined index:  order in /home/zion/public_html/functions/f_search.php on line 126
[24-Mar-2009 00:45:13] PHP Notice:  Undefined variable: parent_name in /home/zion/public_html/functions/f_cats.php on line 310
[24-Mar-2009 00:45:13] PHP Notice:  Undefined variable: parent_name in /home/zion/public_html/functions/f_cats.php on line 310
[24-Mar-2009 00:45:13] PHP Notice:  Undefined variable: is_video in /home/zion/public_html/functions/f_global.php on line 108
[24-Mar-2009 00:45:13] PHP Notice:  Undefined variable: is_video in /home/zion/public_html/functions/f_global.php on line 112
.....
....
.......

How can i correct this problem? :[
And, sorry for bad English...

#2 usr.c

usr.c

    Boss, my code's compiling (xkcd)

  • Admins
  • 10,440 posts
  • Gender:Male
  • Interests:Software
    Soccer
    Photography
    RC cars
    Electronics

  • Nothing Selected

Posted 01 April 2009 - 03:03 PM

Hi, Add

CODE
~E_NOTICE

to your error_reporting variable in php.ini, so that it looks something like this

CODE
error_reporting  =  E_ALL & ~E_NOTICE & ~E_STRICT



Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch
I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com

#3 Zion

Zion

    New Member

  • Members
  • Pip
  • 3 posts

  • Bulgaria

Posted 02 April 2009 - 07:52 PM

Thanks.
And I have other problem. In RSS the channel show error.
Screenshot:

Edited by Zion, 02 April 2009 - 07:53 PM.


#4 Zion

Zion

    New Member

  • Members
  • Pip
  • 3 posts

  • Bulgaria

Posted 04 April 2009 - 01:30 PM

Help me, please! online2long.gif

#5 usr.c

usr.c

    Boss, my code's compiling (xkcd)

  • Admins
  • 10,440 posts
  • Gender:Male
  • Interests:Software
    Soccer
    Photography
    RC cars
    Electronics

  • Nothing Selected

Posted 05 April 2009 - 09:27 AM

Change your filenames to english ones to fix that.


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch
I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users