• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Installation error: SyntaxException.php and Environment.php

M

Mr.Tom

Guest
Hi all,
today I tried to update my installed Sitebuilder 3.0.2 Version on a SuSE 10.0 64-Bit Server.

I got this message while install:

[code[2007 Nov 7 23:53:17] [ERROR] PHP Notice: Undefined offset: 4096 in /usr/local/sitebuilder/include/Base/SyntaxException.php on line 49

Notice: Undefined offset: 4096 in /usr/local/sitebuilder/include/Base/SyntaxException.php on line 49
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Internal SiteBuilder error</title>
</head>

<body>
<table width="100%" style="height: 100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="100%" height="100%" align="center" valign="middle">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60">
<img src="/images/unsupported_browser/warning_left.gif" alt=""/>
</td>
<td valign="middle" height="40" style="background: #EEEEEE; color: #606060; font-family: Verdana; font-size: 11px;">
<center><b>Internal SiteBuilder error.</b></center>
File: /usr/local/sitebuilder/include/SB/Session/Environment.php; Line: 81<br/>Message: <b>PHP : Argument 1 passed to SB_Session_Environment::saveLocale() must be an instance of SB_ORM_Locale, null given, called in /usr/local/sitebuilder/include/SB/Session/Environment.php on line 93 and defined</b>; Code: 4096<br/> </td>
<td width="7"><img src="/images/unsupported_browser/warning_right.gif" alt=""/></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
[2007 Nov 7 23:53:20] [ERROR] PHP Notice: Undefined offset: 4096 in /usr/local/sitebuilder/include/Base/SyntaxException.php on line 49

Notice: Undefined offset: 4096 in /usr/local/sitebuilder/include/Base/SyntaxException.php on line 49
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Internal SiteBuilder error</title>
</head>

<body>
<table width="100%" style="height: 100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="100%" height="100%" align="center" valign="middle">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60">
<img src="/images/unsupported_browser/warning_left.gif" alt=""/>
</td>
<td valign="middle" height="40" style="background: #EEEEEE; color: #606060; font-family: Verdana; font-size: 11px;">
<center><b>Internal SiteBuilder error.</b></center>
File: /usr/local/sitebuilder/include/SB/Session/Environment.php; Line: 81<br/>Message: <b>PHP : Argument 1 passed to SB_Session_Environment::saveLocale() must be an instance of SB_ORM_Locale, null given, called in /usr/local/sitebuilder/include/SB/Session/Environment.php on line 93 and defined</b>; Code: 4096<br/> </td>
<td width="7"><img src="/images/unsupported_browser/warning_right.gif" alt=""/></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
[2007 Nov 7 23:53:59] Locales have been successfully updated[/code]

It seems that sitebuilder ist not working. I can't go to the sitebuilder Interface on http://sitebuilder.domain.tld

Any idea what's wrong?
 
Thanks Sib!
this worked.

But no I run in another problem.
While create or edit a sitebuilder site I get the error:
Code:
Internal SiteBuilder error.
File: /usr/local/sitebuilder/include/SB/Views/Wizard/Pages.php; Line: 338
Message: PHP Notice : Trying to get property of non-object; Code: 8

I think this depends also on the "old" Database from Sitebuilder Version 3.
How can I fix that or is there a opportunity to clean the complete old database and create a new empty one with sb4 "standards"?
 
Probably something really wrong in database. To make sure, try to enable Mysql logging in my.cnf file:

[mysqld]
...
log=/tmp/mysql.log
...

restart mysql and check on which mysql query Sitebuilder failed.

It is possible to get clean Sitebuilder 4 database but in this case migrated data will not be there. Do you have valid users/sites which need to be transfered? If not, I suggest you completely remove Sitebuilder and install new version from scratch.
 
Originally posted by Dmitry Frantsev
It is possible to get clean Sitebuilder 4 database but in this case migrated data will not be there. Do you have valid users/sites which need to be transfered? If not, I suggest you completely remove Sitebuilder and install new version from scratch.
There are only 2 testsites installed with Sitebuilder. No customers since 2 years because of missing functions and uncomfortable usage of sitebuilder :p
I hope the new version 4 will cover our affords for a easy to use website builder software...

I first uninstalled the old version 3.0/3.01 an then installed version 4 complete new. But the database was not removed while uninstalling the old version an still existing while installing version 4.

Please let me know how to complete reinitialize the database for SB4 and start from beginning with this software release.
 
Try to apply following actions:

Log into MySQL and drop existing database:

mysql> drop database sitebuilder3";

Create database for new v.4:

sb_config --force

update database records for modules:

sb_config --update_modules

It should help.
 
Back
Top