• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Anyone have managed to upgrade from 2.1.3 to 3.0.0?

JLChafardet

Regular Pleskian
I have been trying tonight to upgrade from 2.1.3 to 3.0.0 without any luck.

apparently there is no way to upgrade using rpm -Uhv.

[root@swordfish sitebuilder]# ls
base modules sitebuilder-3.0.0-rhas3.build06091819.tar.gz templates
[root@swordfish sitebuilder]# rpm -Uhv base/*.rpm templates/*.rpm modules/*.rpm
error: Failed dependencies:
sitebuilder_package is needed by (installed) business_pack1-2.0-0
sitebuilder_package is needed by (installed) beauty_pack1-2.0-0
sitebuilder_package is needed by (installed) sport_pack1-2.0-0
sitebuilder_package is needed by (installed) business_pack5-2.0-0
sitebuilder_package is needed by (installed) personal_pack3-2.0-0
sitebuilder_package is needed by (installed) telecom_pack1-2.0-0
sitebuilder_package is needed by (installed) hotel_pack1-1.0-0
sitebuilder_package is needed by (installed) travel_pack1-2.0-0
sitebuilder_package is needed by (installed) christmas_pack1-2.0-0
sitebuilder_package is needed by (installed) games_pack1-1.0-0
sitebuilder_package is needed by (installed) music_pack1-1.0-0
sitebuilder_package is needed by (installed) medicine_pack1-2.0-0
sitebuilder_package is needed by (installed) cafe_and_restaurant_pack1-1.0-0
sitebuilder_package is needed by (installed) personal_pack1-2.0-0
sitebuilder_package is needed by (installed) interior_and_furniture_pack1-1.0-0
sitebuilder_package is needed by (installed) christmas_pack2-2.0-0
sitebuilder_package is needed by (installed) business_pack2-2.0-0
sitebuilder_package is needed by (installed) personal_pack2-2.0-0
sitebuilder_package is needed by (installed) moto_car_pack1-2.0-0
sitebuilder_package is needed by (installed) business_pack7-1.0-0
sitebuilder_package is needed by (installed) business_pack4-2.0-0
sitebuilder_package is needed by (installed) business_pack3-2.0-0
sitebuilder_package is needed by (installed) media_ent_pack1-2.0-0
sitebuilder_package is needed by (installed) flowers_pack_1-1.0-0
sitebuilder_package is needed by (installed) computer_pack1-2.0-0
sitebuilder_package is needed by (installed) education_pack1-2.0-0
sitebuilder_package is needed by (installed) fashion_pack_1-2.0-0
sitebuilder_package is needed by (installed) personal_pack4-1.0-0
sitebuilder_package is needed by (installed) transport_pack1-2.0-0
sitebuilder_package is needed by (installed) estate_pack1-2.0-0
sitebuilder_package is needed by (installed) christmas_pack3-2.0-0
sitebuilder_package is needed by (installed) art_photo_pack1-2.0-0
sitebuilder_package is needed by (installed) business_pack6-2.0-0
[root@swordfish sitebuilder]#

if any of you have a clue of what to do, please let me know, all help is greatly appreciated.

Regards,
 
not a solution

Jose , i had to uninstall and reinstall, from what I ve read, there is no compatibility between templates.. theres a migration script thow... i wouldnt go for that
 
Thanks for your response, I ended rolling back to 2.1.3, its more stabler and works good for the clients I have.

I managed to install the SB3 and started getting LOADS AND LOADS AND LOADS AND LOADS of Internal Server Error.

that made me wait for 3.0.x or 3.1.x release before going to SB3.
 
Thanks for the updates. I'm going to go ahead and wait to update as well :eek:
 
Very wise my friend, wait for updates, with Sw-Soft im learning (slow but learning) to wait for updates first before going straight upgrading their software.

Originally posted by poke
Thanks for the updates. I'm going to go ahead and wait to update as well :eek:
 
guess what?

SiteBuilder 3.0.2

SAME ****.

Error 500

and if you modify the .conf file, to work with the sapi module (i have compiled php 5.1.6 from source) IT GIVES ERRORS ABOUT include_path

SW-Soft, ****, they DO NOT stand A SH#$%T behind nothing.

all they want is your money, they dont care if their product actually works or not on your system, and if you dont PAY THEM MORE MONEY they wont even take a look.

I have posted 2 tickets already, none of them have been responded, NOT EVEN TELLING ME TO PAY FOR SUPPORT, i guess we the small clients, DO NOT GET any atention from them.
 
The reason of 500 error you can find in Apache's error_log for SB.
About include_path and PHP as Apache's module I cann't help you cause you didn't post your conf file and exact errors.
 
[Sat Feb 10 02:33:14 2007] [error] [client IP.IP.IP.IP] Premature end of script headers: php5, referer: http://sitebuilder.hostingve.com/Admin/Logs/System

configure line

./configure --host=i686-redhat-linux-gnu --build=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --with-bz2 --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-expat-dir=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-pear=/usr/share/pear --with-kerberos=/usr/kerberos --enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --with-mime-magic=/etc/httpd/conf/magic --with-sqlite --with-libxml-dir=/usr --with-xml --with-apxs2=/usr/sbin/apxs --with-mysql=shared,/usr --with-gd --with-odbc --with-dom=shared,/usr --with-dom-xslt=/usr --with-imap=shared --with-imap-ssl --enable-xslt=shared --with-xslt-sablot --with-sablot-js=/usr --with-pgsql=shared --with-ldap=shared --enable-mcal


conf for sitebuilder.

zz011_sitebuilder.conf:

#
# SiteBuilder configuration file
#

#NameVirtualHost 207.44.136.138:80
#Listen 80


<VirtualHost 207.44.136.138:80 127.0.0.1:80>

DocumentRoot /usr/local/sitebuilder/htdocs
ServerName sitebuilder.hostingve.com
ErrorLog logs/sitebuilder_error.log
DirectoryIndex index.php
AddDefaultCharset UTF-8

# <IfModule !mod_php5.c>
AddHandler application/x-httpd-php5 .php .asmx
ScriptAlias /bin /opt/php51/cgi-bin
Action application/x-httpd-php5 /bin/php5
# </IfModule>

# <IfModule mod_php5.c>
# AddHandler application/x-httpd-php .php .asmx
# php_admin_value memory_limit 24M
# php_admin_flag register_globals Off
# php_admin_flag safe_mode Off
# php_admin_value open_basedir none
# php_admin_value default_charset "UTF-8"
# php_admin_value upload_max_filesize 24M
# php_admin_flag magic_quotes_runtime Off
# php_admin_flag magic_quotes_gpc Off
# php_admin_flag zend.ze1_compatibility_mode Off
# </IfModule>

<IfModule mod_suphp.c>
php_admin_flag engine off
suPHP_Engine on
AddHandler x-httpd-php .php .asmx
suPHP_UserGroup apache apache
suPHP_AddHandler x-httpd-php
</IfModule>


<Directory /usr/local/sitebuilder/htdocs>
Options +ExecCGI +FollowSymLinks
Options -Indexes
AllowOverride All
Allow from all
</Directory>

<Directory /opt/php51/cgi-bin>
Options +ExecCGI +FollowSymLinks
Order allow,deny
Allow from all
AllowOverride None
</Directory>

<IfModule mod_rewrite.c>
<Directory /usr/local/sitebuilder/htdocs>
RewriteEngine on
RewriteRule ^$ index.php [L]
RewriteCond %{REQUEST_URI} ^/[a-z]+/.*$
RewriteCond %{REQUEST_URI} [^/]$
RewriteRule (.*) - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php/$1 [QSA,L]
</Directory>
</IfModule>


</VirtualHost>


if i remove the # from the # <IfModule mod_php5.c> to # </IfModule>

i get the following error.

Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

Warning: Unknown: Failed opening '/usr/local/sitebuilder/include/autoprp.php' for inclusion (include_path='.:/usr/local/sitebuilder/include/:') in Unknown on line 0

and on error log nothing is reflected.

the conf file looks like this when i remove the #

#
# SiteBuilder configuration file
#

#NameVirtualHost 207.44.136.138:80
#Listen 80


<VirtualHost 207.44.136.138:80 127.0.0.1:80>

DocumentRoot /usr/local/sitebuilder/htdocs
ServerName sitebuilder.hostingve.com
ErrorLog logs/sitebuilder_error.log
DirectoryIndex index.php
AddDefaultCharset UTF-8

<IfModule !mod_php5.c>
AddHandler application/x-httpd-php5 .php .asmx
ScriptAlias /bin /opt/php51/cgi-bin
Action application/x-httpd-php5 /bin/php5
</IfModule>

<IfModule mod_php5.c>
AddHandler application/x-httpd-php .php .asmx
php_admin_value memory_limit 24M
php_admin_flag register_globals Off
php_admin_flag safe_mode Off
php_admin_value open_basedir none
php_admin_value default_charset "UTF-8"
php_admin_value upload_max_filesize 24M
php_admin_flag magic_quotes_runtime Off
php_admin_flag magic_quotes_gpc Off
php_admin_flag zend.ze1_compatibility_mode Off
</IfModule>

<IfModule mod_suphp.c>
php_admin_flag engine off
suPHP_Engine on
AddHandler x-httpd-php .php .asmx
suPHP_UserGroup apache apache
suPHP_AddHandler x-httpd-php
</IfModule>


<Directory /usr/local/sitebuilder/htdocs>
Options +ExecCGI +FollowSymLinks
Options -Indexes
AllowOverride All
Allow from all
</Directory>

<Directory /opt/php51/cgi-bin>
Options +ExecCGI +FollowSymLinks
Order allow,deny
Allow from all
AllowOverride None
</Directory>

<IfModule mod_rewrite.c>
<Directory /usr/local/sitebuilder/htdocs>
RewriteEngine on
RewriteRule ^$ index.php [L]
RewriteCond %{REQUEST_URI} ^/[a-z]+/.*$
RewriteCond %{REQUEST_URI} [^/]$
RewriteRule (.*) - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php/$1 [QSA,L]
</Directory>
</IfModule>


</VirtualHost>


even commenting the fast-cgi and the cgi lines, gives the exact same error.
 
that didnt solved a thing.

removed the .htaccess file, still get LOADS OF ERROR 500.

the problem is php for sb, is runing as cgi, and it should run as native sapi (check.php result

OK : supported version of PHP found (5.1.X or newer)
OK : extension sitebuilder3 in state on found
OK : extension pdo in state on found
OK : extension pdo_mysql in state on found
OK : extension sqlite in state on found
OK : extension dom in state on found
OK : extension libxml in state on found
OK : extension xml in state on found
OK : extension xsl in state on found
OK : extension spl in state on found
OK : extension pcre in state on found
OK : extension session in state on found
OK : extension simplexml in state on found
OK : extension ftp in state on found
OK : extension openssl in state on found
OK : extension mbstring in state on found
OK : extension soap in state on found
OK : extension gd in state on found
OK : extension ctype in state on found
OK : extension zlib in state on found
OK : extension curl in state on found
OK : extension mysql in state on found
OK : setting magic_quotes_gpc in state off found
OK : setting magic_quotes_runtime in state off found
OK : setting open_basedir in state off found
OK : setting safe_mode in state off found
OK : setting zend.ze1_compatibility_mode in state off found
OK : supported SQLite version 2.x found
OK : SQLite UTF-8 encoding found
OK : GD library PNG support found
OK : GD library GIF support found
OK : GD library JPG support found
OK : GD library WBMP support found
OK : supported GD library version 2.0.1 (or newer) found
)

so, the problem is outside the .htaccess

any clues?
 
sorry my answer today, i was still dead sleep.

i removed the .htaccess file, allowed the sapi module to work

now i get this error.

Internal SiteBuilder error.
File: /usr/local/sitebuilder/include/Zend/Zend/Db/Adapter/Pdo/Abstract.php; Line: 84
Message: could not find driver; Code: 0
 
looking at that file

all i can see is that the line 84 doesnt contains nothing but a closing statement ");"

PHP:
/* --> Line 78 */         // create PDO connection
/* --> Line 79 */         $q = $this->_profiler->queryStart('connect', Zend_Db_Profiler::CONNECT);
/* --> Line 80 */         $this->_connection = new PDO(
/* --> Line 81 */             $this->_dsn(),
/* --> Line 82 */             $this->_config['username'],
/* --> Line 83 */             $this->_config['password']
/* --> Line 84 */         );

besides that

that file DOES NOT close the <?php tag with ?>

it ends just like this.

PHP:
/* --> Line 184 */        }
/* --> Line 185 */    }
/* --> Line 186 */
/* --> Line 187 */}
/* --> Line 188 */
/* --> Line 189 */

there is no ?> for closing that php file

{edit}
googling doesnt give a thing, and the terms of that error dont give a result here on the forum search, so im handtied atm.
{/edit}

so, all help is appreciated.
 
Ok, i found new errors, im going to be working on solving them.

check.php now gives errors.

OK : supported version of PHP found (5.1.X or newer)
ERROR : extension sitebuilder3 must be on
OK : extension pdo in state on found
ERROR : extension pdo_mysql must be on
OK : extension sqlite in state on found
OK : extension dom in state on found
OK : extension libxml in state on found
OK : extension xml in state on found
OK : extension xsl in state on found
OK : extension spl in state on found
OK : extension pcre in state on found
OK : extension session in state on found
OK : extension simplexml in state on found
OK : extension ftp in state on found
OK : extension openssl in state on found
OK : extension mbstring in state on found
ERROR : extension soap must be on
OK : extension gd in state on found
OK : extension ctype in state on found
OK : extension zlib in state on found
OK : extension curl in state on found
OK : extension mysql in state on found
OK : setting magic_quotes_gpc in state off found
OK : setting magic_quotes_runtime in state off found
OK : setting open_basedir in state off found
OK : setting safe_mode in state off found
OK : setting zend.ze1_compatibility_mode in state off found
OK : supported SQLite version 2.x found
WARNING : SQLite UTF-8 encoding not found (current is iso8859)
OK : GD library PNG support found
OK : GD library GIF support found
OK : GD library JPG support found
OK : GD library WBMP support found
OK : supported GD library version 2.0.1 (or newer) found

lets see what i can do.
 
soap added to the configure line, now is gone.

working on the pdo-mysql thingy now... lets see how does it goes.

OK : extension soap in state on found
 
ok, now only "ERROR : extension sitebuilder3 must be on" im getting, besides the UTF-8 on sqlite.

lets see whats going on.

darn... im about to run dry of ideas for solving problems here.

OK : supported version of PHP found (5.1.X or newer)
ERROR : extension sitebuilder3 must be on
OK : extension pdo in state on found
OK : extension pdo_mysql in state on found
OK : extension sqlite in state on found
OK : extension dom in state on found
OK : extension libxml in state on found
OK : extension xml in state on found
OK : extension xsl in state on found
OK : extension spl in state on found
OK : extension pcre in state on found
OK : extension session in state on found
OK : extension simplexml in state on found
OK : extension ftp in state on found
OK : extension openssl in state on found
OK : extension mbstring in state on found
OK : extension soap in state on found
OK : extension gd in state on found
OK : extension ctype in state on found
OK : extension zlib in state on found
OK : extension curl in state on found
OK : extension mysql in state on found
OK : setting magic_quotes_gpc in state off found
OK : setting magic_quotes_runtime in state off found
OK : setting open_basedir in state off found
OK : setting safe_mode in state off found
OK : setting zend.ze1_compatibility_mode in state off found
OK : supported SQLite version 2.x found
WARNING : SQLite UTF-8 encoding not found (current is iso8859)
OK : GD library PNG support found
OK : GD library GIF support found
OK : GD library JPG support found
OK : GD library WBMP support found
OK : supported GD library version 2.0.1 (or newer) found

all help is appreciated.
 
[root@swordfish 20050922]# cp /opt/php51/etc/php5/conf.d/sitebuilder3.ini /etc/php.d
[root@swordfish 20050922]# service httpd restart

solved the problem.

so problem solved ;) thanks for your time and help
 
configuration line for php 5.1.6 that worked for me.

./configure --host=i686-redhat-linux-gnu --build=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --with-bz2 --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-expat-dir=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-pear=/usr/share/pear --with-kerberos=/usr/kerberos --enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --with-mime-magic=/etc/httpd/conf/magic --with-sqlite --with-libxml-dir=/usr --with-xml --with-apxs2=/usr/sbin/apxs --with-mysql=/usr --with-gd --with-odbc --enable-xslt=shared --enable-xslt --with-xslt-sablot=shared,/usr --with-sablot-js=shared,/usr --with-dom=shared,/usr --with-dom-xslt=/usr --with-imap=shared --with-imap-ssl --with-pgsql=shared --with-ldap=shared --enable-mcal --with-xsl=/usr/lib --with-expat-dir=/usr/lib --enable-mbstring=shared --enable-mbstr-enc-trans --enable-mbregex --enable-pdo --with-pdo-sqlite=shared --with-pdo-mysql --enable-soap

in case someone wants it.

cheers.
 
new configure line for php

as for the SQLITE with UTF-8 support, just found the solution.

the complete php configure line is as follows:

./configure --host=i686-redhat-linux-gnu --build=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --with-bz2 --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-expat-dir=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-pear=/usr/share/pear --with-kerberos=/usr/kerberos --enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --with-mime-magic=/etc/httpd/conf/magic --with-sqlite --with-libxml-dir=/usr --with-xml --with-apxs2=/usr/sbin/apxs --with-mysql=/usr --with-gd --with-odbc --enable-xslt=shared --enable-xslt --with-xslt-sablot=shared,/usr --with-sablot-js=shared,/usr --with-dom=shared,/usr --with-dom-xslt=/usr --with-imap=shared --with-imap-ssl --with-pgsql=shared --with-ldap=shared --enable-mcal --with-xsl=/usr/lib --with-expat-dir=/usr/lib --enable-mbstring=shared --enable-mbstr-enc-trans --enable-mbregex --enable-pdo --with-pdo-sqlite=shared --with-pdo-mysql --enable-soap --enable-sqlite-utf8

the difference is in the latest statement on the configure line --enable-sqlite-utf8 that allowes php to compile the sqlite library it uses with UTF-8 support.

hope this helps if any one is interested on having this version of php(5.1.6) runing for SiteBuilder.

Best regards,
 
Back
Top