11
tony_it
Re: smartsection 2.14 and xoops 2.4.2
  • 2009/12/13 11:57

  • tony_it

  • Just popping in

  • Posts: 27

  • Since: 2009/12/3


wow....thanks for the quickly answer!!!

maybe it could be the php version, i'm testing my sites on easyphp 5.30 which is also the php version...



12
tony_it
smartsection 2.14 and xoops 2.4.2
  • 2009/12/12 12:13

  • tony_it

  • Just popping in

  • Posts: 27

  • Since: 2009/12/3


Hi guys,

I've just updated my XOOPS version to 2.4.2 and i have some problem with the smartsection module.
whe i try to create a new category i got this error message:

Fatal errorCall to undefined method SmartsectionForm_EditCategory::XoopsThemeForm() in htdocsmodulessmartsectionclassform-editcategory.php on line 22


and I'm not able to proceed.

anyone else has this problem?



13
tony_it
Re: Content Module and XOOPS 2.4.1
  • 2009/12/12 0:29

  • tony_it

  • Just popping in

  • Posts: 27

  • Since: 2009/12/3


e.g

In edit_content.php on line 69

$sqlinsert="UPDATE ".$xoopsDB->prefix(_MIC_CONTENT_PREFIX)." SET page_description='".addslashes($description)."', keywords='".$keywords."', parent_id='".intval($parent_id)."', title='".$title."', ptitle='".
            
$ptitle."', text='".addslashes($message)."', visible='".intval($visible)."', nohtml='".intval($nohtml)."', nosmiley='".intval($nosmiley)."', nobreaks='".
            
intval($nobreaks)."', nocomments='".intval($nocomments)."', address='".$externalURL."', submenu='".intval($submenu)."', newwindow='".
            
intval($newwindow)."', date=NOW(), link=0, header_img='" $header_img "' WHERE storyid='".intval($id)."'";


replace with:

$sqlinsert="UPDATE ".$xoopsDB->prefix(_MIC_CONTENT_PREFIX)." SET page_description='$description', keywords='".$keywords."', parent_id='".intval($parent_id)."', title='".$title."', ptitle='".
            
$ptitle."', text='$message', visible='".intval($visible)."', nohtml='".intval($nohtml)."', nosmiley='".intval($nosmiley)."', nobreaks='".
            
intval($nobreaks)."', nocomments='".intval($nocomments)."', address='".$externalURL."', submenu='".intval($submenu)."', newwindow='".
            
intval($newwindow)."', date=NOW(), link=0, header_img='" $header_img "' WHERE storyid='".intval($id)."'";


do the same with all the rest of addslashes.

Let me know if it works to you...



14
tony_it
xoops 2.3 and fckeditor
  • 2009/12/5 14:33

  • tony_it

  • Just popping in

  • Posts: 27

  • Since: 2009/12/3


Hi guys,

I'm using XOOPS 2.3 due to language translation and I've some problem with fckeditor,smartsection and latin characters.

When I post an article all work good, but when I try to edit an article insted of è,ò,à,ù,",' etc... it shows html code

e.g

è =
è

" =
quot;


any ideas?

p.s: i change charset in global.php commenting UTF-8
define('_CHARSET', 'ISO-8859-1');
//define('_CHARSET', 'UTF-8');



15
tony_it
Re: Content Module and XOOPS 2.4.1
  • 2009/12/5 14:21

  • tony_it

  • Just popping in

  • Posts: 27

  • Since: 2009/12/3


removing the addslashes function from

\modules\content\admin\copy_content.php

and

\modules\content\admin\edit_content.php

solved the problem, but i don't know if this fix can cause security consequence.




TopTop
« 1 (2)



Login

Who's Online

206 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits