This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
faq [2018/03/16 17:40] admin [Direct Out Links] |
faq [2020/11/30 08:19] (current) admin [Script Update version 1 -> 2] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== FAQ ====== | ||
+ | ===== Skimming 101 ===== | ||
+ | |||
+ | We have a conception of 101 skimming. Yes, skimming can not be more then 100% so 101 means = default skimming. Ie if you set skimming 101 for SE traffic and you have default skimming set to 60 - so SE surfers will get skimming 60 too. | ||
+ | |||
+ | |||
+ | ===== Last Clicks ===== | ||
+ | |||
+ | (L. Click) | ||
+ | |||
+ | ===== Script Version ===== | ||
+ | |||
+ | Basically there are 2 versions: free and paid. | ||
+ | |||
+ | The only difference is that free version takes 1% of your clicks. | ||
+ | |||
+ | You can buy a temporary paid version with [[Subscription]] | ||
+ | ===== Mysql Settings ===== | ||
+ | are located in scj/ | ||
+ | |||
+ | |||
+ | ===== Predefined ICQ messages ===== | ||
+ | an extremely comfortable feature for chatting | ||
+ | |||
+ | |||
+ | ===== ImageMagick ===== | ||
+ | it's a command line tool to manipulate images, usually used to add some contrast, sharpness or blur. Here is recommended IM strings for your site: (not that PATH to IM could be diffrent on your server, usually it /usr/bin/ or / | ||
+ | |||
+ | * / | ||
+ | * / | ||
+ | |||
+ | |||
+ | ===== Additional traffic ===== | ||
+ | if you want to force some traffic (for example if you buy some traffic at trafficholder, | ||
+ | |||
+ | |||
+ | |||
+ | ===== I forgot password to admin area. ===== | ||
+ | |||
+ | Is there any way to recover it ? | ||
+ | |||
+ | A. No, there' | ||
+ | - rename / | ||
+ | - open admin area (it will not ask for a password) | ||
+ | - change password | ||
+ | - rename / | ||
+ | |||
+ | |||
+ | ===== Can i transfer traders from other scripts ? ===== | ||
+ | |||
+ | A. Yes, try to find export feature in your script and paste data in SmartCj at Maintanance -> Import. | ||
+ | |||
+ | ===== What is Bookmarks ? ===== | ||
+ | |||
+ | In theory - % of surfers from this trader who adds your site info bookmarks. Here is how we detect this. | ||
+ | Lets say surfer from trader A visits our site, we set a cookie "this surder is from trader A", this cookie will expire in a week. If user visits out site again during with week without a referer at all (but with this cookie) - we count him as a bookmark. | ||
+ | |||
+ | ===== How to move script to another server ===== | ||
+ | |||
+ | - Update script to the last version on the current server | ||
+ | - make mysqldump of your DB | ||
+ | - install script on new server | ||
+ | - restore DB on new server | ||
+ | |||
+ | |||
+ | ===== Password Reset ===== | ||
+ | |||
+ | There' | ||
+ | |||
+ | If you use default (so-called Apache) authorization and **did not** clicked " | ||
+ | |||
+ | - rename / | ||
+ | - open admin area (it shouldn' | ||
+ | - set password | ||
+ | - rename / | ||
+ | |||
+ | If you **did click** " | ||
+ | |||
+ | - Create a file reset.php | ||
+ | - < | ||
+ | require(' | ||
+ | db_query(" | ||
+ | echo ' | ||
+ | - open it in browser/ | ||
+ | - delete reset.php | ||
+ | |||
+ | |||
+ | **Common Issues** | ||
+ | You pressed " | ||
+ | |||
+ | There are 2 possible issues | ||
+ | |||
+ | 1. Folder is protected with nginx and password is set there | ||
+ | |||
+ | Test: open / | ||
+ | |||
+ | Solutation: ask admin to remove this authorization | ||
+ | |||
+ | 2. You use php_fpm | ||
+ | |||
+ | Test: create a file scj/ | ||
+ | |||
+ | < | ||
+ | |||
+ | <? | ||
+ | if (isset($_SERVER[' | ||
+ | print_r($_SERVER); | ||
+ | } else { | ||
+ | |||
+ | header(' | ||
+ | header(' | ||
+ | echo ' | ||
+ | exit; | ||
+ | |||
+ | } | ||
+ | </ | ||
+ | Open it in browser. It should ask for a password (your can type whatever you want here) and then it should display what you've entered. If it keeps ask for a password - that's your case. | ||
+ | |||
+ | Solution: http:// | ||
+ | |||
+ | Or switch off multi auth | ||
+ | |||
+ | - create | ||
+ | - < | ||
+ | require(' | ||
+ | db_query(" | ||
+ | echo ' | ||
+ | - open in browser / | ||
+ | - delete reset.php | ||
+ | |||
+ | ===== Reset IP access ===== | ||
+ | |||
+ | - create / | ||
+ | - < | ||
+ | require(' | ||
+ | db_query(" | ||
+ | echo ' | ||
+ | - open in browser / | ||
+ | - delete reset.php | ||
+ | |||
+ | |||
+ | ===== Script Update version 1 -> 2 ===== | ||
+ | |||
+ | First branch of the script (1.X) is not supported any more and in 2016 we moved to the new version 2. If you have a site running version 1 you can move to version 2 | ||
+ | |||
+ | - Install version 2 at the same domain where version 1 is (You' | ||
+ | - SSH to scj/bin and run php scj_1to2_db_converter.php | ||
+ | |||
+ | Script will ask where version 1 is and copy all the data. | ||
+ | |||
+ | Check that everything' | ||
+ | |||
+ | And switch to the new version. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Feeders ===== | ||
+ | |||
+ | How to count traffic from feeders: | ||
+ | |||
+ | 1. Easy to go: create a fake trader, lets say feeder.com and send traffic as http:// | ||
+ | |||
+ | 2. You you have traffic coming from different sources and those sources are not added as trade - that traffic is counted under system trade " | ||
+ | |||
+ | There 2 options | ||
+ | |||
+ | - as separate trader - each domain will be added as a separate trader (you' | ||
+ | - as subfeeder - in this case you have to send traffic as http:// | ||
+ | |||
+ | |||
+ | **If traffic does not have referer and referer has beed altered** : in this case they usually add some params into URL , for example they send traffic as http:// | ||
+ | |||
+ | Add into common.php | ||
+ | |||
+ | < | ||
+ | if (isset($_GET[' | ||
+ | | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ====== PHP update ====== | ||
+ | |||
+ | |||
+ | Due to changes in IonCube now we have to create a separate set of files for each version of PHP ie if you have files for PHP 5 and decide to upgrade PHP you'll have to update files as well. | ||
+ | |||
+ | |||
+ | When you install the script - it detects your PHP version and downloads a set of files for your php version | ||
+ | |||
+ | So what you need when you update PHP version is to update files as well. | ||
+ | |||
+ | There are following options | ||
+ | |||
+ | 1. Easy one | ||
+ | * create mysql backup | ||
+ | * phpdate PHP | ||
+ | * reinstall the script, it'll download files for your version | ||
+ | * restore mysql backup, run update, just in case ) | ||
+ | |||
+ | 2. if you like to copy files | ||
+ | * update PHP | ||
+ | * install the script, it'll download files for your version | ||
+ | * copy *.php files to your domains, excludeкроме common.php and config.php | ||
+ | |||
+ | Here's a tip how to copy files | ||
+ | < | ||
+ | rsync -avh --include ' | ||
+ | |||
+ | Note 1: Save (& restore after the rsync) config.php & common.php from existing install or they' | ||
+ | |||
+ | Note 2: source_path must include TCMS directory, destination_path must be the directory one level above TCMS directory. | ||
+ | |||
+ | </ |