If I remove licensed file does script becomes free version?admin wrote:You can always setup a free version there.
Search found 60 matches
- Wed May 28, 2014 7:10 am
- Forum: SmartCJ Support Forum
- Topic: Strange problem - white page
- Replies: 5
- Views: 5960
Re: Strange problem - white page
- Tue May 27, 2014 6:49 pm
- Forum: SmartCJ Support Forum
- Topic: Strange problem - white page
- Replies: 5
- Views: 5960
Re: Strange problem - white page
Yes, thank you!admin wrote:set display_errors = on in php.ini and it will say you.
I saw
License is not valid for this server...cause I test site on new server and open http://ip... not http://domain.com
Thanks!
- Tue May 27, 2014 5:54 pm
- Forum: SmartCJ Support Forum
- Topic: Strange problem - white page
- Replies: 5
- Views: 5960
Strange problem - white page
Hello,
I moved my script from one server to another (full db backup+tar backup of all files).
Extracted all to new server and here comes weird part:
If I open site in ssh: /usr/bin/php index.php -> main page is displayed in console as it should be - all html is OK.
If I open domain in browser ...
I moved my script from one server to another (full db backup+tar backup of all files).
Extracted all to new server and here comes weird part:
If I open site in ssh: /usr/bin/php index.php -> main page is displayed in console as it should be - all html is OK.
If I open domain in browser ...
- Fri Mar 28, 2014 11:51 am
- Forum: SmartCJ Support Forum
- Topic: Traffic rules - outgoing custom?
- Replies: 11
- Views: 11277
Re: Traffic rules - outgoing custom?
The problem is not correct code for header redirect, but this error:
Cannot modify header information – headers already sent in line:
$numclicks=count(explode('|', $_COOKIE['to']));
this particularly line is the problem - if I remove it - header redirection works...
Cannot modify header information – headers already sent in line:
$numclicks=count(explode('|', $_COOKIE['to']));
this particularly line is the problem - if I remove it - header redirection works...
- Thu Mar 27, 2014 1:40 pm
- Forum: SmartCJ Support Forum
- Topic: Traffic rules - outgoing custom?
- Replies: 11
- Views: 11277
Re: Traffic rules - outgoing custom?
May be $myurl was empty or something
but yes, you can redirect there
It's very weird:
I put this on the top in common.php:
<?
$numclicks=count(explode('|', $_COOKIE['to']));
if ($numclicks=="3") {Header("Location: http://google.com");exit();}
..
?>
But it doesn't work, I checked $numclicks got ...
but yes, you can redirect there
It's very weird:
I put this on the top in common.php:
<?
$numclicks=count(explode('|', $_COOKIE['to']));
if ($numclicks=="3") {Header("Location: http://google.com");exit();}
..
?>
But it doesn't work, I checked $numclicks got ...
- Thu Mar 27, 2014 8:26 am
- Forum: SmartCJ Support Forum
- Topic: Traffic rules - outgoing custom?
- Replies: 11
- Views: 11277
Re: Traffic rules - outgoing custom?
Well, you can do this way too
Thanks!
Really appreciate your support.
I'd like to ask as well - is it possible to use Header("Location: $url"); in common.php?
I tried to set cookie in common.php and then to redirect like:
setcookie("cookie","",time()+86400,'/');
Header("Location: $myurl ...
Thanks!
Really appreciate your support.
I'd like to ask as well - is it possible to use Header("Location: $url"); in common.php?
I tried to set cookie in common.php and then to redirect like:
setcookie("cookie","",time()+86400,'/');
Header("Location: $myurl ...
- Wed Mar 26, 2014 6:52 pm
- Forum: SmartCJ Support Forum
- Topic: Traffic rules - outgoing custom?
- Replies: 11
- Views: 11277
Re: Traffic rules - outgoing custom?
Thank you!
But since I want to redirect 3rd click, shouldn't it be like this:
if ($click=3 AND time>2 AND day>2) {
redirect to my url
}
else {
$_GET['skip_sell'] = true;
}
?
Well, actually it's a way to do it too
Set sell = 100%
and in common
if ($click=3 AND time>2 AND day>2) {
$_GET['skip ...
But since I want to redirect 3rd click, shouldn't it be like this:
if ($click=3 AND time>2 AND day>2) {
redirect to my url
}
else {
$_GET['skip_sell'] = true;
}
?
Well, actually it's a way to do it too
Set sell = 100%
and in common
if ($click=3 AND time>2 AND day>2) {
$_GET['skip ...
- Wed Mar 26, 2014 6:36 am
- Forum: SmartCJ Support Forum
- Topic: Traffic rules - outgoing custom?
- Replies: 11
- Views: 11277
Re: Traffic rules - outgoing custom?
Hello,
Thank you for suggestion, but is there an option there to sell only 3rd click from specific time interval only?
I just wanted to know if there is possibility to use common.php or include out.php to achieve this:
if ($click=3 AND time>2 AND day>2) redirect to url
else
->continue outgoing as ...
Thank you for suggestion, but is there an option there to sell only 3rd click from specific time interval only?
I just wanted to know if there is possibility to use common.php or include out.php to achieve this:
if ($click=3 AND time>2 AND day>2) redirect to url
else
->continue outgoing as ...
- Tue Mar 25, 2014 7:05 pm
- Forum: SmartCJ Support Forum
- Topic: Traffic rules - outgoing custom?
- Replies: 11
- Views: 11277
Traffic rules - outgoing custom?
Hello!
I'd like to ask - is there an option to make something like this:
Traffic Rules - Outgoing
var = HTTP_REFERER
value = yourdomain.com
click = 3
Redirect URL = http://sponsor.com/
Redirecting each 3rd click to sponsor.
But to add some other conditions - like time, day, etc?
Is file common ...
I'd like to ask - is there an option to make something like this:
Traffic Rules - Outgoing
var = HTTP_REFERER
value = yourdomain.com
click = 3
Redirect URL = http://sponsor.com/
Redirecting each 3rd click to sponsor.
But to add some other conditions - like time, day, etc?
Is file common ...
- Mon Mar 24, 2014 4:26 pm
- Forum: SmartCJ Support Forum
- Topic: Restore to previous version
- Replies: 5
- Views: 4487
Re: Restore to previous version
Thanks a lot!admin wrote:Yes
Super fast support!







