Hi
i have a site made with drupal garden and i want to export it to my host to use my domain name
any help please will be much appreciated

Dani AI

Generated

Short summary tied to the thread: exported a site from Drupal Gardens, uploaded the code via FTP and imported the database with phpMyAdmin; asked whether the site started locally. The single generic front-end error means Drupal hit a PHP/DB/bootstrapping failure — the real error must be exposed before applying fixes.

Immediate, prioritized checklist to diagnose and fix the migration

  • Check the webserver/PHP error log first (most hosts show this in the control panel). That log usually gives the exact fatal error (missing module, parse error, wrong PHP extension).
  • Temporarily enable PHP errors to see the message in the browser by adding these lines to the top of settings.php (remove afterwards):
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
  • Verify sites/default/settings.php has the correct database name/user/password and that any table prefix in the file matches the imported DB.
  • Confirm the full codebase was uploaded (Drupal core, contributed/custom modules in sites/all/modules, themes, and the .htaccess file). Missing modules or core files cause immediate fatal errors.
  • Ensure sites/default/files was copied and has correct ownership/permissions (webserver write access). Also set settings.php to safe permissions after testing.
  • If phpMyAdmin timed out on import, the DB may be incomplete — reimport via the host CLI, BigDump, or split the dump.
  • Run update.php and clear caches (or truncate cache_* tables) after the import.

Common culprits: incomplete DB import, wrong DB credentials or prefix, missing modules/themes, incompatible PHP version/extensions, or incorrect file permissions. The exact PHP error text or the server error log will point to which one.

Recommended Answers

All 4 Replies

You mean you created it locally on your machine, and now want to upload it to your host?

Hi
now i created in drupal garden host..for the moment it is hosted by drupal garden and i exported my site to my desktop and now when i imported it to my host server it is not working..

it is not working

What's not working? Do you get errors while importing?

i sent the imported site to my server via ftp ,then i use phpmyadmin of the host to import mysql database
and when i run the site i have this error
The website encountered an unexpected error. Please try again later.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.