Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How do I install zen-cart module?

    Not at all. Have a go with the debug facility. You'll need to upload it much as you did with the Events Calendar. Refresh your browser and then download and read the log file. That will hopefully tell us where the error is, and once we know that, we can work out how to deal with it.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  2. #12
    Join Date
    May 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: How do I install zen-cart module?

    ok, here's what I got:

    [06-Jun-2009 18:06:30] PHP Warning: require(includes/templates/template_default/sideboxes/tpl_calendar_sidebox.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/fhlinux134/a/andreamilescrystals.co.uk/user/htdocs/test/includes/modules/sideboxes/calendar.php on line 22
    [06-Jun-2009 18:06:30] PHP Warning: require(includes/templates/template_default/sideboxes/tpl_calendar_sidebox.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/fhlinux134/a/andreamilescrystals.co.uk/user/htdocs/test/includes/modules/sideboxes/calendar.php on line 22
    [06-Jun-2009 18:06:30] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/sideboxes/tpl_calendar_sidebox.php' (include_path='.:/usr/share/pear-php5') in /home/fhlinux134/a/andreamilescrystals.co.uk/user/htdocs/test/includes/modules/sideboxes/calendar.php on line 22


    Quite frankly, that's gobbledygook to me.

  3. #13
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How do I install zen-cart module?

    What that tells us is that there is a step missing in the installation instructions. There's a folder called includes/templates/YOUR_TEMPLATE with three sub folders inside. That folder should have been renamed (in your case) includes/templates/customtemplate before being uploaded.

    No problem though. You can use CyberDuck to drag the subfolders from includes/templates/YOUR_TEMPLATE to includes/templates/customtemplate. Again, no worried about over-writing. Then delete includes/templates/YOUR_TEMPLATE (show it who's boss).
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #14
    Join Date
    May 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: How do I install zen-cart module?

    YEEEEEEAAAAAAAHHHHHHH!!!!!!!

    You're the boss! Thank you so much! You've been well helpful today.

    I'm sure I'll need you're help again, but for now you've been a saviour and a gentleman/woman. Thanks again.

    Rick

  5. #15
    Join Date
    May 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: How do I install zen-cart module?

    Back again!

    Now when I click on an event in my calendar side box, it takes me to the events_calendar page, which is great, but there is just a title bar saying events calendar and nothing else. I get this error when I do that debug thingy:

    [07-Jun-2009 08:06:42] PHP Parse error: syntax error, unexpected '}' in /home/fhlinux134/a/andreamilescrystals.co.uk/user/htdocs/test/includes/modules/events_calendar_listing.php on line 23

    PHP Code:
    <?php

    /** --------------------------------------------------------------------- */
    /** zen-cart Open Source E-commerce                                       */
    /** --------------------------------------------------------------------- */
    /**  Copyright (c) 2003 The zen-cart developers     */
    /**                                                                 */
    /**  http://www.zen-cart.com/index.php           */
    /**                                                                   */
    /** Portions Copyright (c) 2003 osCommerce                               */
    /** ----------------------------------------------------------------------   */
    /** This source file is subject to version 2.0 of the GPL license,       */
    /**  that is bundled with this package in the file LICENSE, and is       */
    /** available through the world-wide-web at the following url:           */
    /**  http://www.zen-cart.com/license/2_0.txt.                             */
    /**  If you did not receive a copy of the zen-cart license and are unable */
    /** to obtain it through the world-wide-web, please send a note to       */
    /** [email protected] so we can mail you a copy immediately.          */
    /** ----------------------------------------------------------------------  */
    /** $Id: events_manager.php 2007-07-10 [email protected]  */


    if(isset($listingTitle)){    echo '<H2>' $listingTitle '</H2>';}$events_split = new splitPageResults($events_query_rawMAX_DISPLAY_NUMBER_EVENTS'DAYOFMONTH(start_date)');$events_query $db->Execute($events_query_raw);//Show Paging Header ?if (($events_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3'))) {?>        </td>    </tr>    <tr>        <td>            <table border="0" width="100%" cellspacing="0" cellpadding="2">                <tr>                    <td class="smallText">                        <?php                             if(isset($displayPagingSuffix))                            {                                $displayPagingSuffix ' : ' $displayPagingSuffix;                            }                            echo $events_split->display_count(TEXT_DISPLAY_NUMBER_OF_PAGES $displayPagingSuffix);                         ?>                    </td>                    <td align="right" class="smallText">                        <?php echo TEXT_RESULT_PAGE ' ' $events_split->display_links(MAX_DISPLAY_PAGE_LINKSzen_get_all_get_params(array('page''info''x''y'))); ?>                    </td>                </tr>            </table>        </td>    </tr>    <tr>        <td><?php} $row = 0;$list_box_contents = array();//Add headings ...$list_box_contents[$row][] = array('align' => 'left',                                'params' => 'class="event_header"',                                'text' => '&nbsp;Start ' . TEXT_EVENT_DATE . '&nbsp;');$list_box_contents[$row][] = array('align' => 'left',                                'params' => 'class="event_header"',                                'text' => '&nbsp;End ' . TEXT_EVENT_DATE . '&nbsp;');$list_box_contents[$row][] = array('align' => 'center',                                'params' => 'class="event_header"',                                'text' => '&nbsp;' . TEXT_EVENT_TITLE . '&nbsp;');//Add listing rows ...    $events = $db->Execute($events_split->sql_query);
    //while($events = zen_db_fetch_array($events_query))
    while (!$events->EOF){    $row++;    list($year, $month, $day) = split ('[/.-]', $events->fields['start_date']);            $list_box_contents[$row][] = array('align'  => 'left',                                       'params' => 'class="event_description"',                                       'text'   => date("F j, Y", mktime(0, 0, 0, $month, $day, $year)));    $endDate = '-';    if(isset($events->fields['end_date']) && trim($events->fields['end_date']) != '')    {        list($year, $month, $day) = split ('[/.-]', $events->fields['end_date']);        $endDate = date("F j, Y", mktime(0, 0, 0, $month, $day, $year));    }    $list_box_contents[$row][] = array('align'  => 'left',                                       'params' => 'class="event_description"',                                       'text'   => $endDate);    $list_box_contents[$row][] = array('align' => 'left',                                       'params' => 'class="event_description"',                                       'text'  =>  '<a href="index.php?main_page='                                           . FILENAME_EVENTS_CALENDAR . '&select_event=' . $events->fields['event_id'] . '">'                                           . $events->fields['title'] . '</a>');
       $events->MoveNext();                                       }//Show listing 
      require($template->get_template_dir('tpl_tabular_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_tabular_display.php');//new productListingBox($list_box_contents);    if (($events_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3'))) {?>        </td>    </tr>    <tr>        <td>            <table border="0" width="100%" cellspacing="0" cellpadding="2">                <tr>                    <td class="smallText">                        <?php                             if(isset($displayPagingSuffix))                            {                                $displayPagingSuffix ' : ' $displayPagingSuffix;                            }                            echo $events_split->display_count(TEXT_DISPLAY_NUMBER_OF_PAGES $displayPagingSuffix);                         ?>                    </td>                    <td align="right" class="smallText">                        <?php echo TEXT_RESULT_PAGE ' ' $events_split->display_links(MAX_DISPLAY_PAGE_LINKSzen_get_all_get_params(array('page''info''x''y'))); ?>                    </td>                </tr>            </table>        </td>    </tr>    <tr>        <td><?php}else{?>            <table border=0 width="100%" cellspacing="0" cellpadding="4">                <tr>                    <td class="main"><br><?php echo TEXT_NO_EVENTS?></td>                </tr>            </table><?php}

    ?>

    I think I see a problem, but I've no idea how to fix it and I only saw it because dreamweaver kindly changes the colours of the code. There's a bit that says "<?php}else{?>" usually, that would be in red, but it's not. Is that the issue or am I barking up the wrong tree?

    Sorry for being such a dufus.

  6. #16
    Join Date
    May 2009
    Posts
    18
    Plugin Contributions
    0

    Default Re: How do I install zen-cart module?

    scratch last post.

    I think I was just being super thick! I added an event on a date in the past!!!!!

    It works fine.

  7. #17
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How do I install zen-cart module?

    Glad to hear you got it sorted, and congrats on getting to grips with the debug facility so quickly. It sounds like you came up that learning curve for basic skills very quickly.

    A reminder that questions about how the addon itself functions should be posted in its dedicated thread.

    I'm suspecting that you may have need of that thread as the quality of the programming leaves a little to be desired. From what you posted I can see tags that won't validate (xhtml, the browse language output by Zen Cart requires lowercase tags, not uppercase like "H2") and well-written code would be able to handle dates outside its valid range in a manner more elegant than crashing PHP. So you may have a bumpy ride ahead, but if it's doing broadly what its supposed to, then that's most of the battle won.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. How do I install Zen Cart on XAMPP?
    By xcergy in forum Installing on a Windows Server
    Replies: 19
    Last Post: 22 Dec 2010, 04:19 PM
  2. how to install Nochex in Zen Cart 1.3.8a?
    By omerhanif in forum Addon Payment Modules
    Replies: 12
    Last Post: 16 Feb 2010, 10:33 PM
  3. How do I install a Payment Module after Zen Cart is installed?
    By djpaley in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 24 May 2008, 07:33 PM
  4. How easy is it to install a zen-cart template?
    By ssbeats in forum Addon Templates
    Replies: 1
    Last Post: 22 Nov 2007, 09:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg