News:

Support the VirtueMart project and become a member

Main Menu

[FIXED] Errors on Joomla 1.5.0

Started by Ronal, January 24, 2008, 23:20:49 PM

Previous topic - Next topic

Ronal

Use
- Joomla 1.5.0 download from http://joomla.org/
- com_virtuemart_1.1.0_nightly (24.01.08)

When I start installation get:
QuoteNotice: Undefined variable: option in z:\home\mysite.com\www\administrator\components\com_virtuemart\install.virtuemart.php on line 42
Then enter to the admin panel of VM and get some errors:
QuoteUpdate Log
Invalid checksum for file "the var PHP_SELF from chars like " or ' $_SERVER['PHP_SELF'] = htmlspecialchars( $_SERVER['PHP_SEL" : 39541 calculated, 0 expectedSomething went wrong with Unpacking the Archive Files
The Sample Data was installed successfully.

Warning: mysql_real_escape_string() expects parameter 2 to be resource, integer given in z:\home\mysite.com\www\libraries\joomla\database\database\mysql.php on line 193

Notice: Use of undefined constant VM_LOGFILE_ENABLED - assumed 'VM_LOGFILE_ENABLED' in z:\home\mysite.com\www\administrator\components\com_virtuemart\classes\Log\LogInit.php on line 117
[Денвер: показать возможную причину ошибки]
Notice: Use of undefined constant VM_DEBUG_IP_ENABLED - assumed 'VM_DEBUG_IP_ENABLED' in z:\home\mysite.com\www\administrator\components\com_virtuemart\classes\Log\display.php on line 119

Notice: Only variables should be assigned by reference in z:\home\mysite.com\www\components\com_virtuemart\virtuemart_parser.php on line 144
QuoteNotice: Undefined variable: VMVERSION in z:\home\mysite.com\www\administrator\components\com_virtuemart\header.php on line 571

Notice: Undefined variable: VMVERSION in z:\home\mysite.com\www\administrator\components\com_virtuemart\header.php on line 571

Notice: Undefined variable: VMVERSION in z:\home\mysite.com\www\administrator\components\com_virtuemart\header.php on line 571
QuoteWarning: mysql_real_escape_string() expects parameter 2 to be resource, integer given in z:\home\mysite.com\www\libraries\joomla\database\database\mysql.php on line 193

Notice: Use of undefined constant VM_LOGFILE_ENABLED - assumed 'VM_LOGFILE_ENABLED' in z:\home\mysite.com\www\administrator\components\com_virtuemart\classes\Log\LogInit.php on line 117
[Денвер: показать возможную причину ошибки]
Notice: Use of undefined constant VM_DEBUG_IP_ENABLED - assumed 'VM_DEBUG_IP_ENABLED' in z:\home\mysite.com\www\administrator\components\com_virtuemart\classes\Log\display.php on line 119

Notice: Only variables should be assigned by reference in z:\home\mysite.com\www\components\com_virtuemart\virtuemart_parser.php on line 144
Where are problems ?

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

mtk

Freshly installed 1186.

I can confirm this error:

Notice: Undefined variable: VMVERSION in ...\administrator\components\com_virtuemart\header.php on line 571

mtk

OK, I'll refine my statement.

when entering the admin for the first time after installation (I did with sample data - in case relevant) - we get this warning.

after any move (click or even switch views), the warning is gone...


So I guess, the problem comes from the version.php file (strange way to instantiate the class)

gregdev

Yes, I see it now. I missed the other $VMVERSION error. It was lower down on the screen. I'll look at it tomorrow (unless someone else gets it first).

Greg

[tr][td]
[/td][td]
www.plainlycode.com[/td][/tr]
[/table]

Ronal

#5
I down the latest version from http://forum.virtuemart.net/index.php?topic=31381.0
Install process was successful, but when I click "Install SAMPLE DATA >>" get some errors:
QuoteWarning: mysql_real_escape_string() expects parameter 2 to be resource, integer given in z:\home\mera.by\www\libraries\joomla\database\database\mysql.php on line 193

Notice: Only variables should be assigned by reference in z:\home\mera.by\www\components\com_virtuemart\virtuemart_parser.php on line 144


Ronal

I install PHP5 and all errors have disappeared.
Thanks developers for your work!

ps: Whether errors for PHP4 will be corrected??

gregdev

The $VMVERSION error should be fixed in SVN rev. 1187.

Greg

[tr][td]
[/td][td]
www.plainlycode.com[/td][/tr]
[/table]

gregdev

QuoteNotice: Only variables should be assigned by reference in z:\home\mera.by\www\components\com_virtuemart\virtuemart_parser.php on line 144

This notice is cleaned up too in rev. 1187. Please test other areas of the store to ensure this particular fix didn't break anything else.

Greg

[tr][td]
[/td][td]
www.plainlycode.com[/td][/tr]
[/table]

aravot

Everyone could you please try rev 1189 to see if it is fixed, see my signature for download link.

Ronal

Thanks for your support, now I shall start to test and I shall inform result.

masih

ERROR

i downlad the last version : 1.1.0 beta3

i create a storeadmin account . but .
when i login in site and click on ADMIN in virtuemart module .i redirect to :
http://127.0.0.1:8080/?page=store.index&pshop_mode=admin&option=com_virtuemart&Itemid=1
but my site is in http://127.0.0.1:8080/joomla/

i think it is an error in localhost server

can you fix it ? please ?

thanks for new version of this component .

aravot

masih, please don't hijack the thread your issue is different, try installing on a remote server, see if the problem persists