Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

2147 Posts in 534 Topics- by 918 Members - Latest Member: kramusica

eTicket CommunitySupportInstallation Help & Software Support (Moderators: jason, Hummdis)Topic: index errors after fresh install
Pages: [1]   Go Down
Print
Author Topic: index errors after fresh install  (Read 921 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
Sr. Member
*****

Karma: +12/-0
Offline Offline

Posts: 431



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

eTicket Community
   

 Logged
Pages: [1]   Go Up
Print
eTicket CommunitySupportInstallation Help & Software Support (Moderators: jason, Hummdis)Topic: index errors after fresh install
Jump to: