Page 59 of 75 FirstFirst ... 949575859606169 ... LastLast
Results 581 to 590 of 741
  1. #581
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Printable Price list :: support thread

    Quote Originally Posted by Thannaree View Post
    Thanks for looking into it. Setting the classes on the same side fixed it.



    Thanks again.
    Most excellent! I'm glad that it's now working the way you want.

  2. #582
    Join Date
    Apr 2012
    Posts
    212
    Plugin Contributions
    1

    Default Re: Printable Price list :: support thread

    [09-Apr-2015 20:51:45 UTC] PHP Warning: require(includes/templates/template_default/templates/tpl_pricelist_default.php): failed to open stream: No such file or directory in E:\xampp\htdocs\zencart\kwmagic\includes\templates\evoluzion\common\tpl_main_pag e.php on line 117

    [09-Apr-2015 20:51:45 UTC] PHP Fatal error: require(): Failed opening required 'includes/templates/template_default/templates/tpl_pricelist_default.php' (include_path='.;E:\xampp\php\PEAR') in E:\xampp\htdocs\zencart\kwmagic\includes\templates\evoluzion\common\tpl_main_pag e.php on line 117


    after install I am getting this
    I found no tpl_pricelist_default.php

    Please help.Thanks in advance

  3. #583
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Printable Price list :: support thread

    That's because there's not a tpl_pricelist_default.php file that's part of the distribution. Are you sure that you uploaded all the pertinent files into the proper directories?

  4. #584
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Printable Price list :: support thread

    Quote Originally Posted by lat9 View Post
    That's because there's not a tpl_pricelist_default.php file that's part of the distribution. Are you sure that you uploaded all the pertinent files into the proper directories?
    I am also getting this same error / partial blank page on a local 1.5.4 installation when calling http://www.yourdomain.com/index.php?main_page=pricelist in the front end.

    Yes, all files have been merged / uploaded as per instructions (and double-checked).

    Swapped templates a few times and it is the same result on all templates.


    Template Classic Green (default)

    [16-Jul-2015 11:23:08 Australia/Brisbane] PHP Warning: require(includes/templates/template_default/templates/tpl_pricelist_default.php): failed to open stream: No such file or directory in /var/www/dispensary/includes/templates/template_default/common/tpl_main_page.php on line 122
    [16-Jul-2015 11:23:08 Australia/Brisbane] PHP Fatal error: require(): Failed opening required 'includes/templates/template_default/templates/tpl_pricelist_default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/dispensary/includes/templates/template_default/common/tpl_main_page.php on line 122

    Template Bentley Classic

    [16-Jul-2015 11:19:32 Australia/Brisbane] PHP Warning: require(includes/templates/template_default/templates/tpl_pricelist_default.php): failed to open stream: No such file or directory in /var/www/dispensary/includes/templates/bentley_classic/common/tpl_main_page.php on line 141
    [16-Jul-2015 11:19:32 Australia/Brisbane] PHP Fatal error: require(): Failed opening required 'includes/templates/template_default/templates/tpl_pricelist_default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/dispensary/includes/templates/bentley_classic/common/tpl_main_page.php on line 141
    Template Responsive Sheffield Blue 2.0

    [16-Jul-2015 11:23:37 Australia/Brisbane] PHP Warning: require(includes/templates/template_default/templates/tpl_pricelist_default.php): failed to open stream: No such file or directory in /var/www/dispensary/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php on line 249
    [16-Jul-2015 11:23:37 Australia/Brisbane] PHP Fatal error: require(): Failed opening required 'includes/templates/template_default/templates/tpl_pricelist_default.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/dispensary/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php on line 249
    Lines 122, 141 and 249 respectively in includes/templates/TEMPLATE_AS_PER_ABOVE/common/tpl_main_page.php are all calling for

    PHP Code:
    require($body_code); 
    Tracing $body_code in DTK, I am ending up at /includes/templates/template_default/common/main_template_vars.php

    That reads

    PHP Code:
      if (file_exists(DIR_WS_MODULES 'pages/' $current_page_base '/main_template_vars.php')) { 
        
    $body_code DIR_WS_MODULES 'pages/' $current_page_base '/main_template_vars.php'
      } else { 
        
    $body_code $template->get_template_dir('tpl_' preg_replace('/.php/''',$_GET['main_page']) . '_default.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_' $_GET['main_page'] . '_default.php'
      } 
    and that file

    PHP Code:
    DIR_WS_MODULES 'pages/' $current_page_base '/main_template_vars.php' 
    does not exist in the package. Therefore ZC is looking for a corresponding template file and tries to call tpl_pricelist_default.php and that does not exist either, hence the error.

    Please correct me if I am wrong.

  5. #585
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Printable Price list :: support thread

    The pricelist page's processing is similar to the popup-type pages, so the tpl_main_page.php file should be loaded from /includes/templates/template_default/pricelist/tpl_main_page.php ... not from /includes/templates/{current_template}/common/tpl_main_page.php (which is where the tpl_{current_page_base}_default.php file's load is determined).

    That determination happens pretty early in a ZC page-load, handled by /index.php's processing. That said, I'm puzzled by the fact that the page-load is going down the "common" directory processing given that the plugin's files have been uploaded to the proper directories.

  6. #586
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Printable Price list :: support thread

    FWIW, I just installed and ran the plugin in a (relatively) vanilla ZC 1.5.3 installation and it ran without issue. The /index.php file hasn't changed since dinosaurs roamed the earth (or at least back as far as Zen Cart 1.3.5, which is pretty close).

    @frank18, has your site's /index.php file been modified in any way? What other plugins/templates do you have installed? Any changes to /includes/classes/template_func.php?

  7. #587
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Printable Price list :: support thread

    Quote Originally Posted by lat9 View Post
    FWIW, I just installed and ran the plugin in a (relatively) vanilla ZC 1.5.3 installation and it ran without issue. The /index.php file hasn't changed since dinosaurs roamed the earth (or at least back as far as Zen Cart 1.3.5, which is pretty close).

    @frank18, has your site's /index.php file been modified in any way? What other plugins/templates do you have installed? Any changes to /includes/classes/template_func.php?
    Thanks lat9

    Have not tried this mod in ZC versions 1.5.3 and lower, only in 1.5.4

    No modification to the /index.php file, it is still the same version

    * @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $
    Same with /includes/classes/template_func.php - no changes at all.

    What puzzles me is that it happens in all 3 templates (see my post above) including the default.

    Plugins (store front only): image handler 4, zen lightbox, minimum order - really nothing that would affect the functionality of this mod.

    The store has been around since v1.3.7 (2007) and progressively updated to 1.5.4

    I will pop this into another local 1.5.4 site on the weekend and see what happens.

  8. #588
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Printable Price list :: support thread

    Relevant Server Information:

    Server OS: Linux 3.16.0-36-generic Database: MySQL 5.5.43-0ubuntu0.14.04.1
    Server Date: 18/07/2015 10:08:19 Database Date: 18/07/2015 10:08:19
    Server Up Time: Disabled/Unavailable HTTP Server: Apache/2.4.7 (Ubuntu)
    PHP Version: 5.5.9-1ubuntu4.11 (Zend: 2.5.0) PHP Memory Limit: 128M PHP Safe Mode: Off

  9. #589
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Printable Price list :: support thread

    Installed on another 1.5.4 local site and have no problem running this plugin - so somewhere in the other site something has gone astray.....

    Let's keep digging....

  10. #590
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Printable Price list :: support thread

    Perhaps something in a .htaccess file?

 

 
Page 59 of 75 FirstFirst ... 949575859606169 ... LastLast

Similar Threads

  1. Printable Price List by Paulm
    By helshop in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 25 Jan 2007, 12:27 PM
  2. printable price list
    By sparxs in forum All Other Contributions/Addons
    Replies: 26
    Last Post: 1 Nov 2006, 03:18 PM
  3. printable price list
    By Alik in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Sep 2006, 03:35 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR