Skip to Content.
Sympa Menu

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

lyceum-users AT lists.ibiblio.org

Subject: Lyceum-users mailing list

List archive

Chronological Thread  
  • From: John Joseph Bachir <jjb AT ibiblio.org>
  • To: Jeff Noble <quackup AT sbcglobal.net>
  • Cc: lyceum-users AT lists.ibiblio.org
  • Subject: Re: [Lyceum-users] help with login...
  • Date: Mon, 11 Dec 2006 00:38:03 -0500 (EST)

hi jeff. sorry to hear about your troubles, sorry it's taken a while to get back.

1- which version of lyceum are you running? i recommend using svn to run off of the .34 branch, of you know how to do that

2- which version of php are you running?

I'm sorry to say it seems like it's some sort of server configuration issue. who is your host? have you asked them for help? i realize some hosts don't care but it's worth a shot.

let us know how it goes.

jjb

On Fri, 8 Dec 2006, Jeff Noble wrote:

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";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<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')) : ?>


--
John
----
aim/yim/msn/jabber.org: johnjosephbachir
713.494.2704
irc://irc.freenode.net/lyceum
http://lyceum.ibiblio.org/
http://blog.johnjosephbachir.org/




Archive powered by MHonArc 2.6.24.

Top of Page