Jump to content

abbott75

Members
  • Content count

    89
  • Joined

  • Last visited

Posts posted by abbott75


  1. I posted this in the main DCC thread, but it seems like a ghost town in there...

     

    Trying to install on 2.3.3

     

    I have it all working, however I had to fiddle with this step:

    OPEN catalog/checkout_payment.php
    FIND on line 269:
     <h2><?php echo TABLE_HEADING_COMMENTS; ?></h2>
    <div class="contentText">
    <?php echo tep_draw_textarea_field('comments', 'soft', '60', '5', $comments); ?>
    </div>
    <?php
    ADD this code after:
    /* kgt - discount coupons */
    if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' ) {
    ?>
    <h2><?php echo TABLE_HEADING_COUPON; ?></h2>
    <div class="contentText">
    </div>
    
     <div class="contentText">
     <?php echo ENTRY_DISCOUNT_COUPON.' '.tep_draw_input_field('coupon', '', 'size="32"', $coupon); ?>
    </div>
    
    <?php
    }
    /* end kgt - discount coupons */
    

     

    In 2.3.3, the last <?php isn't there. I removed the ?> and <?php from the code to add, and the contribution appears to work, however on checkout_payment.php I can see the code "//* kgt - discount coupons */ if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' ) { ?>" and "} //* end kgt - discount coupons */"

     

    Would I be ok to remove that line and the comments, or will my world implode??

     

    Thanks


  2. <?php
    }
    ?>
    
    </table>
    
    <?php
    $radio_buttons++;
    }
    ?>
    
    </div>
    
    <h2><?php echo TABLE_HEADING_COMMENTS; ?></h2>
    
    <div class="contentText">
    <?php echo tep_draw_textarea_field('comments', 'soft', '60', '5', $comments); ?>
    </div>
    //* kgt - discount coupons */
    if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' ) {
    ?>
    <h2><?php echo TABLE_HEADING_COUPON; ?></h2>
    
    <div class="contentText">
    </div>
    
     <div class="contentText">
     <?php echo ENTRY_DISCOUNT_COUPON.' '.tep_draw_input_field('coupon', '', 'size="32"', $coupon); ?>
    </div>
    
    
    }
    //* end kgt - discount coupons */
    
    <div class="contentText">
    <div style="float: left; width: 60%; padding-top: 5px; padding-left: 15%;">
     <div id="coProgressBar" style="height: 5px;"></div>
    
     <table border="0" width="100%" cellspacing="0" cellpadding="2">
     <tr>
    	 <td align="center" width="33%" class="checkoutBarFrom"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" class="checkoutBarFrom">' . CHECKOUT_BAR_DELIVERY . '</a>'; ?></td>
    	 <td align="center" width="33%" class="checkoutBarCurrent"><?php echo CHECKOUT_BAR_PAYMENT; ?></td>
    	 <td align="center" width="33%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_CONFIRMATION; ?></td>
     </tr>
     </table>
    </div>
    
    <div style="float: right;"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', null, 'primary'); ?></div>
    </div>
    </div>
    
    <script type="text/javascript">
    $('#coProgressBar').progressbar({
    value: 66
    });
    </script>
    
    </form>
    
    <?php
    require(DIR_WS_INCLUDES . 'template_bottom.php');
    require(DIR_WS_INCLUDES . 'application_bottom.php');
    ?>


  3. Trying to install on 2.3.3

     

    I have it all working, however I had to fiddle with this step:

    OPEN catalog/checkout_payment.php
    FIND on line 269:
     <h2><?php echo TABLE_HEADING_COMMENTS; ?></h2>
    <div class="contentText">
    <?php echo tep_draw_textarea_field('comments', 'soft', '60', '5', $comments); ?>
    </div>
    <?php
    ADD this code after:
    /* kgt - discount coupons */
    if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' ) {
    ?>
    <h2><?php echo TABLE_HEADING_COUPON; ?></h2>
    <div class="contentText">
    </div>
    
     <div class="contentText">
     <?php echo ENTRY_DISCOUNT_COUPON.' '.tep_draw_input_field('coupon', '', 'size="32"', $coupon); ?>
    </div>
    
    <?php
    }
    /* end kgt - discount coupons */
    

     

    In 2.3.3, the last <?php isn't there. I removed the ?> and <?php from the code to add, and the contribution appears to work, however on checkout_payment.php I can see the code "//* kgt - discount coupons */ if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' ) { ?>" and "} //* end kgt - discount coupons */"

     

    Would I be ok to remove that line and the comments, or will my world implode??

     

    Thanks


  4. Ok I found how to add new pages.

     

    As an example I added "Gift Voucher FAQ"

     

    I open all the dyn_information.php and found everywhere that has INFORMATION_FUNCTION_ABOUT

    Now I copied and pasted it.

    Now I edited the new line so that it now looks like INFORMATION_FUNCTION_GVFAQ

    Anywhere in the lines I copied and pasted, if I saw "about_us" change it to "gv_faq"

    Did the same for the define statements.

     

    That seems very time consuming, surely an easier way could be built into this contrib?


  5. It's a mistake in the instructions as mentioned here recently. Add the following to the database_tables.php file

     define('TABLE_HEADERTAGS_KEYWORDS', 'headertags_keywords');
    

     

    Hi Jack,

    This line is still missing from the install notes, was driving me crazy for a few minutes before I found the thread! :)


  6. If all other urls work when it is turned on, then it is most likely a problem in your configure file. This may help.

     

    Thanks Jack. I assume you mean includes/config and not admin/includes/config?

     

    In FireFox I get a "The site could be temporarily unavailable or too busy. Try again in a few

    moments." error, and in IE "The site could be temporarily unavailable or too busy. Try again in a few

    moments."

    Could it be that the script is somehow stressing the server too much and overloading it when I attempt to order an item? Or more likely just a simple coding typo somewhere?

     

    Thanks so much!


  7. All that can be said is that something is using up the memory. It is probably some loop in the code or some corruppted database entry. There's no way to know other than to try to isolate it. If it only fails when you click articles, then it is almost certainly related to Article Manager. But if it also fails when you click cusomters, for example, then it is something common to them. You just have to go through everything and try to narrow it down.

    Thanks.

    I tried dropping all the tables related to Article Manager in phpmyadmin and rerunning the SQL file (to check if there was an error in the database), and I am getting this error:

    SQL query:
    
    INSERT INTO `configuration_group` ( `configuration_group_id` , `configuration_group_title` , `configuration_group_description` , `sort_order` , `visible` )
    VALUES (
    '456', 'Article Manager', 'Article Manager site wide options', '20', '1'
    );
    
    MySQL said: Documentation
    #1062 - Duplicate entry '456' for key 1 

    Hate to be a pain, but any suggestions on getting around this one?


  8. Why not try turning it off to see?

    Hi Jack

    Whatever the problem is I'm having, it has be totally stumped!

    SEO URLs is not causing the problem, and I'm sure I have Article Manager installed correctly.

    Are you able to tell me the possible causes for this error, and I'll look into fixing it, and see if it has any impact on the other issue I'm having?

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /home/fullscal/public_html/**********/includes/functions/articles.php  on line 51

     

    Thanks

    Adam


  9. No need to be sorry mate, the work you do already is amazing!

    I'll have a look in the morning and see what I can find.

     

    Cheers :thumbsup:

     

    Yes, as I recall, you can use the create tool. I think some code had to be added to have it work - see perviously in this thread. But then it is only setup to do them manually, I think. I'm sorry for not knowning for sure but I haven't looked at this contribution in a while and I don't have it setup here to test it. I keep meaning to update it but keep running out of time.


  10. Hi Jack, me again :huh:

     

    I have installed this contrib without issue.

     

    I am a complete RSS noob, I've never been into blogging or anything so I've never used it. However my customers are asking for an RSS feed of new products. How would I go about creating on of these? Would I need to use the "RSS Create" tool? Sorry for the stupid question, but how?

     

    Thanks so much for all the help you provide :thumbsup:

    Adam


  11. Thanks Jack.

    I've gone through and retraced my steps, I'm still getting the "Allowed memory" error. I'm not seeing an error message one the page for the other error, however the site stops loading where that error was. Any other ideas, or is a complete reinstall my best bet?

     

    Is it possible that Ultimate URLs 5 is causing another issue?

     

    Cheers

    Adam

     

    The second error is due to part of the contribution not being found so it appears it was not installed correctly. The first error can be caused by a number of things but since the contribution is not installed correctly, there's no need to consider it at this point. Search the contribution for "tep_has_topic_subtopics" and then compare what you find with what's on the server.


  12. Hi Jack

    I'm sure you're getting sick of hearing from me, but I really appreciate your help here :thumbsup:

     

    I've installed article manager 1.57.4 and have found the following two errors. I hope theyre easy fixes!

     

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /home/MYUSER/public_html/ablacey/includes/functions/articles.php  on line 51

    and

    Fatal error: Call to undefined function tep_has_topic_subtopics() in /home/MYUSER/public_html/includes/boxes/articles.php  on line 69

     

    Thanks heaps mate,

    Adam :thumbsup:


  13. Thanks Jack :thumbsup:

    A bit of searching files and this forum and I found the issue.

     

    For anyone also having the same trouble, here is what I did.

    In the SEO5 folder, under "extras" is a htaccess file. Add this to yours.

    In Admin>config>Seo Urls 4, change "Choose URL Rewrite Type" from Standard to Rewrite.

     

    That should fix it :thumbsup:


  14. It appears to be working correctly on all my Shipping ect pages, just the categories and products. Would this indicate that I have made an error on product_info.php?

     

    Or is there a compatibility issue with Ultimate URLs 5?

     

    Thanks so much for your help!

     

    (If it helps, my site is here.)


  15. Hi Jack, :thumbsup:

    I installed Header Tags SEO lastnight without a problem.

     

    Unfortunately I can't quite work out how to make it "work". Before I installed this, I had a very simple contrib that changed the Title of the product pages to the name of the product. It was great for SEO. I think this contrib is supposed to do the same, but I can't figure out how?

     

    Sorry if its a silly question, I'm down with the flu and my head isn't quite with me right now :huh:

     

    :thumbsup:

     

    EDIT: I'm using Ultimate URLS 5 if it makes a difference.

×