dorsetdigital

There should be a module for that. To save the session data in a DB

CptPillow

Hi everyone. I am setting up a site on AWS and they dont want to allow me to set session locally. Is there a way to set my session to work on the db?

phyzical

for example as versioning come sinto play in ss4

phyzical

on the dataobject linking to the "asset" you need to add

  1. private static $has_one = array(
  2. 'ImageRelationName' => Image::class,);
  3.  
  4. private static $owns = array(
  5. 'ImageRelationName'
  6. );
phyzical

but it adress your question as andate said, on ss3 to ss4 i ran into this problem and it related to needing to add

phyzical

just as another question this isnt some weird soultion for load balancing is it?

andante

to your question, i imagine its something to do with either versioning or the hash that is created, but you’d have to get debugging, dumping out the paths it is looking for etc

andante

> I am running two parallell instances of a ss4 site with shared DB (one is production and one is development) oh dear. thats terrifying. so someone can make a change on development and it will affect prod?

Martin-cloudcreations

I am running two parallell instances of a ss4 site with shared DB (one is production and one is development) I have set it up so the Assets folder is a symlink that both directories have access to. However, files uploaded on the live site are shown as "file cannot be found".

I had a similar approach on a ss3 site where shared asset folder worked fine.

nicolaas

I could extend this ... do my own checks and then return Le Parent if there is nothing special.