Page 1 of 1

[RESOLVED] Signature not being retained

Posted: Tue Oct 13, 2009 6:07 pm
by Raven
Script URL: http://www.crikey-thatsmint.com/
Version of script: 2.1
Hosting company: Localhost
URL of phpinfo.php: N/A
URL of session_test.php: N/a

Write your message below:

Hi, I have noticed a possible bug with HESK 2.1 - let me explain. While logged in as a standard user and I update me signature via profile.php it saves correctly. The same also applies when I'm logged in as the admin but only while updating through profile.php. However, I have noticed that when updating any users signature including my own (admin) via manage_users.php by clicking on Edit it is not saved.

Has anyone else notice this?

**EDIT**
Sorry, just noticed all bug reports should be posted here - please feel free to move this post to the correct section. Again, sorry but didn't realise till after I had posted.

Posted: Wed Oct 14, 2009 3:03 pm
by Klemen
I just tested it on my server and updating signatures from manage_users.php works fine.

Anyone else gets this?

Posted: Wed Oct 14, 2009 6:46 pm
by Raven
Hmmm, poss a php 5.3.0 thing or something to do with my server config then as I just tested with a new installation of HESK 2.1 and it was the same there too...

Posted: Wed Oct 14, 2009 11:04 pm
by Raven
My bad, It was due to an error in the code - I should have had

Code: Select all

<?php echo $myuser['signature']; ?>
but I had

Code: Select all

<?php echo $myuser[signature]; ?>
That'll teach me to double click on stuff to select it within Dreamweaver....

If that was not bad enough, I had also logged in to the wrong version when testing too lol - late nights and coding do not agree :oops:

Posted: Thu Oct 15, 2009 6:04 am
by Klemen
No worries, happens to all of us :wink:

Posted: Thu Oct 15, 2009 9:55 am
by Raven
Hehe, ta :lol: - during a long night though you have to admit, sometimes you miss the easiest of mistakes :roll: