yisi23/smt2

I can't record anything

Closed this issue · 10 comments

What steps will reproduce the problem?
1. The system tell me that "The log cache is empty"
2. cache folder it's 777
3. You can view the code here http://www.honesting.es/

What is the expected output? What do you see instead?
Anything, no errors, anything it's ok but don't record.

What version of the product are you using? On what operating system?
smt-2.0.1 with centos cpanel server

Please provide any additional information below.
http://www.honesting.es/smt-2.0.1/admin/
root and password 4^Y_hD9d

thank you.

Original issue reported on code.google.com by honest...@gmail.com on 3 Jan 2011 at 12:19

I've browsed your home page and a 404 error was thrown by the server (it 
requested the file /smt2/core/store.php). This is caused because you have 
installed the system at /smt-2.0.1 dir, and your config file is pointing to 
/smt2 dir instead.

Choose one of the following options. 
Either 1) rename dir to /smt201 or 2) fix your config.php: define ('ABS_PATH', 
"http://www.honesting.es/smt-2.0.1/"); 

Additionally, you should know that v2.0.1 is out of date. Please use version 
2.0.2 instead, preferably from SVN.

Original comment by luis.lei...@gmail.com on 3 Jan 2011 at 11:15

  • Changed state: Accepted
I didn't understand where you see that my config file is pointing to /smt2 dir

that's my config.php file

define ('ABS_PATH', "http://www.honesting.es/smt-2.0.1/"); // always place here 
an ending slash (/)

Original comment by honest...@gmail.com on 4 Jan 2011 at 10:11

I reinstall all using your svn version to /smt but still don't work

http://www.honesting.es/smt/ 

root with password I8qq?i4

Config file point to 

define ('ABS_PATH', "http://www.honesting.es/smt/"); // always place here an 
ending slash (/)

Original comment by honest...@gmail.com on 4 Jan 2011 at 10:49

I upload your example, and don't work either:

http://www.honesting.es/test.htm

Original comment by honest...@gmail.com on 4 Jan 2011 at 10:57

The problem is that the dir `/smt2` is expected by default (see readme Wiki 
page).
To specify other directory name (as you are using), you must type it explicitly 
both in the `config.php` (ABS_PATH) AND in the recording script.

If you are using v2.0.1, you can set
smt2.record({
 ...
 dirPath: /smt,
 ...
})

If you are using v2.0.2, you can set
smt2.record({
 ...
 trackingServer: /smt,
 ...
})

Original comment by luis.lei...@gmail.com on 4 Jan 2011 at 11:29

Thanks for your reply, I did it, but didnt' work:

  <script type="text/javascript" src="http://www.honesting.es/smt/core/js/smt-aux.min.js"></script>  
  <script type="text/javascript" src="http://www.honesting.es/smt/core/js/smt-record.min.js"></script>

  <script type="text/javascript">
  try {
    smt2.record({
    recTime: 300,
    trackingServer: "/smt/",
    storageServer: "/smt/",
    warn: false,
        disabled: Math.round(Math.random()),
    });
  } catch(err) {}
  </script>

Original comment by honest...@gmail.com on 7 Jan 2011 at 8:34

I rename the folder to /smt2,then I re-installed and copied the code again, 
still not working:

  <script type="text/javascript" src="/smt2/core/js/smt-aux.min.js"></script>  
  <script type="text/javascript" src="/smt2/core/js/smt-record.min.js"></script>

  <script type="text/javascript">
  try {
    smt2.record({
      recTime: 300,
      disabled: Math.round(Math.random()),
    });
  } catch(err) {}
  </script>

Original comment by honest...@gmail.com on 7 Jan 2011 at 8:45

Finally it's working with the url in the src line, thank you for your help, I'm 
going to try it and if all it's ok I'm going to donate because it looks a good 
script, a bit complicated to install for the moment! thanks.

Original comment by honest...@gmail.com on 7 Jan 2011 at 8:50

A last thought: Did you set the 'disabled' option to random sampling in every 
trial you performed? In that case it's better to set 'disabled: 0' while 
testing, to ensure that each user is always selected for tracking.

On the other hand, thank you for your support.

Original comment by luis.lei...@gmail.com on 7 Jan 2011 at 10:45

  • Changed state: Done
Hi Sir,

I have installed smt in my domain.

http://friendstaxi.com/smt2

and i have pasted the javascript code in the domain

http://friendstaxi.com/

but nothing is recording,, I saw your posting in forum that you had the same 
problem but later you solved it, Please help me to sort out this, and i am also 
getting "log cache empty" in my dashboard. Please help me, thanks in advance.

Original comment by kar...@webcrea.in on 31 Aug 2013 at 8:40