Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    May 2009
    Posts
    12
    Plugin Contributions
    0

    Default Pls Help Urgent...thanks in advance.

    Greetings...

    I am the lead webmaster for a project i have been working on for one of my clients. Over the past month or so i have made NUMEROUS modification to the site. Mostly configuring side boxes and editing min and max values. As of recently I also have been messing around with some of the CSS style sheet files...i dont EVER edit the core zen cart code if anything i use overrides religiously. I am running Zen Cart 1.3.8a.

    This is what is happening. I am unable to add any new products.
    Let me further elaborate. I can add new categories ie.."Test" via admin console and it inserts fine. If i then pick that category "test" while navigating the site...it will load fine and just say there are NO products in this category. Now heres the issue...if i now go add a new product..ie.."test prod" within the formally created category "Test" and then try and navigate to category "Test" on the web site the page hangs. It wont load AT ALL.

    Let me share some of the things I have done to try and figure out what is going on.

    I have tried putting products into a New Category ie.."Test" and leaving out various combination's of information..ie i wont add a product description or product quantity or ill leave out a product image and so forth. Suffice to say, this issue has nothing to do with any corruption in the action of product description, prices, sales, images and so forth

    I then noticed that if i disable (not delete) "test prod" in Category "Test." The page will load...and tell me "There are no products to list in this category." and then right below it say "New Products For October - MENS FOOTWEAR" and then it actually shows the products (remember the product is disabled so this should not even happen). If you then click on this product it then loads and says "Sorry, the product was not found."

    This issue has me absolutely stumped.

    I have created a series of test categories and products to provide a link for each instance of what is going on.

    Example 1
    http://360urbanwear.com/index.php?ma...Path=24_72_197

    As you can see here in category "Test 3" within Category Jordan within Mens Footwear....there is no product active or disabled in here and it loads fine as an empty category with no products to display

    Example 2
    http://360urbanwear.com/index.php?ma...Path=24_72_196

    In this Example i have one active test product inside this Category "Test..." within Category Jordan within Mens Footwear....As you can see you are looking at a page that has failed to load and there are no error messages.

    Example 3
    http://360urbanwear.com/index.php?ma...Path=24_72_195

    In this Example i have two DISABLED test products inside Category "Test 2..." within Category Jordan within Mens Footwear....And as you can see. It loads. Then states there are no products in this category (which it should being that they are disabled)...but then below goes on to show new products for October and then displays the two disabled products. (side note. I have never seen this "new products for "insert Month" so i dont even know what this is about)

    I initially thought this was only affecting NEW CATEGORIES i tried to add...but it turns out some other random OLDER categories are also suffering from this problem.
    i.e..

    http://360urbanwear.com/index.php?ma...cPath=24_72_58

    This is Category Air Jordan 7 within Category Jordan within Mens Footwear...This category is OLD very old.

    So on top of the fact this issue is affecting about 3 old categories, as i stand i cannot add anything to the site. Well i can...but it wont work so thats as good as not being able to.

    If any one has any clues please help..

    the most recent back up is about 1 week old..so i really dont want to have to lose all i have done. in that time frame. And being that i don't really remember every single file i have modified it would be a supper pain to manually back up all folders and then use my back up and then try and figure out wat changes were lost.

    Do you guys think this problem is being caused by a css file? i doubt it...because then it wldnt be only limited to New categories and some old ones.

    Thanks guys....

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

    Default Re: Pls Help Urgent...thanks in advance.

    I would suspect a mod.

    What happens when you change to classic?
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    May 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Pls Help Urgent...thanks in advance.

    Quote Originally Posted by dbltoe View Post
    I would suspect a mod.

    What happens when you change to classic?
    So i put on the default template....and the problem stopped. So that def narrows down my suspicions as to it being caused by an override file.

    Interesting...when i changed to the default template...and i clicked on one of the categories that wont load at all...and it worked. I then changed back to my custom template..refreshed the page and when it came back with my custom template the category loaded...but the second i backed out and tried to come back in the problem was still there...

    hmmm

    anyone have any ideas of what FILE cld be the culprit..it would be so much easier for me to isolate the file and figure out what i screwed up in it.

  4. #4
    Join Date
    May 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Pls Help Urgent...thanks in advance.

    thank to those that have sent me PM messages trying to help...its better you comment here so others may get some insight from what you think the problem is....

    I am currently manually replacing original template files...but nothing seems to fix this issue....

    other than reverting to the deafult template..so i this def means the issue is in an override file.

  5. #5
    Join Date
    May 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Pls Help Urgent...thanks in advance.

    Hi...does any one have any ideas? i am still having issues with this problem.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Pls Help Urgent...thanks in advance.

    Quote Originally Posted by mr.xerox View Post
    I then noticed that if i disable (not delete) "test prod" in Category "Test." The page will load...and tell me "There are no products to list in this category." and then right below it say "New Products For October - MENS FOOTWEAR" and then it actually shows the products (remember the product is disabled so this should not even happen).
    With respect to the New Products center-box showing disabled items, there's a small bug which can be fixed as described here: http://www.zen-cart.com/forum/showpo...88&postcount=3
    It shouldn't have any direct bearing on your other problems though.
    .

    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.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Pls Help Urgent...thanks in advance.

    Quote Originally Posted by mr.xerox View Post
    (side note. I have never seen this "new products for "insert Month" so i dont even know what this is about)
    You can control what timeframe is included in the selection of products which show when that box appears: https://www.zen-cart.com/tutorials/index.php?article=3
    .

    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.

  8. #8
    Join Date
    May 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Pls Help Urgent...thanks in advance.

    Quote Originally Posted by DrByte View Post
    With respect to the New Products center-box showing disabled items, there's a small bug which can be fixed as described here: http://www.zen-cart.com/forum/showpo...88&postcount=3
    It shouldn't have any direct bearing on your other problems though.
    thank you for that note...i will surely do this once i get this major issue resolved.

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

    Default Re: Pls Help Urgent...thanks in advance.

    Quote Originally Posted by mr.xerox View Post
    Now heres the issue...if i now go add a new product..ie.."test prod" within the formally created category "Test" and then try and navigate to category "Test" on the web site the page hangs. It wont load AT ALL.
    There's an FAQ on the topic of "blank pages", which includes a link to a Debug Logging utility which will show you the PHP errors that are occurring in the background. Fatal errors will cause the page to stop drawing. The error message is not sent to the screen because it's safer to NOT show internal error messages to your customers or to search engines. Instead, you can turn on the debug logging to see what problems may exist.
    See here: https://www.zen-cart.com/tutorials/index.php?article=82
    .

    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
    May 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Pls Help Urgent...thanks in advance.

    Quote Originally Posted by DrByte View Post
    There's an FAQ on the topic of "blank pages", which includes a link to a Debug Logging utility which will show you the PHP errors that are occurring in the background. Fatal errors will cause the page to stop drawing. The error message is not sent to the screen because it's safer to NOT show internal error messages to your customers or to search engines. Instead, you can turn on the debug logging to see what problems may exist.
    See here: https://www.zen-cart.com/tutorials/index.php?article=82
    After installing the debug utility (thanks to the advice of DrByte) I was able to isolate what internal error message zen cart was generating in reference to my issue...
    i hope some one can tell me wat edits i need to make in this logo side box file to fix this issue...

    here is the debugger error message...

    [30-Oct-2009 20:37:01] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/craverep/public_html/includes/languages/english/extra_definitions/theme198/logo_sidebox_defines.php:49) in /home/craverep/public_html/includes/functions/functions_general.php on line 44

    here is my code in logo_sidebox_defines.php :

    <?php
    //
    //Contribution: Logo Sidebox
    //Author: Clyde Jones (http://mysticmountainnaturals.com/testsite)
    //Version: 1.1
    //Updated: 8/21/2008
    //License: under the GPL - See attached License for info.
    //Based on: Blank Sidebox by Judi Cox - www.MommaMuse.com
    //Support: Only given via the forums, please. (http://www.zen-cart.com/forum/showthread.php?t=57694)
    // --------------------------------------------------
    // zen-cart Open Source E-commerce
    // Copyright (c) 2003-2006 The zen-cart developers
    // http://www.zen-cart.com/index.php
    // Portions Copyright (c) 2003 osCommerce
    // --------------------------------------------------
    // $Id: logo_sidebox_defines.php,v 1.1 8/21/2008

    define('BOX_HEADING_LOGO_SIDEBOX', '');
    define('LOGO_SIDEBOX_IMAGE_WIDTH', '212');
    define('LOGO_SIDEBOX_IMAGE_HEIGHT', '80');
    define('LOGO_SIDEBOX_IMAGE', 'test_logo.jpg');
    define('LOGO_SIDEBOX_IMAGE_TEXT', 'Shop Our Jordan Collection');

    //this is optional if you want to use the logo as a link
    //replace your_link.com with the link you choose
    define('LOGO_SIDEBOX_LINK', 'http://360urbanwear.com/index.php?main_page=index&cPath=24_72');


    define('LOGO_SIDEBOX2_IMAGE_WIDTH', '212');
    define('LOGO_SIDEBOX2_IMAGE_HEIGHT', '80');
    define('LOGO_SIDEBOX2_IMAGE', 'test_logo2.jpg');
    define('LOGO_SIDEBOX2_IMAGE_TEXT', 'Shop Our Nike Collection');

    //this is optional if you want to use the logo as a link
    //replace your_link.com with the link you choose
    define('LOGO_SIDEBOX2_LINK', 'http://360urbanwear.com/index.php?main_page=index&cPath=24_73');


    define('LOGO_SIDEBOX3_IMAGE_WIDTH', '212');
    define('LOGO_SIDEBOX3_IMAGE_HEIGHT', '80');
    define('LOGO_SIDEBOX3_IMAGE', 'test_logo3.jpg');
    define('LOGO_SIDEBOX3_IMAGE_TEXT', 'Shop Our Nike SB Dunk High / Low Collection');

    //this is optional if you want to use the logo as a link
    //replace your_link.com with the link you choose
    define('LOGO_SIDEBOX3_LINK', 'http://360urbanwear.com/index.php?main_page=index&cPath=24_73_181');
    ?>

    Here is the Zen Cart code from " in /home/craverep/public_html/includes/functions/functions_general.php on line 44"

    line 38-Line 47 of code:

    // clean up URL before executing it
    while (strstr($url, '&&')) $url = str_replace('&&', '&', $url);
    while (strstr($url, '&amp;&amp;')) $url = str_replace('&amp;&amp;', '&amp;', $url);
    // header locates should not have the &amp; in the address it breaks things
    while (strstr($url, '&amp;')) $url = str_replace('&amp;', '&', $url);

    header('Location: ' . $url);

    zen_exit();
    }

    there is something about the code in logo_sidebox_defines.php that line 44 "header('Location: ' . $url);" does not like...

    i would appreciate any help. thanks.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Thanks in advance for any help!
    By lilshopofsecrets in forum Installing on a Windows Server
    Replies: 7
    Last Post: 28 Mar 2008, 10:19 AM
  2. Need urgent help on checkout page..pls
    By tom2u in forum General Questions
    Replies: 10
    Last Post: 14 Aug 2007, 07:06 PM
  3. Can someone help *URGENT* Email Error. THANKS!!
    By benelly in forum General Questions
    Replies: 6
    Last Post: 11 May 2007, 12:53 PM
  4. Pls Help! Urgent Error!
    By aphro6677 in forum General Questions
    Replies: 2
    Last Post: 25 Oct 2006, 06:20 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