News:

Support the VirtueMart project and become a member

Main Menu

[FIXED] MySQL warning 1155 on J1.5 with PHP4

Started by jenkinhill, January 13, 2008, 13:27:37 PM

Previous topic - Next topic

mtk

Quote from: aravot on January 26, 2008, 08:04:33 AM
The following error is still present in VM 1.1 rev 1189 when legacy plugin if off/unpublished, publishing legacy plugin the error goes away.

QuoteWarning: mysql_real_escape_string() expects parameter 2 to be resource, integer given in /home/example.com/public_html/libraries/joomla/database/database/mysql.php on line 193
Good, this is confirmed (both front / back ends)

Now only to fix with Legacy OFF


in my case it's

DB: 5.0.27-standard

Ronal

VM 1.1 is positioned as completely compatible to Joomla 1.5. This warning will be solved or it is necessary to publish legacy plug-in?

mtk

Quote from: Ronal on January 26, 2008, 11:57:52 AM
VM 1.1 is positioned as completely compatible to Joomla 1.5. This warning will be solved or it is necessary to publish legacy plug-in?
VM 1.1 is NOT final yet, this is the time to offer help & not demand for answer...

Ronal

Quote from: mtk on January 26, 2008, 12:09:39 PM
VM 1.1 is NOT final yet, this is the time to offer help & not demand for answer...
Fully agree. Best regards to developers.

gregdev

This should be fixed in rev. 1192. Please test.

Greg

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

MoonWizard

Removed last version, installed VirtueMart 1.1 revision 1192. Using 1.5 stable.

Error message dissapeared  :) with php 4.4.4 and NO legacy mode.

But I still see, the menu as a list. If I activate legacy mode, I still can see the menu exactly the same.

Hope this helps.

Nice work!

jenkinhill

Quote from: MoonWizard on January 26, 2008, 18:49:48 PM
But I still see, the menu as a list. If I activate legacy mode, I still can see the menu exactly the same.

Have you tried changing the VM component file permissions? CHMOD back anf frontend VM component files to 644. That should fix the menu.
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