Merhaba arkadaşlar,
Aldığım bir scriptte lisans için bağlı olan sitenin kapanmasından dolayı, lisans hatası alıyorum.
Sunucuya bağlanamıyor. Kodlar tamamı ile açık ama bağlanılan yerdeki dosyayı göremiyorum tabii ki. Paneldeki onay kısmındaki kodlara baktığımda şöyle bir alan mevcut.
"// Purchase license working status
$tsLog['pwork'] = array('status' => false);
if ($tsLog['pmail']['status'] && $tsLog['pcode']['status']) {
// Get charts
$auth = http_build_query(array('mail' => $config['purchase-mail'], 'code' => $config['purchase-code']));
$ping = @file_get_contents("http://sda-api.siteismi.com/license.php?{$auth}");
if (is_string($ping) && strlen($ping) > 0) {
if (stripos($ping, 'YES') !== false) {
$tsLog['pwork']['status'] = true;
} else {
$tsLog['pwork']['notes'] = array(
'Purchase license details are invalid (or) blocked. Please contact developer.'
);
}
} else {
$tsLog['pwork']['notes'] = array('Failed to connect license server');
}
} else {
$tsLog['pwork']['notes'] = array(
'Invalid purchase details. Please follow above steps'
);
}"
Burada yapacağım bir işlemle düzeltme şansım var mıdır? Veya başka bir şekilde bu sorunu çözebilir miyim?
Ücret dahilinde de olsa çözebilecek arkadaşlar yardımcı olursa sevinirim.
İyi çalışmalar.
Lisans sunucusuna bağlanamama sorunu
4
●424
- 08-07-2016, 13:07:29En basit ve kalıcı yöntem: Please contact developer.shape adlı üyeden alıntı: mesajı görüntüle
- 08-07-2016, 13:25:39Fonksiyonlarda bu trure false değerini çeken başka sayfalar varsa işi yine bozabilir.Rooxy adlı üyeden alıntı: mesajı görüntüle
- 09-07-2016, 01:16:40Kimlik doğrulama veya yönetimden onay bekliyor.Yukarıda iletmiş olduğun kod kümesini aşağıdaki ile değiştirmen yeterli olacaktır.shape adlı üyeden alıntı: mesajı görüntüle
/* // Purchase license working status $tsLog['pwork'] = array('status' => false); if($tsLog['pmail']['status'] && $tsLog['pcode']['status']){ // Get charts $auth = http_build_query(array('mail' => $config['purchase-mail'], 'code' => $config['purchase-code'])); $ping = @file_get_contents("http://sda-api.siteismi.com/license.php?{$auth}"); if(is_string($ping) && strlen($ping)>0){ if(stripos($ping, 'YES') !== false) { $tsLog['pwork']['status'] = true; }else { $tsLog['pwork']['notes'] = array( 'Purchase license details are invalid (or) blocked. Please contact developer.' ); } }else{ $tsLog['pwork']['notes'] = array('Failed to connect license server'); } }else{ $tsLog['pwork']['notes'] = array( 'Invalid purchase details. Please follow above steps' ); } */ $tsLog['pmail']['status'] = $tsLog['pcode']['status'] = $tsLog['pwork']['status'] = true;