Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2008
    Location
    Minnesota
    Posts
    93
    Plugin Contributions
    0

    red flag Problem with Add Pages to More Information...

    I am using Zen Cart version 1.3.8a and my site is Knot & Bauble.

    My issue is I installed (successfully) the mod to add more pages to the more information side box quite some time ago and discovered that I needed an additional page - so I copied one of the pages, changed all the relevant information on the page to reflect that it is indeed page 8, uploaded it all correctly, but I get a 404 page error when I click on it.

    I noticed that the other pages (5,6 & 7) have a different url:

    while page 8 is different:

    so I am thinking somewhere I have something coded wrong, but I have been pouring over all the files I have changed for the past 3 hours and I cannot seem to find the problem and I was hoping that someone else with fresh eyes may be able to figure out my brain fart.

    I am truly stumped.

  2. #2
    Join Date
    Jan 2008
    Location
    Minnesota
    Posts
    93
    Plugin Contributions
    0

    Default Re: Problem with Add Pages to More Information...

    Opps I should have put this in another post - but also I just noted that the page does not show in the admin/configuration define pages editor - I checked to make sure the page was on and it isn't even listed. So would my problem be something with the sql patch not having a page 8? I know nothing about these patches so I am just fishing blind

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Problem with Add Pages to More Information...

    Susan,

    You have missed one piece - defining the FILENAME - you would do that in the extra_datafiles directory (if I remember correctly)
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Jan 2008
    Location
    Minnesota
    Posts
    93
    Plugin Contributions
    0

    Default Re: Problem with Add Pages to More Information...

    You have missed one piece - defining the FILENAME - you would do that in the extra_datafiles directory (if I remember correctly)
    Kim - which file would this be specifically?

  5. #5
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Problem with Add Pages to More Information...

    Admin tools developers tool search for page 7 (admin and catalog)

    Then go to the files and add the line for page 8.

    In the sql patch add a line for page 8 to add this to the configuration - define pages editor.

    Tina

  6. #6
    Join Date
    Jan 2008
    Location
    Minnesota
    Posts
    93
    Plugin Contributions
    0

    Default Re: Problem with Add Pages to More Information...

    Tina - would I just copy and paste the portion of the sql patch to the editor to send the query or do I just upload it as the whole document with the new portion added?

    Also - I'm not sure what you mean when you stated:

    Admin tools developers tool search for page 7 (admin and catalog)

    Then go to the files and add the line for page 8.
    which files? I added all the lines for this in the other files and created a page 8 as well.

    When I do a search on the page 7 and page 8 (admin and catalog) I get the following:

    /home/knotnbau/public_html/admin/includes/languages/english.php

    Line #170 : define('BOX_TOOLS_DEFINE_PAGE_8','Page 8');

    /home/knotnbau/public_html/includes/languages/english/page_8.php

    Line #25 : define('TEXT_INFORMATION', 'Page 8 information goes here.');

    /home/knotnbau/public_html/includes/modules/pages/page_8/header_php.php

    Line #4 : * Page 8
    I get similar for 7 only it states 7 not eight.
    Last edited by SaMortensen; 30 Mar 2009 at 09:30 PM. Reason: addition of info

  7. #7
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Problem with Add Pages to More Information...

    Susan,
    As always - backup your database then you can upload the whole thing - probably get a message "not inserted" already exists - something similar for pages 5, 6 and 7.

    My guess is the includes/filenames.php needs to be updated and the english.php and the custom_template/english.php file as well.

    Tina

  8. #8
    Join Date
    Jan 2008
    Location
    Minnesota
    Posts
    93
    Plugin Contributions
    0

    Default Re: Problem with Add Pages to More Information...

    Thanks for the help Tina - the error message I get when uploading the patch is as follows:
    1062 Duplicate entry 'DEFINE_PAGE_5_STATUS' for key 2
    in:
    [INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values ('Define Page 5', 'DEFINE_PAGE_5_STATUS', '1', 'Enable the Defined Page 5 Link/Text?
    0= Link ON, Define Text OFF
    1= Link ON, Define Text ON
    2= Link OFF, Define Text ON
    3= Link OFF, Define Text OFF', '25', '85', now(), now(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\'),');]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    Also, you were correct that the filenames file needed updating, but for the life of me I cannot locate an english.php in either of the folders for the default or custom folders. There is the one in includes/language/ folder, which had been updated, but no english.php in the classic folder
    Last edited by SaMortensen; 30 Mar 2009 at 09:48 PM.

  9. #9
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Problem with Add Pages to More Information...

    The folders/files structure is:

    includes/languages/

    1. Custom_Folder
    2. english (folder)
    3. english.php
    Open Custom_folder
    1. english.php
    Does that help?

    Tina

  10. #10
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Problem with Add Pages to More Information...

    The error was in the filenames.php one line not added!

 

 

Similar Threads

  1. Add Pages to More Information Sidebox
    By charmedbytina2 in forum Addon Sideboxes
    Replies: 103
    Last Post: 12 Apr 2015, 04:09 AM
  2. Add Pages to More Information Sidebox
    By rjgonzalez in forum Basic Configuration
    Replies: 1
    Last Post: 30 Sep 2009, 10:39 PM
  3. Add pages to More Information Box?
    By centrix in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Apr 2007, 07:33 PM
  4. add pages to More Information box
    By pgfox46 in forum General Questions
    Replies: 4
    Last Post: 15 Dec 2006, 07:10 AM

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