[RESOLVED] Undefined variable: random in admin_ticket.php

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
grandfso
Posts: 26
Joined: Fri May 30, 2014 12:47 pm

[RESOLVED] Undefined variable: random in admin_ticket.php

Post by grandfso »

Script URL: 2.5.3
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Notice: Undefined variable: random

Write your message below: Hi, with Debug Mode on, when viewing a ticket I get the following notice:

Code: Select all

Notice: Undefined variable: random in /hesk/admin/admin_ticket.php on line 543
Is this something to be worried about ?
Last edited by grandfso on Wed Jun 11, 2014 7:13 am, edited 1 time in total.
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Notice: Undefined variable: random in admin_ticket.php

Post by Klemen »

This is not an error that occurs with original HESK 2.5.3 files.

You probably have a loose (undefined) $random somewhere.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Notice: Undefined variable: random in admin_ticket.php

Post by mkoch227 »

The issue exists in HESK UI, as the two places $random are used were moved from their default location. Their new location is above where $random is instantiated, thus causing the error. It will be fixed in v1.1.6.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Post Reply