indexu.com

developer blog

Category: Troubleshooting

SMTP mail doesn’t work

Indexu use phpmailer class to send email. By default it use mail() function. Inside admin panel, there is an option to switch to use SMTP instead if mail().
Phpmailer use socket connection to connect to SMTP mail server. So before you use it, make sure your webhost allow fsockopen() function. It this function is disabled, then [...]

Language code, add .utf8 if it doesn’t work

Usually language code is constructed like es_ES or fr_FR. However in some servers, usually on linux box, the server locale code need explicitly add .utf8. So if you have problem with strange characters where utf8 doesn’t work. Do the following steps:
1) rename the language folder, add .utf8.

/lang/es_ES.utf8
/lang/fr_FR.utf8

2) language switching also need to be modified to:

http://www.nicecoder.com/testrial/upload/set_language.php?lang_id=es_ES.utf8&back=/testrial/upload/

Notice [...]

Convert md5 password

In indexu 5.x the password is stored in plain text.
If you upgrade from indexu 5.x to indexu deluxe, the installer will convert it automatically to md5.
If you experience user can not login after upgrade, then it could be that the conversion process fail.
If you have this problem, here is a solution.
Create a file called convertmd5.php

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
include [...]

Failed to load trackclick.js.php

Today a user report that the outgoing hits doesn’t work on portal_dir template.
A quick check:
1) footer.html

11
<script language="javascript" type="text/javascript" src="<%$tpl_base%>/trackclick.js.php"></script>

2) check whenever trackclick.js.php file exist in template folder.
3) check the link that count has proper “name” attribute
If everything look good, then it should work well.
However in this user case it doesn’t work well. Somehow trackclick.js.php never [...]