Ok my problem was solved .. known bug in midcom and php 4.3 .. 

/Johan Bernhardsson


On Wed, 2004-03-17 at 22:32, Johan Bernhardsson wrote:
> What was the problem with mdigard 1.5.0 on Mandrake 9.2  more precisly ?
> 
> I have a mdk 9.2 system running .. only one bug left and that is that i
> cannot upload any attachments when running midcom sites. using latest
> cvs posted on the midgard site.
> 
> Notice: Undefined index: f_file in code-global(119) : eval()'d code(46)
> : eval()'d code(849) : eval()'d code on line 93
> 
> That is the error i get and the file isnt uploaded
> 
> /Johan Bernhardsson
> 
> On Thu, 2004-02-05 at 14:57, Henri Bergius wrote:
> > Quick Midgard installation notes for Mandrake 9.1
> > 
> > Note: Mandrake 9.2 appears to be buggy, and Midgard only half worked on it.
> > Downgrading to Mdk 9.1 fixed the issue.
> > 
> > The Mandrake box was installed fresh with "database" and "development" profiles
> > selected.
> > 
> > Mandrake 9.1 ships with a buggy version of expat, so we installed the latest
> > 1.95.7 version from sources:
> > ./configure --prefix=/usr/local/expat
> > make
> > make install
> > 
> > Mandrake 9.1 ships with Apache 2, which Midgard 1.5.0 doesn't support. Because
> > of this we installed latest Apache 1.3.x from sources with the following
> > configure string:
> > ./configure --prefix=/usr/local/apache --enable-module=so
> > 
> > We needed to install several additional RPMs from the Mandrake CDs:
> > * flex
> > * bison
> > * libglib-devel
> > 
> > Since MySQL doesn't get installed with default Mandrake we also installed in
> > from sources, with configure string:
> > ./configure --prefix=/usr/local/mysql
> > 
> > Then we needed to do the following to set it running:
> > adduser mysql
> > /usr/local/mysql/bin/mysql_install_db
> > chown mysql.mysql /usr/local/mysql/var
> > /usr/local/mysql/safe_mysqld &
> > 
> > We also installed PHP 4.3.4 from sources, with configure string:
> > ./configure --prefix=/usr/local/php/ --with-iconv --with-iconv-dir --with-exif
> > --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql
> > 
> > Midgard-lib was installed with:
> > ./configure --prefix=/usr/local/midgard --with-mysql=/usr/local/mysql
> > --with-expat=/usr/local/expat
> > make
> > make install
> > 
> > Mod_midgard was installed with:
> > ./configure --with-apxs=/usr/local/apache/bin/apxs
> > --with-midgard-config=/usr/local/midgard/bin/midgard-config
> > make
> > make install
> > 
> > Midgard-PHP4 was installed with:
> > export PATH=$PATH:/usr/local/apache/bin
> > /usr/local/php/bin/phpize
> > ./configure --with-midgard=/usr/local/midgard/bin/midgard-config
> > --with-php-config=/usr/local/php/bin/php-config
> > make
> > make install
> > 
> > Midgard-data was installed with:
> > export PATH=$PATH:/usr/local/apache/bin
> > mkdir /var/www/blobs
> > chown apache.apache /var/www/blobs
> > ./configure --with-install=new --with-blobdir=/var/www/blobs
> > --with-apxs=/usr/local/apache/bin/apxs --with-apache-user=apache
> > --with-apache-group=apache --with-midgard=/usr/local/midgard
> > ./dbinstall
> > cp midgard-data.conf /usr/local/apache/conf
> > 
> > Edit /usr/local/apache/conf/httpd.conf and add line:
> > Include conf/midgard-data.conf
> > 
> > Edit /usr/local/php/lib/php.ini and add lines:
> > extension=midgard.so
> > file_uploads=On
> > short_open_tags=On
> > register_globals=On
> > 
> > Run /usr/local/apache/bin/apachectl configtest to see if everything works,
> > resolve potential issues, then start Apache by:
> > /usr/local/apache/bin/apachectl start
> > 
> > Point your browser to http://localhost/admin and midgard admin site should answer
> > 
> > 
> > /Bergie, having very bad connectivity here in South Africa
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to