Jump to content


  • Content count

  • Joined

  • Last visited

Posts posted by wijnendael

  1. Installed this addon some time ago but never tested the checkout, i just upgraded to version 2.9 on oscommerce 2.3 and only just noticed that for some reason the addon is not functioning correctly. When doing a checkout i can enter the discount code in the box but when proceeding to the next page order confirmation no discount is displayed or applied. So when the checkout is completed no discount was applied. The sort order has been set correctly but nothing is displayed or deducted can somebody assist.

  2. Problems have been solved by removing completely this contribution (ckeditor & filemanager) and re-installing ckeditor in the old folder which was admin/ext/ckeditor and making the mods as per a older contribution, then downloading and adding the file manager from core five. After a little configuration of ckeditor and core five file manager everything seems to be working ok. Thanks everybody for the assistance pity i could not get it to work.

  3. I have another thread going trying to establish a problem with the install of ckeditor and filemanager but as i need to have ckeditor re-installed to as before without filemanager i am attempting to re-install just ckeditor but have the following happening after install and hope somebody can assist.

    Problem 1. Ckeditor shows twice now in the products entry one above the other why is this and how do i get only one.

    Problem 2. I have enabled the upload tab and browse server buttons in the ckeditor image.js file can some body tell me where i set the path for the upload to server button as i receive a error when using this button. I do not think the browse server button will work without a filemanager installed is this true ?

    Problem 3. it seems that following opening the add image box and then using the cancel button that the product entry page freezes and can only cancel by doing a page refresh does anyone know what causes this.

    Has anyone successfully installed ckfinder with ckeditor on osc 2.3 ?

  4. my latest finds with my install on a clean osc 2.3 are that there is no difference with the results i get using ckeditor 3.5.2 or 3.6 so this is not the reason. When i run new product i get the ckeditor and all buttons are there (browse server & upload tab) however if i use the upload tab i can browse and select a file but after pressing 'upload to server' the url window clears but i cannot find the file anywhere on the server. Secondly if i use the browse server button then the filemanager window opens and i can select a image and insert it into the product description box, however the images will not display as thumbs and there is a fault described across the top of the filemanager window that says:- Strict Standards: Redifining already defined constructor for class Minify in C:\XAMPP\htdocs\osctest\admin\ckeditor\Filemanager\minify.php on line 275. what does this mean ?

    It seems lots of people have this contribution running and went through the setup no problem so i cannot understand why i am having no luck


  5. Hi Francois, not sure what you are showing me in your last post. As i am still not able to get this to run in my live shop i have installed a clean copy of oscommerce 2.3 on my local drive with no contributions added and then installed the ckeditor and filemanager with code mods etc. When i run this using xampp i get the ckeditor to display and the filemanager to open when using the browse server button but the filemanager does not work correctly as there are some errors shown at the top of the window. The only thing i can see now is that there must be something in my live shop that is stopping ckeditor and filemanager from working but i dont know what it is. If i can get it to work on the local server then maybe i can compare the edited files with the shop files and see if there are any differences that may be the problem. All failing this i will have to try and go back to the earlier version of ckeditor 3.5.2 without the upload and browse server buttons as at least with this i had some functionality. If there is someone on the forum that offers a install service of ckeditor and filemanager on osc 2.3 please pm me with the details.

  6. Sorry Francois i posted incorrectly, i have installed before </HEAD> and not <HEAD> as i said but ckeditor will still not work !. I get the same results when i make all the changes the product discription entry box changes to a small size with 15 in the top left corner, as soon as i remove the added code in the admin/includes/functions/html_output.php the product description box returns to it normal state without ckeditor installed (default osc). As i said in previous posts i previously had ckeditor installed and working ok without file upload function. This was installed from a previous contribution and the version of ckeditor was 3.5.2, i have (i think ) removed all mods and additions that where made to install the ckeditor and filemanager but still cannot get either ckeditor or filemanager to function. The only difference from the instructions is that the version of ckeditor i have now downloaded and installed is 3.6 will this make a difference ?. the only part of the instructions i am not sure about is the changes to the paths but i think i have set these correct.

    So can anyone tell me why ckeditor will not show and why it simply changes the size of the product description box to very small and place 15 in the top left corner.

  7. I have temporally removed the code changes addins from the files that where modified and this as at least give me back the original product description box without the ckeditor. I really need to know now if this ckeditor and filemanager can be configured for osc 2.3 by just using the changes shown in the pdf install file or have other changes also to be made. Francois did you simply make the changes in pdf file for it to work correctly in version 2.3 or where there some changes made previously for ckeditor ? because i dont seem to be able to get it to work unless i am doing something incorrect.

    I uploaded the folder with ckeditor and filemanager to the admin folder then made the change to admin/includes/functions/html_output.php by adding the extra code. Then in admin/categories.php changed the entries of tep_draw_textarea_field to tep_draw_textarea_ckeditor. Added <script type="text/javascript" src="./ckeditor/ckeditor.js"></script> to admin/includes/template_top.php over the <head> position. Installed the files from the admin folder overwriting existing files, then mad the mods to the admin/ckeditor/filemanager/config.php and admin/ckeditor/filemanager/phpthumb/phpthumb.config.php and added the line in admin/includes/configure.php but it will not work and do not know the reason why like i said in previous post just get a small product description box with no ckeditor and 15 in the left corner.

    Urgent help required !!

  8. Back again and still with install problems. I have now deleted all installed files / folders & edits of ckeditor download the current versions of ckeditor and filemanager from the web, and setup the folder as described in the install file. I have uploaded the folder to the admin and made the changes as described in the install, the only differance i noted was that the file in the phpthumb folder (phpThumb.config) is spelled different than the original (phpthumb.config, no capital T) is this meant to be so as copying it to the folder creates another file and does not overwrite the original. Now when i try to enter a product i do not get the ckeditor displayed under product description but just get a smaller input box with 15 in the left corner. When i originally had ckeditor running (without filemanager) it was installed slightly differently and in the admin/ext folder not directly under admin, this way everything worked ok without the file upload function. How can i find out what the problem is with the ckeditor and filemanager install so i can get it to work correctly

  9. Well here i am again, upto now i have been making the changes and tests on my local pc but just made a change to the site and can no longer get into the admin of the shop but just keep receiving this error

    Parse error: syntax error, unexpected '<' in /home/mammot15/public_html/admin/includes/template_top.php on line 39

    I cannot seem to find what the problem is and even when i replace the file with the backup i get the same error

    Sorry to have to keep asking for assistance but this programming is very new to me and i am obviously doing something wrong can any body assist me with the problem so i can at least get the admin of my shop working again. The code from the template_top.php is:-





    osCommerce, Open Source E-Commerce Solutions



    Copyright © 2010 osCommerce


    Released under the GNU General Public License





    if (!$oscTemplate->hasBlocks('boxes_column_left')) {

    $oscTemplate->setGridContentWidth($oscTemplate->getGridContentWidth() + $oscTemplate->getGridColumnWidth());



    if (!$oscTemplate->hasBlocks('boxes_column_right')) {

    $oscTemplate->setGridContentWidth($oscTemplate->getGridContentWidth() + $oscTemplate->getGridColumnWidth());



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>>


    if (!defined('USE_CKEDITOR_ADMIN_TEXTAREA')) {

    tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, set_function) values ('', 'Use CKEditor', 'USE_CKEDITOR_ADMIN_TEXTAREA','true','Use CKEditor for WYSIWYG editing of textarea fields in admin',1,99,now(),'tep_cfg_select_option(array(\'true\', \'false\'),' )");

    define ('USE_CKEDITOR_ADMIN_TEXTAREA','true');


    if (USE_CKEDITOR_ADMIN_TEXTAREA == "true") {


    <script type="text/javascript" src="<?php echo tep_href_link('ext/ckeditor/ckeditor.js'); ?>"></script>

    <script type="text/javascript" src="<?php echo tep_href_link('ext/ckeditor/adapters/jquery.js'); ?>"></script>

    <script type="text/javascript">

    $(function() {

    var $editors = $('textarea');

    if ($editors.length) {

    $editors.each(function() {

    var editorID = $(this).attr("id");

    var instance = CKEDITOR.instances[editorID];

    if (instance) { CKEDITOR.remove(instance); }










    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" />

    <title><?php echo tep_output_string_protected($oscTemplate->getTitle()); ?></title>

    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>" />

    <link rel="stylesheet" type="text/css" href="ext/jquery/ui/redmond/jquery-ui-1.8.6.css" />

    <script type="text/javascript" src="ext/jquery/jquery-1.4.2.min.js"></script>

    <script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script>



    if (tep_not_null(JQUERY_DATEPICKER_I18N_CODE)) {


    <script type="text/javascript" src="ext/jquery/ui/i18n/jquery.ui.datepicker-<?php echo JQUERY_DATEPICKER_I18N_CODE; ?>.js"></<script>

    <script type="text/javascript">

    $.datepicker.setDefaults($.datepicker.regional['<?php echo JQUERY_DATEPICKER_I18N_CODE; ?>']);






    <script type="text/javascript" src="ext/jquery/bxGallery/jquery.bxGallery.1.1.min.js"></script>

    <link rel="stylesheet" type="text/css" href="ext/jquery/fancybox/jquery.fancybox-1.3.4.css" />

    <script type="text/javascript" src="ext/jquery/fancybox/jquery.fancybox-1.3.4.pack.js"></script>

    <link rel="stylesheet" type="text/css" href="ext/960gs/<?php echo ((stripos(HTML_PARAMS, 'dir="rtl"') !== false) ? 'rtl_' : ''); ?>960_24_col.css" />

    <link rel="stylesheet" type="text/css" href="stylesheet.css" />

    <?php echo $oscTemplate->getBlocks('header_tags'); ?>




    <div id="bodyWrapper" class="container_<?php echo $oscTemplate->getGridContainerWidth(); ?>">



    // BOF: WebMakers.com Added: Down for Maintenance

    if ((DOWN_FOR_MAINTENANCE == 'false') ||

    ((DOWN_FOR_MAINTENANCE == 'true') && (DOWN_FOR_MAINTENANCE_HEADER_OFF == 'false')) ) {

    require(DIR_WS_INCLUDES . 'header.php');


    // EOF: WebMakers.com Added: Down for Maintenance



    <div id="bodyContent" class="grid_<?php echo $oscTemplate->getGridContentWidth(); ?> <?php echo ($oscTemplate->hasBlocks('boxes_column_left') ? 'push_' . $oscTemplate->getGridColumnWidth() : ''); ?>">

  10. Hi, now i have looked at the file config in the filemanager and changed the line 64 to read 'C:/XAMPP/htdocs/mammoth/admin/includes/configure.php' and i now get the filemanager to open when selecting browse server however i still have a few problems. First i cannot get thumbnails to display just small red crosses and when i use the upload button i cannot see anything that allows me to select files so i am still wrong somewhere with this. Also if i use the upload tab from the image insert popup it allows me to select a image but when i press send to server the url box clears and then nothing happens, if i go to the browse server button the file i just sent to the server is not there

  11. Correction to my last post the reason for not seeing ckeditor was my fault and where i had placed the files in the wrong folder. This has been corrected now and the ckeditor is showing up but when i try to upload a file/photo i get the following error do i have something configured wrong in these files. the error is:-

    Warning: require(C:/XAMPP/htdocs/catalog/admin/includes/configure.php) [function.require]: failed to open stream: No such file or directory in C:\XAMPP\htdocs\mammoth\admin\ckeditor\Filemanager\config.php on line 64


    Fatal error: require() [function.require]: Failed opening required 'C:/XAMPP/htdocs/catalog/admin/includes/configure.php' (include_path='.;C:\XAMPP\php\PEAR') in C:\XAMPP\htdocs\mammoth\admin\ckeditor\Filemanager\config.php on line 64

  12. Francois & Dunweb thanks for the replies, i installed the filemanager (already had ckeditor installed) and made the edits to the code as described in the pdf file with the exception of the one in the catagories.php (head) this was made in the includes/template_top as pointed out by francois. Now i have another problem, before making the change to the template_top file the ckeditor was showing when adding a product and all the buttons where visible (browse server, upload) but it did not function correctly and after making the edit to the template_top the ckeditor is no longer shown when adding a product have i done something wrong now or should i remove everything and do the install again cleanly without using the ckeditor that was previously installed ?

  13. Well before i start i see there has been a lot of questions regarding image upload with ckeditor but after a few hours reading i dont seem to be getting anywhere so hope someone may have solved the problem and can give me a solution. Some time ago i installed ckeditor on my site and everything seemed to work fine until i tried to upload some images and found that there was no upload tab or browse server button. After reading something on the ckeditor site i found how to enable the upload tab but receive a error after pressing the send to server button. I have not found a way of enabling the browse server button. Has anybody found a way round this that will enable them to upload pictures from the local hard drive or do you need a licence from ckeditor to do this. Is there another wysiwyg editor other than ckeditor that has these functions as i read fckeditor used to have all these functions. Some help with this would be appreciated.

  14. Think i posted this in a new topic instead of adding it as a reply to this thread whoops !!

    Hi to everyone who posted on this thread. I have just downloaded and installed version 1.3 of request for quote and have the same problem on version 2.3 of oscommerce as previous posters. After reading through the posts i am unsure if the last post was a fix for the problem and would be grateful if somebody could tell me if it is. If this is the fix please tell me where i have to make the modification as the file is not named. The addon seems to do exactly what i require if i can get it to work correctly so please let me know.

  15. Hi to everyone who posted on this thread. I have just downloaded and installed version 1.3 of request for quote and have the same problem on version 2.3 of oscommerce as previous posters. After reading through the posts i am unsure if the last post was a fix for the problem and would be grateful if somebody could tell me if it is. If this is the fix please tell me where i have to make the modification as the file is not named. The addon seems to do exactly what i require if i can get it to work correctly so please let me know.

  16. Can someone assist. Just installed ckeditor into my osc 2.3 shop and have the following questions. The installation went without problem on both my test site running on my local machine under XAMPP and also on my live shop. However i have a couple of differences between the two when running, on my test site the ckeditor opens with a full width window but on my live shop it opens with a narrow window what causes this. On both sites i do not see where you can turn on and off ckeditor in the admin. Also on both sites there is no server browse button for adding images, by making a change in one of the files in ckeditor (as per a comment on ckeditor site) i can make the extra tab for upload image appear but it does not seem to function correctly. Solutions to these problems would be helpful to get this working correctly

  17. Hi G, thanks for the reply sorry about the lack of info so here it is:-

    The addon was downloaded from the forum (Ckeditor with PDW filemanager for Oscommerce) and it contains two sets of instruction a doc file and a pdf file. I have inserted the folders under admin and made the first change to the admin/includes/functions/html_output.php file but the next instruction i cannot find in the file, instruction as below.


    4) Open file admin/categories.php





    Above add:

    <script type="text/javascript" src="./ckeditor/ckeditor.js"></script>


    As far as i know i have not made any changes to this file previously, and have checked a original file from a download of ver 2.3 where i do not find this either. This is why i am wondering if the instructions maybe incorrect. It would be really useful to get this addon to work to make it easier for creating newsletters


  18. Hi, can someone assist me with the install of this addon. I have downloaded the files and uploaded the folders for ckeditor and file manager into the admin section of our shop. The problem i have encountered is that the first change to code in the admin/includes/functions/html_output.php went ok and the relevant part was found and new code added. However when i get to the second change that needs to be made in the admin/categories.php i cannot find the first part that requires changing ( </head> ) is there something i am missing here, help would be appreciated

  19. How doe the customer notification of discount code work. I understand that the customer can enter the discount code into the box on payment information, but in the explanation it says you can use the link for newsletters etc as follows:-

    Customer gets a discount by clicking a link or inserting the discount code while checkout. The link containing the discount code (http://www.yourshop.com/?discount_code=12345678) is especially convenient for newsletters sending out and promo campaigns conducting.

    Does this mean that you can include this link into your newsletter substituting your shop and discount_code=12345678 with your discount code number as i have tried this link but just get the normal shop page. How does it work ?

  20. Can anybody tell me where i can get the instructions for using discount code. I have tried entering a code and everything goes ok, is there a way to edit the code once it is installed i can only see delete. Does this mean that once entered the only way it can be edited is by deleting and starting again ?

  21. just to let everyone know that i have found the problem with the error i was receiving. With some help from the original contributor of this addon, it appears that the tables i added to the database from the discount code 2.6 for osc 2.3.1 readme files are incorrect and only one table is added as follows:-

    The structure of the discount_codes table should be


    CREATE TABLE discount_codes (

    discount_codes_id int(11) NOT NULL auto_increment,

    products_id text,

    categories_id text,

    manufacturers_id text,

    excluded_products_id text,

    customers_id text,

    orders_total tinyint(1) NOT NULL default '0',

    order_info tinyint(1) NOT NULL default '0',

    discount_codes varchar(8) NOT NULL default '',

    discount_values varchar(8) NOT NULL default '',

    minimum_order_amount decimal(15,4) NOT NULL default '0.0000',

    expires_date date NOT NULL default '0000-00-00',

    number_of_orders int(4) NOT NULL default '0',

    number_of_use int(4) NOT NULL default '0',

    number_of_products int(4) NOT NULL default '0',

    `status` tinyint(1) NOT NULL default '1',

    PRIMARY KEY (discount_codes_id)


    Hopefully now i can try out the addon and see if everything else functions ok

  22. Well still have a problem, now i can install the module but when i go to catalog and select discount code i get the following error in the page:


    Discount Codes


    Discount Code Applies to Discount Min Order Amt Expiry Orders Status Action

    1054 - Unknown column 'dc.manufacturers_id' in 'field list'


    select dc.discount_codes_id, dc.products_id, dc.categories_id, dc.manufacturers_id, dc.excluded_products_id, dc.orders_total, dc.order_info, dc.discount_codes, dc.discount_values, dc.minimum_order_amount, dc.expires_date, dc.number_of_orders, dc.number_of_use, dc.number_of_products, dc.status from discount_codes dc order by dc.discount_codes_id desc limit 0, 20


    Anybody tell me what this means, looks like i still doing something wrong but getting there, i did the mods to the database !