Error! Unable to determine the page link!
Maar kijgt daarnaast de volgende melding:
Error! Unable to determine the page link!
waardoor een aantal gedeeltes wegvallen op mijn pagina.
Waar zit de fout?
Code (php)
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=">
<title></title>
<base href="
Code (php)
1
<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<!-- header_eof //-->
<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
<tr>
<td width="" valign="top"><table border="0" width="" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->
<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading"></td>
<td class="pageHeading" align="right">
Code (php)
1
<?php echo tep_image(DIR_WS_IMAGES . 'table_background_specials.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>
</tr>
</table></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
Code (php)
1
2
3
4
5
6
7
2
3
4
5
6
7
<?php
if (($HTTP_GET_VARS['pass'] != '') && ($HTTP_GET_VARS['cuid'] != '')){
$select = tep_db_query("SELECT * from " . TABLE_CUSTOMERS . " where customers_id = " . (int)$HTTP_GET_VARS['cuid'] . "");
$start = tep_db_fetch_array($select);
if ($start['customers_validation_code'] == $HTTP_GET_VARS['pass']) {
if ($start['customers_validation'] == '1'){
?>
if (($HTTP_GET_VARS['pass'] != '') && ($HTTP_GET_VARS['cuid'] != '')){
$select = tep_db_query("SELECT * from " . TABLE_CUSTOMERS . " where customers_id = " . (int)$HTTP_GET_VARS['cuid'] . "");
$start = tep_db_fetch_array($select);
if ($start['customers_validation_code'] == $HTTP_GET_VARS['pass']) {
if ($start['customers_validation'] == '1'){
?>
<td class="main">
</td>
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
}else{
tep_db_query("update " . TABLE_CUSTOMERS . " set customers_validation = '1', customers_email_registered = '" . $start['customers_email_address'] . "' where customers_id = '" . (int)$HTTP_GET_VARS['cuid'] . "'");
if (LOGIN_AFTER_VALIDATE == 'true'){
$customer_id = $start['customers_id'];
$customer_default_address_id = $start['customers_default_address_id'];
$customer_first_name = $start['customers_firstname'];
$customer_country_id = $start['entry_country_id'];
$customer_zone_id = $start['entry_zone_id'];
tep_session_register('customer_id');
tep_session_register('customer_default_address_id');
tep_session_register('customer_first_name');
tep_session_register('customer_country_id');
tep_session_register('customer_zone_id');
tep_db_query("update " . TABLE_CUSTOMERS_INFO . " set customers_info_date_of_last_logon = now(), customers_info_number_of_logons = customers_info_number_of_logons+1 where customers_info_id = '" . (int)$customer_id . "'");
$cart->restore_contents();
if (isset($HTTP_GET_VARS['woher'])):
$FILENAME_DEFAULT = tep_db_prepare_input($HTTP_GET_VARS['woher'] . '.php');
else:
$FILENAME_DEFAULT = FILENAME_DEFAULT;
endif;
}
?>
}else{
tep_db_query("update " . TABLE_CUSTOMERS . " set customers_validation = '1', customers_email_registered = '" . $start['customers_email_address'] . "' where customers_id = '" . (int)$HTTP_GET_VARS['cuid'] . "'");
if (LOGIN_AFTER_VALIDATE == 'true'){
$customer_id = $start['customers_id'];
$customer_default_address_id = $start['customers_default_address_id'];
$customer_first_name = $start['customers_firstname'];
$customer_country_id = $start['entry_country_id'];
$customer_zone_id = $start['entry_zone_id'];
tep_session_register('customer_id');
tep_session_register('customer_default_address_id');
tep_session_register('customer_first_name');
tep_session_register('customer_country_id');
tep_session_register('customer_zone_id');
tep_db_query("update " . TABLE_CUSTOMERS_INFO . " set customers_info_date_of_last_logon = now(), customers_info_number_of_logons = customers_info_number_of_logons+1 where customers_info_id = '" . (int)$customer_id . "'");
$cart->restore_contents();
if (isset($HTTP_GET_VARS['woher'])):
$FILENAME_DEFAULT = tep_db_prepare_input($HTTP_GET_VARS['woher'] . '.php');
else:
$FILENAME_DEFAULT = FILENAME_DEFAULT;
endif;
}
?>
<td class="main">
</td>
</tr>
<tr>
<td>
<td class="main">
Code (php)
1
2
3
4
2
3
4
<?php
$FILENAME_DEFAULT = FILENAME_DEFAULT;
echo TEXT_ACCOUNT_CREATED_FAIL . '<br>';
?>
$FILENAME_DEFAULT = FILENAME_DEFAULT;
echo TEXT_ACCOUNT_CREATED_FAIL . '<br>';
?>
</td>
</tr>
<tr>
<td>
<td class="main">
Code (php)
1
2
3
4
2
3
4
<?php
$FILENAME_DEFAULT = FILENAME_DEFAULT;
echo TEXT_ACCOUNT_CREATED_FAIL2 . '<br>';
?>
$FILENAME_DEFAULT = FILENAME_DEFAULT;
echo TEXT_ACCOUNT_CREATED_FAIL2 . '<br>';
?>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td width="10"></td>
<td align="right">
Code (php)
1
<?php echo '<a href="' . tep_href_link($FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?>
<td width="10"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</tr>
</table></td>
</tr>
</table></td>
<!-- body_text_eof //-->
<td width="" valign="top"><table border="0" width="" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<!-- right_navigation_eof //-->
</table></td>
</tr>
</table>
<!-- body_eof //-->
<!-- footer //-->
<!-- footer_eof //-->
<br>
</body>
</html>
veel te veel code, gebruik ook