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

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Upgrade from 2.10 to 2.12 crashed
  • Print
Pages: [1]   Go Down

Author Topic: Upgrade from 2.10 to 2.12 crashed  (Read 7519 times)

Offline rumen

  • Posts: 480
  • Gender: Male
Upgrade from 2.10 to 2.12 crashed
« on: June 04, 2019, 06:12:28 PM »
Hi there,

I want to upgrade site which use WB 2.10 to WB 2.12. But when I uploaded the WB 2.12 and run the script I got error message that I need to install 2.10 first before I upgrade to 2.12. But .... it is 2.10 currently ... see here

Anyway I installed 2.10 and after that 2.12. But after the upgrade I saw all Cyrillic letters were changed to
Code: [Select]
??????????   so I restore the installation (from backup I made before that) and I changed in DB all tables from Latin_Swedish to utf8_general_ci   

Then I try to reinstall 2.10 and I got some syntax error and the installation crashed.

Code: [Select]
syntax error, unexpected '$module_directory' (T_VARIABLE)
Now restored the version from backup.

Any idea how to fix that?

Regards,

Rumen 
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8915
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Upgrade from 2.10 to 2.12 crashed
« Reply #1 on: June 04, 2019, 07:48:25 PM »
Hi, the error message is to short. Can you post the whole message?
Logged
https://onkel-franky.de

Offline rumen

  • Posts: 480
  • Gender: Male
Re: Upgrade from 2.10 to 2.12 crashed
« Reply #2 on: June 04, 2019, 08:37:08 PM »
Yes it is

Code: [Select]
Step 12 : Reload all addons database entry (no upgrade)

Modules will be reloaded
There was an uncatched exception
syntax error, unexpected '$module_directory' (T_VARIABLE)
in line (1) of (/modules/frontedit/info.php):
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8915
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Upgrade from 2.10 to 2.12 crashed
« Reply #3 on: June 04, 2019, 09:08:09 PM »
Quote
in line (1) of (/modules/frontedit/info.php)

And now show the first line of info.php of module frontedit  :)
Logged
https://onkel-franky.de

Offline rumen

  • Posts: 480
  • Gender: Male
Re: Upgrade from 2.10 to 2.12 crashed
« Reply #4 on: June 04, 2019, 09:45:44 PM »
Here you are

Code: [Select]
<?php/** * * @version 2.7.2 * @date 2008-09-18 * @author Dietrich Roland Pehlke (Aldus) * @author(-s) Pete - Rolf, updated to 2.7 by fsuk, bugfix Aldus * * * 2.7.2 2009-07-16 Codechanges for WB 2.8 -> select the correct icon from the backend-theme * * 2.7.1 2008-09-18 Bugfix in the "include.php" -> remove the add. "\n" in line 49. * Additional comments and minor cosmetic (code-) changes. * Add comment to this file. Minor typos changes. * */ $module_directory = 'frontedit';$module_name = 'Frontend Edit';$module_function = 'snippet';$module_version = '2.72';$module_platform = '2.8';$module_author = 'Pete - Rolf, updated to 2.7 by fsuk, bugfix 2.7.1 by Aldus';$module_license = 'GNU General Public License';$module_description = 'Adds an edit button the WB frontend.';?>
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8915
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Upgrade from 2.10 to 2.12 crashed
« Reply #5 on: June 04, 2019, 10:28:29 PM »
Change it to:
Code: [Select]
<?php
/**
 *
 *    @version    2.7.2
 *    @date        2008-09-18
 *    @author        Dietrich Roland Pehlke (Aldus)
 *    @author(-s) Pete - Rolf, updated to 2.7 by fsuk, bugfix Aldus
 *
 *
 *    2.7.2    2009-07-16    Codechanges for WB 2.8 -> select the correct icon from the backend-theme
 *
 *    2.7.1    2008-09-18    Bugfix in the "include.php" -> remove the add. "\n" in line 49.
 *                        Additional comments and minor cosmetic (code-) changes.
 *                        Add comment to this file. Minor typos changes.
 * 
 */ 
 
$module_directory    = 'frontedit';
 
$module_name        = 'Frontend Edit';
 
$module_function    = 'snippet';
 
$module_version    = '2.72';
 
$module_platform    = '2.8';
 
$module_author        = 'Pete - Rolf, updated to 2.7 by fsuk, bugfix 2.7.1 by Aldus';
 
$module_license    = 'GNU General Public License';
 
$module_description = 'Adds an edit button the WB frontend.';

Logged
https://onkel-franky.de

Offline rumen

  • Posts: 480
  • Gender: Male
Re: Upgrade from 2.10 to 2.12 crashed
« Reply #6 on: June 04, 2019, 10:34:36 PM »
It works now! Upgraded successfully to 2.12!

Thanks a lot!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Upgrade from 2.10 to 2.12 crashed
 

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