Jump to content


Photo

a little help please-request!


  • Please log in to reply
1 reply to this topic

#1 drb05

drb05
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 03 March 2006 - 04:37 PM

I have no clue in php or mysql. Just tinker with 'free' softwares that makes my life interesting and learning.

I am trying to use this software:
[a href=\"http://stanxterm.aecom.yu.edu/secondary/stocks/index.php\" target=\"_blank\"]http://stanxterm.aecom.yu.edu/secondary/stocks/index.php[/a]

Which uses [a href=\"http://www.dadabik.org\" target=\"_blank\"]http://www.dadabik.org[/a]

I installed. Everything looks fine. But when I go to admin.php, my pages are blank-white. With the following errors:

Notice: Undefined variable: head_extra in ./header.php on line 110

Laboratory of so and so - Laboratory of so and so - Lab inventory

Notice: Undefined variable: log_status in ./header.php on line 129

Notice: Undefined variable: business_logic_included in ./interface_creator/check_login.php on line 58

Warning: Cannot modify header information - headers already sent by (output started at ./header.php:76) in ./interface_creator/check_login.php on line 63

And in other places, there are many errors. like
Notice: Undefined variable: table in ./header.php on line 133

-------------
Could somebody please help me out?

Thanks,

drb


#2 Humpty

Humpty
  • Members
  • PipPipPip
  • Advanced Member
  • 132 posts

Posted 04 March 2006 - 11:16 PM

Seems a little odd to go into depth if you're not really interested in PHP.

Keep this in mind for future 'free app' fiddeling:

I use this for error checking:
// ERROR TRAPING / DEBUGING
// (swap between these following 2 lines)
// error_reporting(E_ALL); //Show all errors
// error_reporting(0); //Show no errors

Remove the // that is in front of whichever line you want, (in your case the bottom line to turn errors off.

I'm a lazy coder. If there are errors that don't effect the overall functionality then I turn errors off.

e.g. If you app functions correctly just turn the errors of in the very first file.

If some errors do still come then find the offending piece of code and put error_reporting(0); above that offending code line.

(this will save you learning what you don't need / want. Other than that if the app doesn't function correctly you'll need someone who knows it or the people who made it.

Have fun.
- Humpty
  #> Where does the light go when it goes out?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users