Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Jul 2020
    Location
    USA
    Posts
    88
    Plugin Contributions
    0

    Default Trouble updating define_main_page.php

    fuzztrip.com
    ZC 157c

    I have tried updating define_main_page.php using both define page editor and editing the file directly.

    If I click on storefront from the admin page or enter the url fuzztrip.com directly, I see the page as I have it edited and want it to be. A pic
    Click image for larger version. 

Name:	zzz.jpg 
Views:	27 
Size:	34.1 KB 
ID:	19660

    But if I click on the header or go anywhere else in the website and then return to the main page it looks like this
    Click image for larger version. 

Name:	zzzz.jpg 
Views:	34 
Size:	34.9 KB 
ID:	19661

    I have refreshed many times, tried different browsers amongst other things, but could use some assistance. Thanks!

  2. #2
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    525
    Plugin Contributions
    0

    Default Re: Trouble updating define_main_page.php

    Quote Originally Posted by Fuzztrip View Post
    fuzztrip.com
    ZC 157c

    I have tried updating define_main_page.php using both define page editor and editing the file directly.

    If I click on storefront from the admin page or enter the url fuzztrip.com directly, I see the page as I have it edited and want it to be. A pic
    Click image for larger version. 

Name:	zzz.jpg 
Views:	27 
Size:	34.1 KB 
ID:	19660

    But if I click on the header or go anywhere else in the website and then return to the main page it looks like this
    Click image for larger version. 

Name:	zzzz.jpg 
Views:	34 
Size:	34.9 KB 
ID:	19661

    I have refreshed many times, tried different browsers amongst other things, but could use some assistance. Thanks!
    So I know ->define_main_page.php is basically an HTML text field that only shows up in (and I think ->) a css defined div element at the front of your site. Once you click on other places, I think you are no longer on the "Main Page". The best thing you should do is to use your browser's developer console to go look at those elements and see how the they change from one state to another. Are they different div's, and getting information from different files?

    Is it possible that you have similar text in two completely different files? You can search for that specific text in the developer's tool kit (Admin page) to see if it is duplicated. I am just a neophyte here so hopefully someone that is more Zenned than me can chime in.

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,145
    Plugin Contributions
    11

    Default Re: Trouble updating define_main_page.php

    No problem here.

  4. #4
    Join Date
    Jul 2020
    Location
    USA
    Posts
    88
    Plugin Contributions
    0

    Default Re: Trouble updating define_main_page.php

    Quote Originally Posted by dbltoe View Post
    No problem here.
    Hi, are you seeing the first or second image?

    I have found that www.fuzztrip.com and fuzztrip.com both show different pages.

  5. #5
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: Trouble updating define_main_page.php

    I have found that www.fuzztrip.com and fuzztrip.com both show different pages.
    Yes, I see that also
    additionally, when you are on fuzztrip.com there is a "connection not secure" error on the page for the following things trying to be called un-secure into a secure page

    Loading mixed (insecure) display content “http://fuzztrip.com/images/button_al...est.png” on a secure page
    Loading mixed (insecure) display content “http://fuzztrip.com/images/button_all-vinyl-a-z.png” on a secure page
    Loading mixed (insecure) display content “http://fuzztrip.com/images/LP_button.png” on a secure page
    Loading mixed (insecure) display content “http://fuzztrip.com/images/2LP_button.png” on a secure page
    Loading mixed (insecure) display content “http://fuzztrip.com/images/7-10_button.png” on a secure page
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  6. #6
    Join Date
    Jul 2020
    Location
    USA
    Posts
    88
    Plugin Contributions
    0

    Default Re: Trouble updating define_main_page.php

    Quote Originally Posted by barco57 View Post
    Yes, I see that also
    additionally, when you are on fuzztrip.com there is a "connection not secure" error on the page for the following things trying to be called un-secure into a secure page

    Loading mixed (insecure) display content “http://fuzztrip.com/images/button_al...est.png” on a secure page
    Loading mixed (insecure) display content “http://fuzztrip.com/images/button_all-vinyl-a-z.png” on a secure page
    Loading mixed (insecure) display content “http://fuzztrip.com/images/LP_button.png” on a secure page
    Loading mixed (insecure) display content “http://fuzztrip.com/images/2LP_button.png” on a secure page
    Loading mixed (insecure) display content “http://fuzztrip.com/images/7-10_button.png” on a secure page
    Which I don't understand. Those images are loaded into the same folder as many of the other images on the site. I changed the image urls to https and it made no change. I then changed them to src="images/image-name.png" and it made no change.

  7. #7
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: Trouble updating define_main_page.php

    This is one of those things I would actually need to see the files on to figure out. Forum troubleshooting makes me rage...LOL
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  8. #8
    Join Date
    Jul 2020
    Location
    USA
    Posts
    88
    Plugin Contributions
    0

    Default Re: Trouble updating define_main_page.php

    I have completely removed the file define_main_page.php from my override folder. I am still getting two different versions of the main page. with www.fuzztrip being correct and fuzztrip.com being incorrect.

  9. #9
    Join Date
    Jul 2020
    Location
    USA
    Posts
    88
    Plugin Contributions
    0

    Default Re: Trouble updating define_main_page.php

    Quote Originally Posted by barco57 View Post
    This is one of those things I would actually need to see the files on to figure out. Forum troubleshooting makes me rage...LOL
    What files would you like to see. If you see post #8 I have completely removed define_main_page.php from my override folder.

  10. #10
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: Trouble updating define_main_page.php

    That sounds like there is some sort of caching going on at the host level
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Trouble updating database
    By NWCE in forum Upgrading to 1.5.x
    Replies: 26
    Last Post: 25 Mar 2015, 03:45 PM
  2. Banner on define_main_page.php?
    By ladiessymbol in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Jul 2009, 01:43 PM
  3. want to add php code in define_main_page.php
    By parin123 in forum General Questions
    Replies: 1
    Last Post: 2 Jul 2009, 04:27 PM
  4. Lost define_main_page.php
    By skydivebob in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Mar 2009, 05:01 AM

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