Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Aug 2010
    Location
    Washington, DC
    Posts
    66
    Plugin Contributions
    0

    help question Blank Page.. Help!

    I recently installed a new template and performed a clean install of 1.3.9h. Everything worked fine before, but with the new template, I am experiencing a blank page at checkout AND in the admin when clicking on the shipping module. I have checked the debug and it keeps giving me error codes such as:

    Code:
    [25-Jun-2011 17:57:05] PHP Fatal error:  Cannot redeclare class item in /home/user/public_html/includes/modules/shipping/item.php on line 11
    I have had a number of these errors associated with the different shipping pages and after searching the forum and trying suggested fixes, none are working.

    Can someone please help?!

  2. #2
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Blank Page.. Help!

    Please note that i have no idea what i am talking about, BUT,

    Are you using the stock shipping module or are you trying to clone it for another function?
    Webzings Design
    Semi retired from Web Design

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Blank Page.. Help!

    Could you look and see if you have a duplicate or backup copy of:
    /includes/modules/shipping/item.php

    Or, check the language file:
    /includes/languages/english/modules/shipping/item.php

    and make sure that is the language file and not the code file ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Aug 2010
    Location
    Washington, DC
    Posts
    66
    Plugin Contributions
    0

    Default Re: Blank Page.. Help!

    Quote Originally Posted by Ajeh View Post
    Could you look and see if you have a duplicate or backup copy of:
    /includes/modules/shipping/item.php

    Or, check the language file:
    /includes/languages/english/modules/shipping/item.php

    and make sure that is the language file and not the code file ...
    No Duplicate copy... what should i look for in the english directory?

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Blank Page.. Help!

    Go to your Tools ... Developers Tool Kit ...

    in the bottom input box enter:
    class item

    select Catalog ... and click SEARCH ...

    What files come up for this?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Aug 2010
    Location
    Washington, DC
    Posts
    66
    Plugin Contributions
    0

    Default Re: Blank Page.. Help!

    Code:
    /home/user/public_html/includes/languages/english/modules/shipping/item.php
    
    Line #10 : class item {
     
    /home/user/public_html/includes/modules/shipping/item.php
    
    Line #10 : class item {
    this is what I found...

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Blank Page.. Help!

    This line:
    Code:
    /home/user/public_html/includes/languages/english/modules/shipping/item.php
    indicates that you have the item.php code file copied in the language directory ...

    Check the original files and you want to load the language file for the:
    /home/user/public_html/includes/languages/english/modules/shipping/item.php

    this is the one with all of the define statements in it ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Aug 2010
    Location
    Washington, DC
    Posts
    66
    Plugin Contributions
    0

    Default Re: Blank Page.. Help!

    I have... and I still get the error
    Code:
    [26-Jun-2011 16:04:54] PHP Fatal error:  Cannot redeclare class item in /home/USER/public_html/includes/modules/shipping/item.php on line 11

  9. #9
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Blank Page.. Help!

    Go back and re-read what Ajeh posted, and follow her instructions.

    You've got a class file loaded in your language folder. The file in the language folder needs to contain defines, not classes. Reload the original files.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Aug 2010
    Location
    Washington, DC
    Posts
    66
    Plugin Contributions
    0

    Default Re: Blank Page.. Help!

    Dr. Byte-

    I have downloaded a clean copy from the website and uploaded the contents of /languages/english/modules/

    I am still getting this error... I don't know if it's related to my new template (ABlueGrill) or if it is something else..

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Blank Page Help!?
    By Rick5150 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 15 Nov 2013, 03:45 AM
  2. v139h Help - blank page + unreachable
    By wirefram in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 4 Jul 2013, 09:47 PM
  3. Help! My Specials page is blank.
    By jam1968 in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 24 Feb 2011, 01:33 AM
  4. Blank Page Need Help 1.3.9h
    By whitey56 in forum General Questions
    Replies: 4
    Last Post: 26 Jan 2011, 01:31 AM
  5. Blank Page Help!
    By Boatersplanet in forum General Questions
    Replies: 6
    Last Post: 29 Dec 2010, 12:02 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