WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.10.x) »
  • General Help & Support »
  • Hilfe & Support (deutsch) »
  • Update WB 2.10.0-RC1 auf WB 2.10.0(r66)
  • Print
Pages: [1]   Go Down

Author Topic: Update WB 2.10.0-RC1 auf WB 2.10.0(r66)  (Read 7442 times)

Offline Hollol

  • Posts: 204
Update WB 2.10.0-RC1 auf WB 2.10.0(r66)
« on: March 04, 2017, 08:42:56 PM »
Hallo,

ich habe gerade lokal eine Page von WB 2.10.0-RC1 auf WB 2.10.0(r66) upgedatet.

In der upgrade-script.php erhalte ich folgenden Hinweis:

Quote
Warning: file_get_contents(D:\xampp\htdocs\vhosts\mypage/admin/interface/version.php): failed to open stream: No such file or directory in D:\xampp\htdocs\vhosts\mypage\upgrade-script.php on line 119

Mein Adminordner ist umbenannt und heißt nicht "admin".

Da ich (noch) nicht weiß, welche Auswirkungen das sonst noch haben könnte, poste ich das lieber mal.

Grüße
Hollol

Logged

Offline Hollol

  • Posts: 204
Re: Update WB 2.10.0-RC1 auf WB 2.10.0(r66)
« Reply #1 on: March 05, 2017, 01:48:17 AM »
Gleiches Spiel, wenn ich die gleiche Page von WB 2.8.2 +SP7 auf SP 2.10.0 update.

Das Upgrade-Script verlangt explizit nach dem Pfad im Ordner "admin". Egal was in der config.php steht.
Logged

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3087
  • Gender: Female
Re: Update WB 2.10.0-RC1 auf WB 2.10.0
« Reply #2 on: March 05, 2017, 03:00:26 AM »
if you're a registered user on our Redmine then you can get a fixed upgrade-script from here
otherwise here is the diff to patch it:
Code: (changeset_r70.diff) [Select]
Index: upgrade-script.php
===================================================================
--- upgrade-script.php (revision 69)
+++ upgrade-script.php (revision 70)
@@ -117,4 +117,4 @@
 function getNewVersionString()
 {
-    $sVersionFile = file_get_contents(__DIR__.'/admin/interface/version.php');
+    $sVersionFile = file_get_contents(__DIR__.'/'.ADMIN_DIRECTORY.'/interface/version.php');
     $sPattern = '=define\s*\(\'VERSION\'\,\s*\'([^\']*)\'=is';

« Last Edit: March 05, 2017, 03:05:41 AM by DarkViper »
Logged
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"We need education to cope with digitalization - and NOT the digitalization of education.!"

Tägliches Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

Offline Hollol

  • Posts: 204
Re: Update WB 2.10.0-RC1 auf WB 2.10.0(r66)
« Reply #3 on: March 05, 2017, 09:48:55 AM »
Thank you very much.

In the future, I will try to write in english here.
I'm not registered in Redmine, yet. It would be on the time to catch up this.
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Update WB 2.10.0-RC1 auf WB 2.10.0(r66)
« Reply #4 on: March 05, 2017, 09:51:00 AM »
Wir haben festgestellt, dass es immer noch Probleme gibt und arbeiten an der korrekten Lösung!

We have found that there are still problems and work on the correct solution!

Sorry for the trouble

Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline DarkViper

  • Forum administrator
  • *****
  • Posts: 3087
  • Gender: Female
Re: Update WB 2.10.0-RC1 auf WB 2.10.0
« Reply #5 on: March 05, 2017, 05:59:35 PM »
I was a bit too tired last night. Sorry.  :roll:
In the meantime, a version of the upgrade script is available, which can easily work with a renamed admin directory.

Note: The modified upgrade script is only required if the admin/ directory has been renamed!!!

get the script from repository
Logged
Der blaue Planet - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen

"We need education to cope with digitalization - and NOT the digitalization of education.!"

Tägliches Stoßgebet: Oh Herr, wirf Hirn vom Himmel !

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.10.x) »
  • General Help & Support »
  • Hilfe & Support (deutsch) »
  • Update WB 2.10.0-RC1 auf WB 2.10.0(r66)
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2