After a bit of trial and error, and assistance from Dan, I have completed installation of Atom 2.7 on Ubuntu 22.04.
NGINX is now serving it to the web, but I'm getting a 500 server error. Have followed the troubleshooting and debugging pages, and set the error messages to displaying on the web. I append the stack trace below.
I imagine that either 1) I may be missing something straightforward or 2) this may be another result of Ubuntu 22.04 running PHP8.1 as standard and hence that I've had to install the (deprecated) PHP7.4
Anyone have any ideas?
Thanks
James
stack trace- at ()
in SF_ROOT_DIR/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/Propel.php line 529 ...
- // load connection parameter for master connection
- $conparams = isset(self::$configuration['datasources'][$name]['connection']) ? self::$configuration['datasources'][$name]['connection'] : null;
- if (empty($conparams)) {
- throw new PropelException('No connection information in your runtime configuration file for datasource ['.$name.']');
- }
- // initialize master connection
- $con = Propel::initConnection($conparams, $name);
- at Propel::getConnection()
in SF_ROOT_DIR/lib/model/om/BaseObject.php line 64 ...
- {
- if (!isset($options['connection']))
- {
- $options['connection'] = Propel::getConnection(QubitObject::DATABASE_NAME);
- }
- self::addSelectColumns($criteria);
- at BaseObject::get()
in SF_ROOT_DIR/lib/routing/QubitResourceRoute.class.php line 28 ...
- $criteria->add(QubitSlug::SLUG, $params['slug']);
- $criteria->addJoin(QubitSlug::OBJECT_ID, QubitObject::ID);
- $this->resource = QubitObject::get($criteria)->__get(0);
- if (false == @$params['throw404'] && !isset($this->resource)) {
- throw new sfError404Exception();
- }
- at QubitResourceRoute->bind()
in SF_ROOT_DIR/vendor/symfony/lib/routing/sfPatternRouting.class.php line 372 ...
- $this->ensureDefaultParametersAreSet();
- $route->bind($this->options['context'], $info['parameters']);
- $info['parameters']['_sf_route'] = $route;
- return $info['parameters'];
- at sfPatternRouting->parse()
in SF_ROOT_DIR/lib/QubitPatternRouting.class.php line 36 ...
- public function parse($url)
- {
- try {
- return parent::parse($url);
- } catch (sfError404Exception $e) {
- return false;
- } catch (PropelException $e) {
- at QubitPatternRouting->parse()
in SF_ROOT_DIR/cache/qubit/prod/config/config_factories.yml.php line 96 ...
- 'extra_parameters_as_query_string' => true,
- 'cache' => NULL,
- ))));
- if ($parameters = $this->factories['routing']->parse($this->factories['request']->getPathInfo()))
- {
- $this->factories['request']->addRequestParameters($parameters);
- }
- at require('/usr/share/nginx/atom/cache/qubit/prod/config/config_factories.yml.php')
in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 155 ...
- }
- // include the factories configuration
- require($this->configuration->getConfigCache()->checkConfig('config/factories.yml'));
- $this->dispatcher->notify(new sfEvent($this, 'context.load_factories'));
- at sfContext->loadFactories()
in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 77 ...
- try
- {
- $this->loadFactories();
- }
- catch (sfException $e)
- {
- at sfContext->initialize()
in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 60 ...
- throw new sfFactoryException(sprintf('Class "%s" is not of the type sfContext.', $class));
- }
- self::$instances[$name]->initialize($configuration);
- return self::$instances[$name];
- }
- at sfContext::createInstance()
in SF_ROOT_DIR/index.php line 6 ...
- require_once dirname(__FILE__).'/config/ProjectConfiguration.class.php';
- $configuration = ProjectConfiguration::getApplicationConfiguration('qubit', 'prod', true);
- sfContext::createInstance($configuration)->dispatch();
-