eTicket Community
September 02, 2010, 02:56:19 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Got Bug? Please use the new tracker at http://www.eticketsupport.com/tracker
 
   Home   Help Search Login Register  
Quick Register
Choose username  Email                 
Verify password    Choose password 
I agree to Registration Agreement
Pages: [1]   Go Down
  Print  
Author Topic: index errors after fresh install  (Read 1135 times)
0 Members and 1 Guest are viewing this topic.
tbirnseth
New Member
*

Karma: +0/-0
Offline Offline

Posts: 1


« on: December 29, 2008, 05:42:51 AM »

I receive the following upon first access after a fresh install.  Also, all the input fields have errors in them.

How can I resolve?  I would have assumed a fresh install would come out of the box in working order.

Code:
Notice: Constant LANG_ALL already defined in /home/tools/public_html/eticket/lang.php on line 245

Notice: Constant LANG_DB_STATUS already defined in /home/tools/public_html/eticket/lang.php on line 353

Notice: Undefined variable: db_settings in /home/tools/public_html/eticket/init.php on line 133

Notice: Undefined variable: mysqlcharset in /home/tools/public_html/eticket/init.php on line 137

Notice: Undefined index: login_user in /home/tools/public_html/eticket/init.php on line 215

Notice: Undefined index: user in /home/tools/public_html/eticket/init.php on line 215

Notice: Undefined index: login_pass in /home/tools/public_html/eticket/init.php on line 216

Notice: Undefined index: user in /home/tools/public_html/eticket/init.php on line 216

Notice: Undefined index: a in /home/tools/public_html/eticket/inc/class.ticket.php on line 146

Notice: Undefined index: user in /home/tools/public_html/eticket/init.php on line 234

Notice: Undefined index: view in /home/tools/public_html/eticket/init.php on line 243

Notice: Undefined index: a in /home/tools/public_html/eticket/init.php on line 250

Notice: Undefined index: a in /home/tools/public_html/eticket/init.php on line 259

Notice: Undefined index: user in /home/tools/public_html/eticket/admin.php on line 23
Logged
Ati
New Member
*

Karma: +0/-0
Offline Offline

Posts: 4


« Reply #1 on: December 29, 2008, 09:15:40 AM »

A production server usually has error reporting turned off in php. Error reporting is only necessary during development. Newer versions of PHP generate more notices that are not actual errors, only small hints showing what they think should be done in a different way. This is to make the application more secure. However, doing so will break compatibility with old versions of php. Sad So the best solution really is simply to turn error reporting off on your production server.
Logged
Hummdis
Moderator
Super Member
*****

Karma: +13/-0
Offline Offline

Posts: 601


In a world without fences, who needs Gates?


WWW
« Reply #2 on: December 30, 2008, 04:17:19 AM »

Ati has hit the nail on the head.  You need to turn off error reporting in your php.ini file.
Logged

Don't PM me directly for help.  Post to the forums, that's what they are for after all.  PM's to me that request help will be ignored.

Hummdis Web Design - Freelance Website Design & IT Consulting
eTicket Community
   

 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 2.687 seconds with 23 queries.

Google visited last this page October 07, 2009, 08:29:55 PM