Ticket #510 (closed defect: fixed)

Opened 6 years ago

Last modified 12 months ago

Installation not possible

Reported by: NilsLindenberg Owned by: DotMG
Priority: highest Milestone: 1.3.3
Component: installer Version: trunk
Severity: blocker Keywords: mysql, installer, ported
Cc:

Description

As reported by OlivierBorowski on #wikka:

I didn't succed to make the installe work ! tested on 2 differents hosts (ovh, wistee-heb).

"Creating page table... FAILED: Already exists?"

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /setup/inc/functions.inc.php on line 111

Adding/Updating default page HomePage... FAILED

With 1.1.6.3, no problem

Related: #97

Change History

Changed 6 years ago by DotMG

  • status changed from new to closed
  • resolution set to fixed

(In [548]) closes #510.

$dblink and $config parameters were forgotten in one call to update_default_page(). Problem should have occured only when upgrading from version prior (or equal) to 1.1.5.3

Changed 6 years ago by DotMG

  • status changed from closed to reopened
  • resolution fixed deleted

problem not solved, but issued figured out by Nils at  http://de2.php.net/function.session-start.

Changed 6 years ago by DotMG

(In [551]) refs #510

The problem is session data getting lost when redirecting to another page. The workaround is to write those session data (session_write_close(), which is available since PHP4.0.3, thus, no problem with our requirements) before any call to Header('Location: ...');

Thanks Nils :)

Changed 6 years ago by OlivierBorowski

The bug is due to register_global = "on" Local variable $config and $_SESSIONconfig? are in conflict. Maybe change $config variable name in setup/index.php

Changed 6 years ago by DotMG

  • status changed from reopened to closed
  • resolution set to fixed

(In [570]) Conflict variable names when register_globals is On.

Renamed _POSTconfig? to _POSTpconfig?, _SESSIONconfig? to _SESSIONsconfig?.

Credits Olivier Borowski.

fixes #510

Changed 6 years ago by DotMG

(In [572]) Forgotten to change name="config" to name="pconfig" in setup/inc/functions.inc.php refs #510

Changed 4 years ago by BrianKoontz

  • keywords installer, ported added; installer removed

Doesn't appear to be a problem in 1.2 branch. Marking as ported/resolved.

Changed 12 months ago by BrianKoontz

  • milestone changed from blue-sky to 1.3.3
Note: See TracTickets for help on using tickets.