Skip to Content.
Sympa Menu

lyceum-users - [Lyceum-users] help with login...

lyceum-users AT lists.ibiblio.org

Subject: Lyceum-users mailing list

List archive

Chronological Thread  
  • From: Jeff Noble <quackup AT sbcglobal.net>
  • To: lyceum-users AT lists.ibiblio.org
  • Subject: [Lyceum-users] help with login...
  • Date: Fri, 8 Dec 2006 15:53:29 -0600

I'm still having this problem and am now have the time to try to solve it...

Here's the error I get when I click on the "Login" link after receiving my password...

Parse error: syntax error, unexpected $end in /home/duckster/public_html/lyceum/src/lyceum/wp-login.php on line 88

I've been over this back and forward with a fine tooth comb... Can't find any errors.

Jeff

Here's the wp-login.php file:

<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?>
<?php
$blog='NULL';
$blogdata='NULL';
$optiondomain='system';
require('private.php');
require(CONFIGPATH . 'wp-config.php');

$action = "$_REQUEST['action'];
$error = '';

nocache_headers();
{
if ( defined('RELOCATE') ) { // Move flag is set
if ( isset( $_SERVER['PATH_INFO'] ) && ($_SERVER['PATH_INFO'] != $_SERVER['PHP_SELF']) )
$_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] );

$schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://';
if ( dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_settings('siteurl') )
update_option('siteurl', dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );
}

switch($action) {

case 'logout':

wp_clearcookie();
// if (isset($_COOKIE[session_name()]))
/* setcookie(session_name(), '', time()-42000, '/');
session_destroy();*/
do_action('wp_logout');
nocache_headers();

$redirect_to = 'login';
if ( isset($_REQUEST['redirect_to']) )
$redirect_to = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $_REQUEST['redirect_to']);
wp_redirect($redirect_to);
exit();

break;

case 'lostpassword':
do_action('lost_password');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<title>Lyceum blog &raquo; <?php _e('Lost Password') ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="<?php echo WEBROOT ?>/wp-admin/wp-admin.css" type="text/css" />
<script type="text/_javascript_">
function focusit() {
// focus on first input field
document.getElementById('user_login').focus();
}
window._onload_ = focusit;
</script>
<style type="text/css">
#user_login, #email, #submit {
font-size: 1.7em;
}
</style>
</head>
<body><div id="login">
<h1><a href="http://lyceum.ibiblio.org/">Lyceum</a></h1>
<p><?php _e('Please enter your information here. We will send you a new password.') ?></p>
<?php
if ($error)
echo "<div id='login_error'>$error</div>";
?>

<form name="lostpass" action="<?php echo WEBROOT ?>/login" method="post" id="lostpass">
<p>
<input type="hidden" name="action" value="retrievepassword" />
<label><?php _e('Username:') ?><br />
<input type="text" name="user_login" id="user_login" value="" size="20" tabindex="1" /></label></p>
<p><label><?php _e('E-mail:') ?><br />
<input type="text" name="email" id="email" value="" size="25" tabindex="2" /></label><br />
</p>
<p class="submit"><input type="submit" name="submit" id="submit" value="<?php _e('Retrieve Password'); ?> &raquo;" tabindex="3" /></p>
</form>
<ul>
<li><a href="<?php echo URL; ?>/" title="<?php _e('Are you lost?') ?>">&laquo; <?php _e('Back to front page') ?></a></li>
<?php if (get_settings('users_can_register')) : ?>




Archive powered by MHonArc 2.6.24.

Top of Page