mysql_real_escape_string() in backend...
2 posts
• Page 1 of 1
mysql_real_escape_string() in backend...
Hi, im exited to try the xmap, but after selecting the menu's i want to show and I press the [save] button I get the following sql error:
[list][*]1)I have tried to replace it with getEscaped() and get another error
[*]2) I have also tried to replace it width JDatabase::getEscaped() and then I get no errors, but the system does not save my menu selections![/list:u]
Can anyone help?
- Code: Select all
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in mydomain/administrator/components/com_xmap/classes/XmapSitemap.php on line 71
[list][*]1)I have tried to replace it with getEscaped() and get another error
[*]2) I have also tried to replace it width JDatabase::getEscaped() and then I get no errors, but the system does not save my menu selections![/list:u]
Can anyone help?
- carbonarm
- Fresh Boarder

- Posts: 2
- Joined: Thu May 15, 2008 8:07 am
Re:mysql_real_escape_string() in backend...
Did find the answer in another thread: http://joomla.vargas.co.cr/Forum?func=view&id=1010&catid=2
- carbonarm
- Fresh Boarder

- Posts: 2
- Joined: Thu May 15, 2008 8:07 am
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: Exabot [Bot] and 2 guests