VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: amwhite2008 on February 29, 2008, 19:31:02 PM

Title: [FIXED] Bug Report - Installation Error
Post by: amwhite2008 on February 29, 2008, 19:31:02 PM
Hi

I've come accross the following error when installing Virtuemart 1.1 rev. 1280 (Feb. 29th). After installation, installing virtuemart with sample data throws out the following:

Update Log

Fatal error: Call to undefined function vmshoulddebug() in /home/cw/public_html/new_site/administrator/components/com_virtuemart/classes/ps_database.php on line 76

I cant proceed past this point. I have tested it on the following systems:

Joomla 1.5.1
PHP 4.4.4 and PHP 5.0.45
MySQL 4.1.21 AND MySQL 5.2.5
Apache 1.3.36 AND Apache 2.2.6
IE 7

The lower versions were all tested together, and the higher versions all tested together. Joomla 1.5.1 Stable used in both tests, with IE7.

Thanks
Alex
Title: Re: [CONFIRMED] Bug Report - Installation Error
Post by: mauri on February 29, 2008, 22:58:05 PM
Confirmed: Must include require_once file /DebugUtil.php before calling function vmShouldDebug() in ps_database.php.
Title: Re: Bug Report - Installation Error
Post by: Laurelle on March 08, 2008, 19:23:06 PM
Hello,

I tried using the March 7 nightly build of VirtueMart_1.1.0_nightly-COMPLETE_PACKAGE.j15 on a Joomla 1.5.1 site. I have enabled the Legacy plugin, but I am still getting the same error messages:

Warning: installvirtuemart(/home/site/public_html/administrator/components/com_virtuemart/classes/ps_database.php) [function.installvirtuemart]: failed to open stream: No such file or directory in /home/site/public_html/administrator/components/com_virtuemart/install.php on line 112

Fatal error: installvirtuemart() [function.require]: Failed opening required '/home/site/public_html/administrator/components/com_virtuemart/classes/ps_database.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/site/public_html/administrator/components/com_virtuemart/install.php on line 112

Is there anything else that needs to be done so VM will install?

How do I uninstall VM now that it is partly installed? If I tried the installer to uninstall it I get the same sort of error messages and if I try to install a new copy, I get the message that there is already something using the directories. If I delete the components/com_comprofiler and administrator/components/com_comprofiler folders, VM still shows up in the list of installed components and if I try to install it again, I then see 2 copies of VM in the components list.
I have been wiping everything out, reinstalling Joomla and then trying to install VM, but I need to start installing other extensions and working on the site, so I can't be wiping it out everytime VM does not install properly.

HP Built on:       Linux server.hostinglab.ca 2.6.18-ovz028stab039.1-smp #1 SMP Tue Jul 24 12:12:48 MSD 2007 i686
Database Version:    4.1.22-standard
Database Collation:    utf8_general_ci
PHP Version:    4.4.7
Web Server:    Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.7 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.8b
Web Server to PHP interface:    apache
Joomla! Version:    Joomla! 1.5.1 Production/Stable [ Seenu ] 8-February-2008 22:00 GMT

Thanks.
Title: Re: [FIXED] Bug Report - Installation Error
Post by: aravot on March 08, 2008, 19:50:02 PM
VirtueMart 1.1 works in Joomla 1.5 without need of legacy plugin, can not duplicate your issue install OK for me, could be php4 issue.
Title: Re: [FIXED] Bug Report - Installation Error
Post by: Laurelle on March 08, 2008, 19:53:18 PM
Hello,

Thank you for you help. I have asked my hosting provider how to get php5 on the account.

Do you have any suggestions about my uninstall/install questions?

Thanks.