This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
troubleshooting [2014/01/29 18:05] 127.0.0.1 external edit |
troubleshooting [2023/05/09 08:58] (current) admin [It doesnt work !] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Troubleshooting ====== | ||
+ | |||
+ | ===== It doesnt work ! ===== | ||
+ | |||
+ | Contact me and explain problem, but first of all make sure : | ||
+ | |||
+ | * You've done all update, may be your bug is already fixed | ||
+ | * Take a look at FAQ and Troubleshooting | ||
+ | * Please, give me as much details as you can. | ||
+ | |||
+ | Thank you. | ||
+ | |||
+ | |||
+ | ===== Server setup error, apache\nginx is running with user permissions - Warning | ||
+ | |||
+ | User permissions are a fundamental aspect of UNIX systems and are designed to ensure the security and integrity of the system. Essentially, | ||
+ | |||
+ | UNIX systems are typically multi-user environments, | ||
+ | |||
+ | By carefully controlling user permissions, | ||
+ | |||
+ | Overall, user permissions are a critical aspect of UNIX systems, allowing for fine-grained control over access to system resources and ensuring the security and integrity of the system. | ||
+ | |||
+ | |||
+ | One of the reasons why Apache should not be able to modify user files is that it can introduce security risks and potentially compromise the entire system. Apache is a web server software that runs on UNIX systems and serves web pages to users over the internet. In order to run effectively, | ||
+ | |||
+ | However, allowing Apache to modify user files can potentially expose these files to malicious attacks. If an attacker were able to gain access to Apache' | ||
+ | |||
+ | |||
+ | |||
+ | ===== SmartCJ doesn' | ||
+ | |||
+ | |||
+ | **Check incoming hits** | ||
+ | |||
+ | Edit common.php and add the following code | ||
+ | |||
+ | $f = fopen(' | ||
+ | fputs($f, date(' | ||
+ | fclose($f); | ||
+ | |||
+ | create file log.txt and chmod 666 it | ||
+ | |||
+ | |||
+ | As you can see the script is really easy, there' | ||
+ | |||
+ | Compare numbers from the log file with the script | ||
+ | |||
+ | |||
+ | **Check clicks** | ||
+ | |||
+ | * create log file and chmod 666 it | ||
+ | * add into common.php | ||
+ | |||
+ | < | ||
+ | |||
+ | if ($_COOKIE[' | ||
+ | $f = fopen(' | ||
+ | fputs($f, date(' | ||
+ | fclose($f); | ||
+ | } | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | where **trader.com** | ||
+ | |||
+ | |||
+ | ===== It redirects me somewhere else .. ===== | ||
+ | |||
+ | HTTP protocol (this is how browser communicates with remote server) consists of 2 parts: headers and body. Body is what you actually see in your browser, while headers hold some system information. | ||
+ | |||
+ | Script has special debug mode to see what it does. | ||
+ | |||
+ | - set Settings -Cjsettings - add debug info = yes, wait a minute | ||
+ | - Get FireFox browser and add extension (Tools-addons) Live HTTP Headers | ||
+ | - Click on any link and take a look at headers | ||
+ | |||
+ | Usually those headers are self explained , I just have to notice that something link | ||
+ | |||
+ | Location: http:// | ||
+ | |||
+ | is a redirect. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Admin area gives me an error like " ... is protected by SourceGuardian and requires the SourceGuardian loader ixed.5.2.fre .... " ===== | ||
+ | |||
+ | |||
+ | Script requires free PHP optimizer SourceGuardian. Installation: | ||
+ | Website: sourceguardian.com | ||
+ | |||
+ | |||
+ | ===== out.php doesnt work (Please, refresh page in a minute) ===== | ||
+ | |||
+ | - make sure crontab job is setup (make a look at Main tab in admin) | ||
+ | - file common.php contains a path to scj folder. If you moved script from one host to another - make sure path in that file is right. | ||
+ | |||
+ | |||