Koozali.org: home of the SME Server

Trying to install Nolapro ... help needed with .htacess file

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Hi to all,

I'm trying to evaluate Nolapro ... it's a free web accounting package that runs on Linux or windows.

Now I have installed the package into an ibay

I have also installed the Zend Optimizer required for Nolapro.

I have done all the custom templates for both packages.

The hassle I'm having is with one final step ... here is the message I'm getting.

Quote
register_long_arrays must be on, current value is off

You can either change the setting in your php.ini file, add it to your Apache virtual host entry, or use the htaccess.txt file in the main NolaPro directory and rename it to .htaccess. To use the .htaccess file Apache must be set up to allow overrides for your domain (via the AllowOverride setting).

Now I have tried to add it into the php.ini file with a template but it still comes up with the same error.

Either I have added it wrong or the php does not recognize the command "register_long_arrays= on"

The command does show up in the php.ini file so the template is putting it in there ok.

Does anyone know about this or should I set it up using the .htacess file? ... and if so how do I set Apache to allow overides?

I know it says (via the AllowOverride setting) ... but where is it and how is it done.

Regards,

Tib

Offline thomasch

  • *
  • 232
  • +0/-0
Re: Trying to install Nolapro ... help needed with .htacess file
« Reply #1 on: May 28, 2008, 04:56:16 AM »
Either I have added it wrong or the php does not recognize the command "register_long_arrays= on"
The command does show up in the php.ini file so the template is putting it in there ok.

Try :

Code: [Select]
php_value register_long_arrays=1
thomas

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: Trying to install Nolapro ... help needed with .htacess file
« Reply #2 on: May 28, 2008, 06:00:32 AM »
Try :

Code: [Select]
php_value register_long_arrays=1
thomas

As far as I can tell thats only for the .htacess file.

In the php.ini file its register_long_arrays=on

I have tried it just in case ... but didn't work

I have the .htacess file setup that way ... but don't know how to set Apache to allow overides.

Regards,

Tib

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Re: Trying to install Nolapro ... help needed with .htacess file
« Reply #3 on: May 28, 2008, 06:50:53 AM »

OK I found a thread on how to get the .htaccess working ... it works.

But no matter what I do with php_flag register_long_arrays on .. or change to php_value register_long_arrays 1 ... the status page always shows off.

How can I find out what is blocking this command?

Regards,

Tib

Offline Marco Hess

  • *
  • 149
  • +0/-0
    • http://www.through-ip.com
Re: Trying to install Nolapro ... help needed with .htacess file
« Reply #4 on: May 28, 2008, 05:31:55 PM »
But no matter what I do with php_flag register_long_arrays on .. or change to php_value register_long_arrays 1 ... the status page always shows off.

It appears the register_long_arrays is a PHP version 5 setting.

Search in http://php.oregonstate.edu/manual/en/ini.core.php for register_long_arrays and you find a table that states: 'Available since PHP 5.0.0.'

Marco
Adelaide - Australia