PDA

View Full Version : Problem after Installation


Andre
15th September 2008, 06:23 PM
I have installed cjadmin on my Webpage but it doesnt work.

I included the in.php in my index.php (http://www.xxx-girlfriends.org) and made an new trade with Livemovs.com. I became in Traffic but in the cjadmin panel I dont see any in traffic.

And I dont make out Traffic to lievemovs.com ?

What ist wrong ?

Sorry for my bald english. Im from Germany

ICEFIRE
15th September 2008, 10:41 PM
First of all, make sure you have added your site using the Add site option in the admin.

Then refresh and click on your site link. That will open the trades list for your site.
Add Trade --> http://www.some-trade.com

Then the script will be counting stuff correctly.

Andre
15th September 2008, 11:06 PM
Thank you, I only added a site (NOT MY OWN) and didnt add trade.

Now I add Trade but when I click on a picture on xxx-girlfriends.org only the link to the picture or adultfriendfinder.com is opening ... ?

And Im not sure if the in.php is include right ? It comes no error but i dont know if the cms is filtering the include code. Can I include the in.php with a frame ?

ICEFIRE
16th September 2008, 12:38 AM
the in.php cannot be included with a frame.
you must edit your index.php with a text editor and place on the first line (before everything else:
<?php include("in.php"); ?>

You should add http://www.xxx-girlfriends.org with Add Site first.
CjOverkill needs your site to be added before counting traffic to it. Then add trades into your own site :)

To fix the friend finder redirect you should change your site alternative out url (site edit options). Just make sure you don't put your own site as alternative out because that would create a loop. People usually put their sponsor url there.

Andre
16th September 2008, 05:19 PM
Thank you

i included the in.php file with <?php include("in.php"); ?> but i use the Underground CMS 1.8 Script and im not sure if the script include the in.php right into the site when i include the in.php into the index.php. How can i test it ?

My stats ? http://www.xxx-girlfriends.org/stats.jpg

ICEFIRE
16th September 2008, 05:28 PM
You can test that by using the ?tid=123 option
There is an accurate link tracking that disregards referrer and forces the script to count ins into a given trade.

For example: http://www.xxx-girlfriends.org/?tid=26
That should count instantly one in into your ICEFIRE trade. If that's the case, then it's working correctly

Andre
16th September 2008, 06:25 PM
hmm nothing happened. That is the reason why the script isnt running right.

hmm I dont know where I can include the in.php too :(

index.php:

<?php

include('in.php');

// ----------------------------------------------------------------------------------------------------
// - INI
// ----------------------------------------------------------------------------------------------------
$_INI = @parse_ini_file('admin/config/config.ini', TRUE);

// ----------------------------------------------------------------------------------------------------
// - Include
// ----------------------------------------------------------------------------------------------------
include('php/index.inc.php');

// ----------------------------------------------------------------------------------------------------
// - Log
// ----------------------------------------------------------------------------------------------------
if(PAGE_LOG_ENABLED == TRUE)
{
WriteLog();
};

// ----------------------------------------------------------------------------------------------------
// - MicroTime
// ----------------------------------------------------------------------------------------------------
$microtime = GetMicroTime();

// ----------------------------------------------------------------------------------------------------
// - Session
// ----------------------------------------------------------------------------------------------------
if(isset($_COOKIE[@session_name()]) == TRUE)
{
@ini_set('url_rewriter.tags', '');
@ini_set('session.use_cookies', 1);
@ini_set('session.use_only_cookies', 1);

@session_set_cookie_params(0, PAGE_ROOT_FOLDER . '/');

@session_start();
};

// ----------------------------------------------------------------------------------------------------
// - USER NOBODY
// ----------------------------------------------------------------------------------------------------
if(@is_array($_SESSION) == FALSE)
{
$_SESSION = Array();
};

if(@is_array($_SESSION['user']) == FALSE)
{
$_SESSION['user'] = Array(
'id' => PAGE_USER_ID_NOBODY,
'group_id' => PAGE_USERGROUP_ID_NOBODY,
'permissions' => PAGE_USER_AREA_NOBODY_PERMISSIONS
);
};

// ----------------------------------------------------------------------------------------------------
// - SQL Connect
// ----------------------------------------------------------------------------------------------------
$conn = NULL;

// ----------------------------------------------------------------------------------------------------
// - Referer Plugin
// ----------------------------------------------------------------------------------------------------
if(isset($_SERVER['HTTP_REFERER']) == TRUE) // ((isset($_GET['in']) == FALSE) && (isset($_SERVER['HTTP_REFERER']) == TRUE))
{
if(PAGE_PARTNER_REFERER_PLUGIN_PATH)
{
if(@file_exists(PAGE_DOCUMENT_ROOT . PAGE_PARTNER_REFERER_PLUGIN_PATH))
{
@include(PAGE_DOCUMENT_ROOT . PAGE_PARTNER_REFERER_PLUGIN_PATH);
};
};
};

// ----------------------------------------------------------------------------------------------------
// - IN / OUT Plugin
// ----------------------------------------------------------------------------------------------------
if(isset($_GET['in']) == TRUE)
{
if(PAGE_PARTNER_IN_PLUGIN_PATH)
{
if(@file_exists(PAGE_DOCUMENT_ROOT . PAGE_PARTNER_IN_PLUGIN_PATH))
{
@include(PAGE_DOCUMENT_ROOT . PAGE_PARTNER_IN_PLUGIN_PATH);
};
};
}
else if(isset($_GET['out']) == TRUE)
{
if(PAGE_PARTNER_OUT_PLUGIN_PATH)
{
if(@file_exists(PAGE_DOCUMENT_ROOT . PAGE_PARTNER_OUT_PLUGIN_PATH))
{
@include(PAGE_DOCUMENT_ROOT . PAGE_PARTNER_OUT_PLUGIN_PATH);
};
};
};

// ----------------------------------------------------------------------------------------------------
// - Cache
// ----------------------------------------------------------------------------------------------------
/* if(($_SERVER['REQUEST_METHOD'] == 'GET') && (isset($_GET['in']) == FALSE) && (isset($_GET['out']) == FALSE))
{
if(PAGE_CACHE_TIMEOUT_BROWSER > 0)
{
$time = @time();
$last_modified = (@floor($time / PAGE_CACHE_TIMEOUT_BROWSER) * PAGE_CACHE_TIMEOUT_BROWSER);
$expires = (@ceil($time / PAGE_CACHE_TIMEOUT_BROWSER) * PAGE_CACHE_TIMEOUT_BROWSER);

@header('Date: ' . @gmdate('D, d M Y H:i:s \G\M\T', $time));
@header('Last-Modified: ' . @gmdate('D, d M Y H:i:s \G\M\T', $last_modified));
@header('Expires: ' . @gmdate('D, d M Y H:i:s \G\M\T', $expires));
};

if(($_SERVER['HTTP_ACCEPT_ENCODING'] != '') && (PAGE_COMPRESSION_LEVEL >= 0) && (PAGE_COMPRESSION_LEVEL <= 9))
{
if(@preg_match('/gzip/', $_SERVER['HTTP_ACCEPT_ENCODING']))
{
if($output = Cache_Output_OpenFile(@md5($_SERVER['REQUEST_URI']), 'gzip'))
{
@header('Content-Encoding: gzip');
@header('Content-Length: ' . @strlen($output));

echo $output;

exit;
};
}
else if(@preg_match('/deflate/', $_SERVER['HTTP_ACCEPT_ENCODING']))
{
if($output = Cache_Output_OpenFile(@md5($_SERVER['REQUEST_URI']), 'deflate'))
{
@header('Content-Encoding: deflate');
@header('Content-Length: ' . @strlen($output));

echo $output;

exit;
};
}
else
{
if($output = Cache_Output_OpenFile(@md5($_SERVER['REQUEST_URI']), 'html'))
{
@header('Content-Length: ' . @strlen($output));

echo $output;

exit;
};
};
}
else
{
if($output = Cache_Output_OpenFile(@md5($_SERVER['REQUEST_URI']), 'html'))
{
@header('Content-Length: ' . @strlen($output));

echo $output;

exit;
};
};
}; */

// ----------------------------------------------------------------------------------------------------
// - Main
// ----------------------------------------------------------------------------------------------------
$_GET['start'] = @max(@intval($_GET['start']), 1);


if(isset($_GET['q']) == TRUE)
{
include(PAGE_DOCUMENT_ROOT . '/php/modules/entries/search.main.inc.php');
}
else if(isset($_GET['err']) == TRUE)
{
include(PAGE_DOCUMENT_ROOT . '/php/modules/error/error.main.inc.php');
}
else if(isset($_GET['enter']) == TRUE)
{
include(PAGE_DOCUMENT_ROOT . '/php/modules/enter/enter.main.inc.php');
}
else if(isset($_GET['p']) == TRUE)
{
include(PAGE_DOCUMENT_ROOT . '/php/modules/sites/sites.main.inc.php');
}
else if(isset($_GET['cat']) == TRUE)
{
include(PAGE_DOCUMENT_ROOT . '/php/modules/entries/categories.main.inc.php');
}
else if(isset($_GET['id']) == TRUE)
{
include(PAGE_DOCUMENT_ROOT . '/php/modules/entries/item.main.inc.php');
}
else
{
if(PAGE_USE_TOPFRAME == TRUE)
{
include(PAGE_DOCUMENT_ROOT . '/php/modules/frame/frame.main.inc.php');
}
else
{
if(PAGE_USE_ENTERPAGE == TRUE)
{
include(PAGE_DOCUMENT_ROOT . '/php/modules/enter/enter.main.inc.php');
}
else
{
@header('Location: ' . PAGE_ROOT_FOLDER . PAGE_START_URL);
};
};
};

?>

ICEFIRE
16th September 2008, 09:27 PM
Is the in.php into the same directory as the index.php? if not, then move the CjOverkill files to the same directory as the index.php