Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Tide

Pages: [1]
1
Installation problems / Can't unzip files
« on: April 03, 2009, 10:44:07 am »
I have uploaded a zip file.  When I click on the extract icon I get this error with DEBUG turned on :
Code: [Select]
Caught Exception in AutoLoader: exception 'Exception' with message 'Could not find class file for "ZIPARCHIVE"'
 in /home/xxxx/opengoo/environment/classes/AutoLoader.class.php:105 Stack trace:
#0 /home/xxxx/opengoo/environment/classes/AutoLoader.class.php(111):
AutoLoader->loadClass('ZIPARCHIVE') #1 /home/xxxx/opengoo/application/functions.php(33):
AutoLoader->loadClass('ZIPARCHIVE') #2 /home/xxxx/opengoo/application/controllers/FilesController.class.php(1652):
__autoload('ZipArchive') #3 /home/xxxx/opengoo/environment/classes/controller/Controller.class.php(75):
FilesController->zip_extract() #4 /home/xxxx/opengoo/environment/classes/controller/PageController.class.php(62):
Controller->execute('zip_extract') #5 /home/xxxx/opengoo/environment/classes/Env.class.php(133):
PageController->execute('zip_extract') #6 /home/xxxx/opengoo/init.php(146):
Env::executeAction('files', 'zip_extract') #7 /home/xxxx/opengoo/index.php(9):
require('/home/xxxx/open...') #8 {main}

I believe I have zip enabled for php.  Here is the configure statement for the box :
Code: [Select]
[root@host public_html]# php -i |grep mb Configure Command =>
'./configure' '--disable-pdo' '--enable-bcmath'
'--enable-calendar' '--enable-ftp' '--enable-libxml'
'--enable-magic-quotes' '--enable-mbstring'
'--enable-sockets' '--enable-zip'
'--prefix=/usr/local'
'--with-apxs2=/usr/local/apache/bin/apxs' '--with-gd'
'--with-imap=/opt/php_with_imap_client/'
'--with-imap-ssl=/usr' '--with-jpeg-dir=/usr'
'--with-kerberos' '--with-libxml-dir=/opt/xml2/'
'--with-mysql=/usr'
'--with-mysql-sock=/var/lib/mysql/mysql.sock'
'--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6'
'--with-zlib' '--with-zlib-dir=/usr' xmlrpc_error_number =>
0 => 0 mbstring Multibyte string engine => libmbfl mbstring extension
makes use of "streamable kanji code filter and converter", which is
distributed under the GNU Lesser General Public License version 2.1.
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off mbstring.func_overload =>
0 => 0 mbstring.http_input => pass => pass mbstring.http_output =>
pass => pass mbstring.internal_encoding => ISO-8859-1 => no value
mbstring.language => neutral => neutral mbstring.strict_detection =>
Off => Off mbstring.substitute_character => no value => no value

I am running : Apache 2, PHP 5.2.6, Mysql 4.1.22

Any ideas on what it could be?

2
I have uploaded a txt and a css file to Documents.  When I click on the item to view it I get an error in the box that is supposed to show the files text.

I have turned on DEBUG and this is the error I get:
Code: [Select]
<b>Fatal error</b>:  Call to undefined function  mb_detect_encoding() in <b>/home/dies/opengoo/application/controllers/FilesController.class.php</b> on line <b>1787</b><br />
If I click the text file icon to try and edit the file I get a blank Documents tab.

I have tried various permissions and ownership but to no avail.  Always the same error.

I believe I have mbstring enabled for php.

This is the configure statement for the box:
Code: [Select]
[root@host public_html]# php -i |grep mb Configure Command =>
'./configure' '--disable-pdo' '--enable-bcmath'
'--enable-calendar' '--enable-ftp' '--enable-libxml'
'--enable-magic-quotes' '--enable-mbstring'
'--enable-sockets' '--enable-zip'
'--prefix=/usr/local'
'--with-apxs2=/usr/local/apache/bin/apxs' '--with-gd'
'--with-imap=/opt/php_with_imap_client/'
'--with-imap-ssl=/usr' '--with-jpeg-dir=/usr'
'--with-kerberos' '--with-libxml-dir=/opt/xml2/'
'--with-mysql=/usr'
'--with-mysql-sock=/var/lib/mysql/mysql.sock'
'--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6'
'--with-zlib' '--with-zlib-dir=/usr' xmlrpc_error_number =>
0 => 0 mbstring Multibyte string engine => libmbfl mbstring extension
makes use of "streamable kanji code filter and converter", which is
distributed under the GNU Lesser General Public License version 2.1.
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off mbstring.func_overload =>
0 => 0 mbstring.http_input => pass => pass mbstring.http_output =>
pass => pass mbstring.internal_encoding => ISO-8859-1 => no value
mbstring.language => neutral => neutral mbstring.strict_detection =>
Off => Off mbstring.substitute_character => no value => no value

I am running : Apache 2, PHP 5.2.6, Mysql 4.1.22

Any ideas on what it could be?

Pages: [1]
anything
anything