Totally Zenned
- Join Date:
- Feb 2004
- Location:
- Georgia, USA
- Posts:
- 1,875
- Plugin Contributions:
- 1
User tracking mod
Thanks for the updates. Just upgraded to 1.4.3b and I am getting the following error: > [26-Nov-2013 08:54:28 America/New_York] PHP Fatal error: Call to undefined function right() in /includes/functions/extra_functions/user_tracking.php on line 78 This means your change suggested above is not included in the downloaded mod. Here is the code from lines 78 and 79:php while (strpos(right($wo_last_page_url, 1), '\\') !== false) { $wo_last_page_url = substr($wo_last_page_url, 0, -1); } Once I applied your change I started getting another error:> [26-Nov-2013 09:01:45 America/New_York] PHP Fatal error: Call to undefined function right() in /includes/functions/extra_functions/user_tracking.php on line 84I believe this is because you erroneous use "right" in this section of the code:```php
/* Start - User tracking v1.4.3b modification*/
while (strpos(right($wo_last_page_url, 1), '\') !== false) {
$wo_last_page_url = substr($wo_last_page_url, 0, -1);
}
/* End - User tracking v1.4.3b modification*/
/* Start - User tracking v1.4.3b modification*/
while (strpos(right($referer_url, 1), '\\') !== false) {
$referer_url = substr($referer_url, 0, -1);
}
/* End - User tracking v1.4.3b modification*/
Isaacola
Online Shopping Mall