Coder Social home page Coder Social logo

Fix Error 500 on some installs about uc_stripe HOT 5 CLOSED

mattbk avatar mattbk commented on August 24, 2024
Fix Error 500 on some installs

from uc_stripe.

Comments (5)

mattbk avatar mattbk commented on August 24, 2024

Set a base URL, still having the issue (subdirectory is temporary during staging):

/**
 * Base URL (optional).
 *
 * If Drupal is generating incorrect URLs on your site, which could
 * be in HTML headers (links to CSS and JS files) or visible links on pages
 * (such as in menus), uncomment the Base URL statement below (remove the
 * leading hash sign) and fill in the absolute URL to your Drupal installation.
 *
 * You might also want to force users to use a given domain.
 * See the .htaccess file for more information.
 *
 * Examples:
 *   $base_url = 'http://www.example.com';
 *   $base_url = 'http://www.example.com:8888';
 *   $base_url = 'http://www.example.com/drupal';
 *   $base_url = 'https://www.example.com:8888/drupal';
 *
 * It is not allowed to have a trailing slash; Drupal will add it
 * for you.
 */
 $base_url = 'https://dd.org/drupal';  // NO trailing slash! 

from uc_stripe.

mattbk avatar mattbk commented on August 24, 2024

It has something to do with the metadata I added. Installing from snapshot at https://github.com/mattbk/uc_stripe/tree/0e2671b975300cfbf34cac67e38f9807a13de6a1 lets me complete checkout.

from uc_stripe.

mattbk avatar mattbk commented on August 24, 2024

Also noting that it was actually .htaccess I was thinking of. Working with this setting right now.

  # Modify the RewriteBase if you are using Drupal in a subdirectory or in a
  # VirtualDocumentRoot and the rewrite rules are not working properly.
  # For example if your site is at http://example.com/drupal uncomment and
  # modify the following line:
  # RewriteBase /drupal
  #
  # If your site is running in a VirtualDocumentRoot at http://example.com/,
  # uncomment the following line:
  # RewriteBase /

from uc_stripe.

mattbk avatar mattbk commented on August 24, 2024

It's not the readme changes (I figured I would check just in case).

from uc_stripe.

mattbk avatar mattbk commented on August 24, 2024

I left some dpm() calls in from troubleshooting when I added the title and model metadata fields. I assume Drupal went looking for dpm() and couldn't find it, hence the error!

from uc_stripe.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.