Hey guys. My logins are pointing to the clean versions of the URLs and my webserver can't handle them atm. anyone know a way i can switch it over to unclean?

Comments

drupalnubstar’s picture

p.s unclean is already selected as i cant check clean

cog.rusty’s picture

Go to http://example.com/?q=user to login (if you aren't already logged in).
Then go to http://example.com/?q=admin/settings/clean-urls and disable them.

zbricoleur’s picture

If the non-clean URLs are already selected and the site is still creating clean-URL links, look in your settings.php file for a line like this:

$conf['clean_url'] = 1;

If you find a line like that, it's overriding the setting in the database. Comment it out or delete it. It would not be there by default, though. If it's there, either you or someone else must have added it to the settings file at some point in the past.

drupalnubstar’s picture

both are really good ideas but clean urls are already disabled. if i turn them on in the settings.php file i can't access the menu at all but it's just the login / register / logout that is up the very top of my page that is displaying the clean link to the log in page. think it would be hard coded into the theme?

drupalnubstar’s picture

this is what i found in my template. its the dark elegance theme from this site. is there anything wrong with the non logged in version? i need it to be an unclean link

<ul class="toplinks">
    <?php  if($user->uid){ ?>
    <li>Logged in as: <?php print l($user->name,'user/'.$user->uid); ?></li>
    <li><?php print l("logout","logout"); ?></li>
    <?php } else{ ?>
    <li><a href='<?php print base_path(); ?>user'>Login</a></li>
    <li><a href='<?php print base_path(); ?>user/register'>Register</a></li>
    <?php } ?>
  </ul>
drupalnubstar’s picture

fixed by changing the code to the right address. thanks for your help guys.

mr.baileys’s picture

Looks like a bug in the theme. If you want you can open a bug report via http://drupal.org/project/issues/darkelegance.