Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8114869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T03:17:07+00:00 2026-06-06T03:17:07+00:00

I have inherited a Drupal 6 site to maintain. I am new to Drupal

  • 0

I have inherited a Drupal 6 site to maintain.

I am new to Drupal so there is an element of learning as I go.

I have encountered a strange issue after attempting to set up a test site on my local machine.

All my links on my local site continue to point to the live server. So all menus, login buttons, etc. all point towards the live site.

Steps I have taken:

  • checked settings.php to ensure that $base_url is set to “http://localhost:456”
  • checked settings.php to ensure that MySQL settings are correct
  • Taken an SQL dump of the entire local database and searched for any references to live site URL
  • deleted all the local cache data from database
  • Checked various blocks to ensure that there was no hard coding of links
  • Disabled language support as that does use separate URLS for each language

I am at a total loss as to where to go from here.

I can navigate through the site locally by replacing the URL in the address bar to point to the local site, and I have even managed to change the local theme so I can see which version of the site I’m on. The fact that I could do this means that the database is set up correctly.

Totally stumped as to where to go from here. Any takers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T03:17:09+00:00Added an answer on June 6, 2026 at 3:17 am

    The problem was that in the ‘variable’ table there was an entry with the URL for default language pointing to live site. There is a ‘language’ table which holds the URLS for each language e.g. eng.example.com for english and ru.example.com for russian. I had changed the urls here to point to local server, but it seems there is also an entry in the variable table which needed to be changed.

    In case anybody runs into this problem and wants to change it, you need to change the metadata for the entry as well where S22 represents a string of 22 characters, you need to change it to the length of the string that you are entering, youll see what I mean when you look in the table!
    Also, you need to clear your cache after making any change.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I inherited a Drupal 5 site recently and have a series of enhancements to
I've inherited a Drupal 7 site from someone and have come across a really
I have inherited work from a previous employee. The issue I'm having is a
My drupal site gets very heavy and slow as new modules are loaded. Some
I have inherited a set of legacy webservices (VB.Net, IIS hosted ASMX) in which
I have inherited a site which uses a flash ui with a .net 2.0
I inherited a Drupal5 site and have been tasked with making some changes, but
I have inherited the following CSS for a site, and I can't tell if
Working an a Drupal 6 site that I inherited, and I'm having a bit
I have inherited a client site which crashes every 3 or 4 days. It

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.