HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Ispconfig and Virtuemart (http://www.howtoforge.com/forums/showthread.php?t=2620)

shajazzi 19th February 2006 19:06

Ispconfig and Virtuemart
 
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:

falko 19th February 2006 20:37

Do you see any errors in the Apache error log?

shajazzi 19th February 2006 22:44

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/administra...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/administra...ment=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...4u.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...4u.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...4u.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...4u.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...4u.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...4u.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/...ment=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/...ment=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/...ment=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

falko 20th February 2006 00:18

Quote:

Originally Posted by shajazzi
My memory limit in/root/ispconfig/php/php.ini

memory_limit = 32M

/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.

shajazzi 20th February 2006 02:32

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/...ment=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/...ment=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/...ment=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

falko 20th February 2006 17:07

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

shajazzi 21st February 2006 20:47

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;)

falko 21st February 2006 21:25

Quote:

Originally Posted by shajazzi
I suppose it`s OK to leave the limit that I have set in /etc/php5/cli/php.ini

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


All times are GMT +2. The time now is 16:51.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.