Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. LAMP
  3. Migrating Drupal 7 to Cloudron Lamp 7.4

Migrating Drupal 7 to Cloudron Lamp 7.4

Scheduled Pinned Locked Moved Solved LAMP
4 Posts 2 Posters 798 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ShaiS Offline
      ShaiS Offline
      Shai
      wrote on last edited by
      #1

      I'm having trouble with a Drupal 7 (latest 7.80) migration from cPanel to Cloudron.

      I think I've got the db connection settings right using the environment variables as outlined in the docs.

      When I succeeded with the env variables the error changed from a db error to a 500 error.

      "drush status" now returns:

      Call to undefined function cache_get() in /app/data/public/includes/module.inc:762
      

      In settings.php I've done this to deal with the proxy.

      $conf['reverse_proxy'] = TRUE;
      
      /**
       * Specify every reverse proxy IP address in your environment.
       * This setting is required if $conf['reverse_proxy'] is TRUE.
       */
       $proxyip = getenv("CLOUDRON_PROXY_IP");
       $conf['reverse_proxy_addresses'] = array($proxyip);
      
      

      I'm sure it's some config in settings.php or .htaccess or some php mod that isn't already installed. I'm just blanking out on the next troubleshooting step to take.

      Thanks.

      girishG 1 Reply Last reply
      0
      • ShaiS Shai

        I'm having trouble with a Drupal 7 (latest 7.80) migration from cPanel to Cloudron.

        I think I've got the db connection settings right using the environment variables as outlined in the docs.

        When I succeeded with the env variables the error changed from a db error to a 500 error.

        "drush status" now returns:

        Call to undefined function cache_get() in /app/data/public/includes/module.inc:762
        

        In settings.php I've done this to deal with the proxy.

        $conf['reverse_proxy'] = TRUE;
        
        /**
         * Specify every reverse proxy IP address in your environment.
         * This setting is required if $conf['reverse_proxy'] is TRUE.
         */
         $proxyip = getenv("CLOUDRON_PROXY_IP");
         $conf['reverse_proxy_addresses'] = array($proxyip);
        
        

        I'm sure it's some config in settings.php or .htaccess or some php mod that isn't already installed. I'm just blanking out on the next troubleshooting step to take.

        Thanks.

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @shai said in Migrating Drupal 7 to Cloudron Lamp 7.4:

        Call to undefined function cache_get() in /app/data/public/includes/module.inc:762

        I assume line 762 of the above file has cache_get() ?

        But a random web search led me to https://www.drupal.org/forum/support/post-installation/2016-06-23/fatal-error-call-to-undefined-function-cache_get where someone suggests that "I had this issue in drush command line, when there was an error parsing the settings.php file (forgot to close a comment /* */)" . So can you check if there is some syntax error in settings.php ?

        ShaiS 2 Replies Last reply
        1
        • girishG girish

          @shai said in Migrating Drupal 7 to Cloudron Lamp 7.4:

          Call to undefined function cache_get() in /app/data/public/includes/module.inc:762

          I assume line 762 of the above file has cache_get() ?

          But a random web search led me to https://www.drupal.org/forum/support/post-installation/2016-06-23/fatal-error-call-to-undefined-function-cache_get where someone suggests that "I had this issue in drush command line, when there was an error parsing the settings.php file (forgot to close a comment /* */)" . So can you check if there is some syntax error in settings.php ?

          ShaiS Offline
          ShaiS Offline
          Shai
          wrote on last edited by
          #3
          This post is deleted!
          1 Reply Last reply
          0
          • girishG girish

            @shai said in Migrating Drupal 7 to Cloudron Lamp 7.4:

            Call to undefined function cache_get() in /app/data/public/includes/module.inc:762

            I assume line 762 of the above file has cache_get() ?

            But a random web search led me to https://www.drupal.org/forum/support/post-installation/2016-06-23/fatal-error-call-to-undefined-function-cache_get where someone suggests that "I had this issue in drush command line, when there was an error parsing the settings.php file (forgot to close a comment /* */)" . So can you check if there is some syntax error in settings.php ?

            ShaiS Offline
            ShaiS Offline
            Shai
            wrote on last edited by
            #4

            @girish

            But a random web search

            +1 for random web searches!

            led me to where someone suggests that "I had this issue in drush command line, when there was an error parsing the settings.php file

            That was it! A missing comma in the databases array. Thanks so much!

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search