![]() ![]() |
Jan 17 2012, 04:46 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 17-January 12 Member No.: 1,040 |
Parse error: syntax error, unexpected '(', expecting '}' in /home/m15639/public_html/CaimbraNalingua/administrator/components/com_post_by_email/controller.php on line 752 My Joomla is 1.5 and the extension is 1.3.5 Do you know what can be the problem??? Kind regards from Brazil |
|
|
|
Jan 18 2012, 08:51 AM
Post
#2
|
|
|
Advanced User ![]() ![]() ![]() ![]() Group: Advanced Member Posts: 218 Joined: 15-April 11 Member No.: 761 |
I bought the component, installed it and when I try to use the first time, when I click in the option Post by E-mail in the Menu, a error message appers: Parse error: syntax error, unexpected '(', expecting '}' in /home/m15639/public_html/CaimbraNalingua/administrator/components/com_post_by_email/controller.php on line 752 My Joomla is 1.5 and the extension is 1.3.5 Do you know what can be the problem??? Kind regards from Brazil Hi, marcosmazo! Strangely enough, there IS a syntax error in the component You can either download the updated version again or you can do the following: Please open the controller with a text editor and find the line mentioned. Replace: Код $db->setQuery ( "UPDATE #__kunena_messages_text SET message={$db->quote($fields ['message'])} WHERE mesid={$db->quote($id)}" ); with: Код $db->setQuery("UPDATE #__kunena_messages_text SET message=".$db->quote($fields['message'])." WHERE mesid=".$db->quote($id)); Save the file. Best regards, Ivan |
|
|
|
Jan 18 2012, 12:21 PM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 17-January 12 Member No.: 1,040 |
Hi, marcosmazo! Strangely enough, there IS a syntax error in the component You can either download the updated version again or you can do the following: Please open the controller with a text editor and find the line mentioned. Replace $db->setQuery ( "UPDATE #__kunena_messages_text SET message={$db->quote($fields ['message'])} WHERE mesid={$db->quote($id)}" ); with: $db->setQuery("UPDATE #__kunena_messages_text SET message=".$db->quote($fields['message'])." WHERE mesid=".$db->quote($id)); Save the file. Best regards, Ivan Thank you very much! I will try your suggestion now!!! Regards from Brazil! |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 2nd June 2026 - 01:29 AM |