Forums / All Other Contributions/Addons / Help with Dual Pricing and FCK editor

Help with Dual Pricing and FCK editor

Locked

Views: 906

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
16 Jan 2009, 7:38 AM
#1
jmelwak avatar

jmelwak

New Zenner

Join Date:
Jul 2007
Posts:
64
Plugin Contributions:
0

Help with Dual Pricing and FCK editor

Everything was working great with FCK editor until i installed dual pricing. No when i go to edit products i get an error

Warning: Missing argument 1 for FCKeditor::__construct(), called in /home/kemprobe/public_html/test/admin/includes/modules/product/collect_info.php on line 413 and defined in /home/kemprobe/public_html/test/admin/includes/fckeditor_php5.php on line 42

does anyone have any idea whats going on here? any help is greatly appreciated.

16 Jan 2009, 9:07 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Help with Dual Pricing and FCK editor

Your addon probably changed the collect_info.php file mentioned in the error message, and now you've got mixed versions of the code.
You'll have to merge the correct changes into the file rather than replacing it entirely.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Jan 2009, 8:26 PM
#3
jmelwak avatar

jmelwak

New Zenner

Join Date:
Jul 2007
Posts:
64
Plugin Contributions:
0

Re: Help with Dual Pricing and FCK editor

oh boy, how do i do that?

3 Feb 2010, 11:23 PM
#4
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Re: Help with Dual Pricing and FCK editor

Just in case anyone else has this problem, here's the two collect_info.php merged.
This makes the Dual pricing work with the newer version of FCKeditor. Zen 1.3.8a + FCKeditor 2.6.4.1
Replace your admin/includes/modules/product/collect_info.php with this code. Changes are at lines 409 - 421
Cheers!