Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: Update from 1.9 to 2.0

Update from 1.9 to 2.0 1 Jahr 1 Monat her #93314

  • Ben_V
  • Ben_Vs Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 933
  • Dank erhalten: 193
  • Karma: 62
Hello,
...may you have your solution here
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Update from 1.9 to 2.0 1 Jahr 1 Monat her #93317

  • DezB
  • DezBs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 15
  • Karma: 0
Hi Ben V

You Genius, thank you so much

All sorted, loaded, running and even updated.

Many thanks again as I can breathe again now.

DezB :woohoo:
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Update from 1.9 to 2.0 1 Jahr 1 Monat her #93319

  • Ben_V
  • Ben_Vs Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 933
  • Dank erhalten: 193
  • Karma: 62
You're welcome!
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Update from 1.9 to 2.0 1 Jahr 1 Monat her #93694

  • DezB
  • DezBs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 15
  • Karma: 0
Hi folks

I've now sorted this and will post the method shortly for anyone else that uses 1and1 servers.

Many thanks to all those who helped by the way...

Cheers

DezB
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Update from 1.9 to 2.0 1 Jahr 1 Monat her #93702

  • DezB
  • DezBs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 15
  • Karma: 0
Hi Folks

With many thanks to Ben_V, the answer was:

Install Error

I was having the same issue and after an hour of hacking around in the code I have found what you need to do.

Open application/controllers/InstallerController.php and around line 1106 in the _getDsn function you will find this:

$dsn = "mysql:host={$sDatabaseLocation};port={$sDatabasePort};dbname={$sDatabaseName};"


Change to this

$dsn = "mysql:unix_socket={$sDatabaseLocation};port={$sDatabasePort};dbname={$sDatabaseName};";


And the install will run as normal but in the host box instead of localhost put /tmp/mysql5.sock

Works a treat..

DezB
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Update from 1.9 to 2.0 1 Jahr 1 Monat her #93707

  • DenisChenu
  • DenisChenus Avatar
  • ONLINE
  • Moderator Lime
  • Beiträge: 5856
  • Dank erhalten: 716
  • Karma: 222
Hello,

Can you tell us what did you have in application/config/config.php after the installation.

Somethink like that :
'connectionString' => 'mysql:unix_socket=/var/run/mysqld/mysqld.sock;port=3306;dbname=limesurvey;',

Maybe a checkbox or a select with connection method can be a goos idea.

Denis
PS: don't need port for unix_socket:
'connectionString' => 'mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=limesurvey;',
seem good enough.
Maybe fill a bug report / development patch
Letzte Änderung: 1 Jahr 1 Monat her von DenisChenu.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Update from 1.9 to 2.0 1 Jahr 1 Monat her #93774

  • DezB
  • DezBs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 15
  • Karma: 0
Hi Denis

That sounds like a good idea, 1and1 are one of the largest hosts in the UK, Germany and across Europe so I guess there are many others such as me who are not programmers but want to have a go.

Many thanks

DezB
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Update from 1.9 to 2.0 1 Jahr 1 Monat her #93775

  • DezB
  • DezBs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 15
  • Karma: 0
Sorry, in answer to your question:

'connectionString' => 'mysql:unix_socket=/tmp/mysql5.sock;port=3306;dbname=dbxxxxxxxxx;',
'emulatePrepare' => true,

Hope this helps

DezB
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Update from 1.9 to 2.0 1 Jahr 1 Monat her #93782

  • DenisChenu
  • DenisChenus Avatar
  • ONLINE
  • Moderator Lime
  • Beiträge: 5856
  • Dank erhalten: 716
  • Karma: 222
DezB schrieb:
Sorry, in answer to your question:

'connectionString' => 'mysql:unix_socket=/tmp/mysql5.sock;port=3306;dbname=dbxxxxxxxxx;',
'emulatePrepare' => true,

Hope this helps

DezB
Can you quicly test:
'connectionString' => 'mysql:unix_socket=/tmp/mysql5.sock;dbname=dbxxxxxxxxx;', ?

ANd please : fill a feature request here : bugs.limesurvey.org
(Same account information than forum).

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
  • 2
Moderatoren: ITEd
Ladezeit der Seite: 0.267 Sekunden
Donation Image