Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25
  1. #21
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Problem with sidebox image

    What text editor are you using to edit your files? I see that there are different amounts of space at the bottoms of your files. In some cases, a space or blank line after the ?> that ends a PHP file can cause an error. The ?> should be the absolute last thing in the file. PHP files can actually work fine without the closing ?> when there is no HTML after it, so try removing that from the ends of your files. (Many new or modified Zen Cart files do away with the closing ?> .)

  2. #22
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: Problem with sidebox image

    Hello g,
    I am using Crimson editor because it was recommended on this forum.

    This is my actions:
    use filezilla to download to a "changes" folder
    right mouse the file and select edit to open crimson editor
    make changes
    save
    upload to server using filezilla.
    turn sidebox on in Admin
    refresh the page

    I just opened tpl_ebook_sidebox.php in Crimson Editor and notice that line 24 is ?> but there are two blank lines (25 & 26) after this.

    The other two files do not have extra lines.

    I removed them and uploaded again but still it is the same.

    thank you for your patience
    Ivanna

  3. #23
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Problem with sidebox image

    Did you try removing the ?> from the ends of the files?

  4. #24
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: Problem with sidebox image

    g,
    I did try it now. I removed ?> and all spaces back to the last ; but it is still the same.

    Today, I will download blank_sidebox one more time and start again. I have little time left and must repair this or find an alternative method. I have a busy weekend

    I appreciate all the help you have given to me
    Ivanna

  5. #25
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: Problem with sidebox image

    I have downloaded blank_sidebox again and this time it is working

    There is only one difference:
    My first intent was to have two such instances and so I followed the instruction to change "replace all instances of blank_sidebox and BLANK_SIDEBOX" Perhaps this became the problem, I don't know.
    Because I have no more time I decided to only use one sidebox. I will try more on my next project.

    Although this sidebox now works, there is still one anomaly. Now there are two instance of the same sidebox!!!

    At first I think perhaps there are two files the same so I check every folder. Then I make a test with the file that I know is good (tpl_blank_sidebox.php) and change some text. It shows up in both instance. So I know it is not two files but one file showing two times.

    I have turned one file off in Admin and still it works ok.

    It took a long time to fix and still I do not understand the fault, but it is working now and I am pleased.

    Thank you for giving me so much of your time and expertise.

    Ivanna

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Problem with Sidebox
    By Interdigital_Designs in forum General Questions
    Replies: 7
    Last Post: 23 Aug 2011, 04:27 PM
  2. Sidebox content image placement problem
    By BenLit2009 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 28 Jul 2010, 06:31 AM
  3. Sidebox Table & Image Problem
    By anaesthesiac in forum Basic Configuration
    Replies: 30
    Last Post: 27 Nov 2009, 01:52 AM
  4. Problem with: Can I Use An Image For the Sidebox Header? Tutorial
    By mipavluk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Oct 2008, 09:59 PM
  5. Single Sidebox for External File image problem
    By aunrea in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 5 Jul 2007, 09:32 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