Download Drupal 7 to install on localhost return error

Created on 23 April 2024, 8 months ago

after downloading drupal 7.1 from the drupal site I keep getting this error:

Fatal error: Uncaught Error: Call to undefined function _system_rebuild_theme_data() in C:\xampp\htdocs\barker\includes\theme.inc:798 Stack trace: #0 C:\xampp\htdocs\barker\includes\theme.maintenance.inc(57): list_themes() #1 C:\xampp\htdocs\barker\includes\bootstrap.inc(2965): _drupal_maintenance_theme() #2 C:\xampp\htdocs\barker\includes\errors.inc(177): drupal_maintenance_theme() #3 C:\xampp\htdocs\barker\includes\bootstrap.inc(2690): _drupal_log_error(Array, true) #4 [internal function]: _drupal_exception_handler(Object(Error)) #5 {main} thrown in C:\xampp\htdocs\barker\includes\theme.inc on line 798

I have not tampered with the folder or changed anything but the folders name to barker. Could you please show me how to fix this issue? Please and thanks.

🐛 Bug report
Status

Closed: cannot reproduce

Version

7.0 ⚰️

Component
Entity 

Last updated about 17 hours ago

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @beau7
  • Function _system_rebuild_theme_data exists in Drupal 7.100. I cannot reproduce this on https://simplytest.me or on DDEV by downloading a compressed archive so I think you may have a platform setup issue on your end with the xampp setup. Is xampp configured for Drupal?

    What is the relation of this issue to 🐛 Fatal error when trying to use File browser RTBC except they are fatal errors?

  • thank for the reply. I found the issue. I didnt extract the file at first. I just copied and pass. The file was corrupt. It is working fine now.

    Is it possible for you to answer this question though:

    I have backed up the database using the backup and migrate module from the drupal 7 live site. I have downloaded drupal 10 to install it on the local site. I have downloaded the public_html file from the drupal 7 remote site to add to the new site.

    I just want to know where exactly am i to put the public_html file? Anywhere in the htdocs or somewhere in the new installed drupal 7 file? Please let me know. I am new to drupal. Also I do not see any default.settings.php document in the xammp/htdocs/public_html/site/default area. There was only settings.php. What is the work around this?

    THe site is drupal 7 and I want to update it to drupal 10 on the localhost before i upload it on the remote host. Please to help and thanks.

    This was the recommended instructions I am trying to follow but no response from the instructor is given as yet:
    To move sites between servers, I do the following:

    1) install the backup and migrate module
    2) backup the database using this module
    3) copy all files from the whole site to the new server (in this case your local machine)
    4) delete settings.php from the files on the new server
    5) copy default.settings.php, and rename the copied file to settings.php
    6) access the new site, and install it as if it were a fresh Drupal install
    6B) You can use whatever site name and account names (etc.) you want when installing
    7) After installation, enable the backup and migrate module
    8) use this module to reinstall the database backup you took on the original server

    This works every time for me, and takes care of any file paths etc with no errors.

  • Status changed to Closed: cannot reproduce 8 months ago
  • Follow the instructions on Drupal.org to migrate from 7 to 10. As a bug report, this is resolved.

Production build 0.71.5 2024