Ispconfig and Virtuemart

Discussion in 'Installation/Configuration' started by shajazzi, Feb 19, 2006.

  1. shajazzi

    shajazzi Member

    I installed Joomla with safe mode disabled and it works OK until I try to install Virtuemart.
    The component installs OK but the shop isn`t there.
    I noticed this when I tried to migrate a site with phpshop from my windows server, I had to manually remove all phpshop components and modules for the site to work also there was a problem with the news feed scroller which also had to be removed.
    I have also tried to install the complete joomla eCommerceEdition package but this results in not being able to view the site front end, but i can log in to the back end
    After installation of the component I get this message:

    Update Log

    The Sample Data was installed successfully.

    * Frontend Files successfully extracted.
    * Frontend Archive File successfully deleted.
    * Backend Files successfully extracted.
    * Backend Archive File successfully deleted.

    Any suggestions?

    shajazzi:confused:
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Do you see any errors in the Apache error log?
     
  3. shajazzi

    shajazzi Member

    Yes I recieved the following errors

    [Sat Feb 18 15:57:22 2006] [error] [client 192.168.1.100] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_html.php on line 312
    [Sat Feb 18 15:57:29 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_session.php on line 203
    [Sat Feb 18 15:57:50 2006] [error] [client 192.168.1.100] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in /srv/www/web6/web/administrator/modules/mod_fullmenu.php on line 114, referer: http://www.webnet4u.co.uk/administrator/index2.php?option=com_installer&element=mambot
    [Sat Feb 18 15:57:57 2006] [error] [client 192.168.1.100] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 64 bytes) in /srv/www/web6/web/includes/domit/xml_domit_lite_parser.php on line 1309, referer: http://www.webnet4u.co.uk/administrator/index2.php?option=com_installer&element=component
    [Sat Feb 18 16:09:01 2006] [error] [client 192.168.1.100] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_html.php on line 312
    [Sat Feb 18 16:09:10 2006] [error] [client 192.168.1.100] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_html.php on line 236
    [Sat Feb 18 16:11:07 2006] [error] [client 192.168.1.100] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_html.php on line 236
    [Sat Feb 18 16:11:16 2006] [error] [client 192.168.1.100] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_html.php on line 162
    [Sat Feb 18 16:11:55 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_html.php on line 404, referer: http://www.google.co.uk/search?hl=en&q=www.webnet4u.co.uk&meta=
    [Sat Feb 18 16:15:15 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_html.php on line 404, referer: http://www.google.co.uk/search?hl=en&q=www.webnet4u.co.uk&meta=
    [Sat Feb 18 16:15:48 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_cart.php on line 144, referer: http://www.google.co.uk/search?hl=en&q=www.webnet4u.co.uk&meta=
    [Sat Feb 18 16:15:50 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_cart.php on line 86, referer: http://www.google.co.uk/search?hl=en&q=www.webnet4u.co.uk&meta=
    [Sat Feb 18 16:16:18 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_html.php on line 162, referer: http://www.google.co.uk/search?hl=en&q=www.webnet4u.co.uk&meta=
    [Sat Feb 18 16:16:19 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_html.php on line 83, referer: http://www.google.co.uk/search?hl=en&q=www.webnet4u.co.uk&meta=
    [Sat Feb 18 16:16:52 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in : Options not allowed here
    [Sat Feb 18 17:54:04 2006] [alert] [client 88.105.4.93] /srv/www/web6/web/.htaccess: Options not allowed here
    [Sat Feb 18 17:54:04 2006] [alert] [client 88.105.4.93] /srv/www/web6/web/.htaccess: Options not allowed here
    [Sat Feb 18 17:54:37 2006] [alert] [client 88.105.4.93] /srv/www/web6/web/.htaccess: Options not allowed here
    [Sat Feb 18 17:54:37 2006] [alert] [client 88.105.4.93] /srv/www/web6/web/.htaccess: Options not allowed here
    [Sat Feb 18 17:54:38 2006] [alert] [client 88.105.4.93] /srv/www/web6/web/.htaccess: Options not allowed here
    [Sat Feb 18 17:54:38 2006] [alert] [client 88.105.4.93] /srv/www/web6/web/.htaccess: Options not allowed here
    [Sat Feb 18 17:54:39 2006] [alert] [client 88.105.4.93] /srv/www/web6/web/.htaccess: Options not allowed here
    [Sat Feb 18 17:54:39 2006] [alert] [client 88.105.4.93] /srv/www/web6/web/.htaccess: Options not allowed here
    [Sat Feb 18 17:54:39 2006] [alert] [client 88.105.4.93] /srv/www/web6/web/.htaccess: Options not allowed here
    [Sat Feb 18 17:54:39 2006] [alert] [client 88.105.4.93] /srv/www/web6/web/.htaccess: Options not allowed here
    [Sat Feb 18 18:59:15 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_payment_method.php on line 331, referer: http://webnet4u.co.uk/administrator/index2.php
    [Sat Feb 18 18:59:35 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_product.php on line 717, referer: http://webnet4u.co.uk/administrator/index2.php?option=com_installer&element=component
    [Sat Feb 18 18:59:35 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_product.php on line 717, referer: http://webnet4u.co.uk/administrator/index2.php?option=com_installer&element=component
    [Sat Feb 18 18:59:35 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_product.php on line 717, referer: http://webnet4u.co.uk/administrator/index2.php?option=com_installer&element=component
    [Sat Feb 18 19:27:27 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_payment_method.php on line 331, referer: http://webnet4u.co.uk/administrator/index2.php
    [Sat Feb 18 19:27:32 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_product.php on line 717, referer: http://webnet4u.co.uk/administrator/index2.php
    [Sun Feb 19 17:04:16 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_payment_method.php on line 387, referer: http://webnet4u.co.uk/administrator/index2.php


    My memory limit in/root/ispconfig/php/php.ini

    memory_limit = 32M

    shajazzi
     
  4. falko

    falko Super Moderator Howtoforge Staff

    /root/ispconfig/php/php.ini is the php.ini for ISPConfig's PHP, not for the main Apache's PHP.
    Please run
    Code:
    updatedb
    locate php.ini
    You should then find another php.ini, maybe /etc/php.ini or similar. You must increase the memory limit in that file and restart Apache.
     
  5. shajazzi

    shajazzi Member

    Thanks falko,
    I found a number of php.ini files

    /etc/php.ini
    /etc/php5/apache2/php.ini
    /etc/php5/cli/php.ini
    /etc/php5/fastcgi/php.ini
    /root/Desktop/install_ispconfig/compile_aps/php.ini
    /root/ispconfig/php/php.ini
    /root/ispconfig/php/php.ini~

    I first change the /etc/php.ini to 32M and no joy, then i changed the /etc/php5/cli/php.ini to 32M and still no joy, these are the errors I am getting.

    [Mon Feb 20 00:14:18 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_payment_method.php on line 331, referer: http://webnet4u.co.uk/administrator/index2.php
    [Mon Feb 20 00:14:32 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_product.php on line 717, referer: http://webnet4u.co.uk/administrator/index2.php
    [Mon Feb 20 00:14:48 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_product.php on line 717, referer: http://webnet4u.co.uk/administrator/index2.php?option=com_installer&element=component
    [Mon Feb 20 00:14:48 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_product.php on line 717, referer: http://webnet4u.co.uk/administrator/index2.php?option=com_installer&element=component
    [Mon Feb 20 00:14:48 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_product.php on line 717, referer: http://webnet4u.co.uk/administrator/index2.php?option=com_installer&element=component
    [Mon Feb 20 00:19:17 2006] [error] [client 88.105.4.93] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /srv/www/web6/web/administrator/components/com_virtuemart/classes/ps_payment_method.php on line 331, referer: http://webnet4u.co.uk/administrator/index2.php

    Plus I am still getting this on a blank page after the component install.

    Update Log

    The Sample Data was installed successfully.

    * Frontend Files successfully extracted.
    * Frontend Archive File successfully deleted.
    * Backend Files successfully extracted.
    * Backend Archive File successfully deleted.

    shajazzi
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Edit this one: /etc/php5/apache2/php.ini and restart Apache.
     
  7. shajazzi

    shajazzi Member

    Virtuemart now up and runnig

    Thanks again falko,
    The shop is now loaded and working fine.
    I suppose it`s OK to leave the limit that I have set in /etc/php5/cli/php.ini

    shajazzi;)
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Yes, it's ok. It's the php.ini for the command line (cli) PHP.
     

Share This Page