Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2007
    Posts
    220
    Plugin Contributions
    0

    Default Cannot add or edit products.

    Zen cart 1.5.5f
    PHP Version: 5.6.40 (Zend: 2.6.0)

    When adding a product or edit one and click on Preview only a blank page display with
    the top bar showing (Configuration, Catalog, ..., etc.) showing.

    This is what the log file shows:

    [25-Feb-2021 01:19:25 America/Denver] Request URI: /Admin/product.php?cPath=49_130&product_type=1&pID=1525&action=new_product_preview&page =1, IP address: xx.xxx.57.76
    #1 trigger_error() called at [/home/userDir/public_html/includes/functions/plugin_support.php:41]
    #2 plugin_version_check_for_updates() called at [/home/userDir/public_html/Admin/includes/init_includes/init_user_tracking.php:164]
    #3 require(/home/userDir/public_html/Admin/includes/init_includes/init_user_tracking.php) called at [/home/userDir/public_html/includes/autoload_func.php:48]
    #4 require(/home/userDir/public_html/includes/autoload_func.php) called at [/home/userDir/public_html/Admin/includes/application_top.php:171]
    #5 require(/home/userDir/public_html/Admin/includes/application_top.php) called at [/home/userDir/public_html/Admin/product.php:10]



    [25-Feb-2021 01:19:25 America/Denver] PHP Notice: CURL error checking plugin versions: in /home/userDir/public_html/includes/functions/plugin_support.php on line 41



    [25-Feb-2021 01:19:26 America/Denver] Request URI: /Admin/product.php?cPath=49_130&product_type=1&pID=1525&action=new_product_preview&page =1, IP address: xx.xxx.57.76
    #1 trigger_error() called at [/home/userDir/public_html/includes/functions/plugin_support.php:41]
    #2 plugin_version_check_for_updates() called at [/home/userDir/public_html/Admin/includes/init_includes/init_responsive_sheffield_blue.php:89]
    #3 require(/home/userDir/public_html/Admin/includes/init_includes/init_responsive_sheffield_blue.php) called at [/home/userDir/public_html/includes/autoload_func.php:48]
    #4 require(/home/userDir/public_html/includes/autoload_func.php) called at [/home/userDir/public_html/Admin/includes/application_top.php:171]
    #5 require(/home/userDir/public_html/Admin/includes/application_top.php) called at [/home/userDir/public_html/Admin/product.php:10]




    [25-Feb-2021 01:19:26 America/Denver] PHP Notice: CURL error checking plugin versions: in /home/userDir/public_html/includes/functions/plugin_support.php on line 41


    [25-Feb-2021 01:19:26 America/Denver] Request URI: /Admin/product.php?cPath=49_130&product_type=1&pID=1525&action=new_product_preview&page =1, IP address: xx.xxx.57.76
    #1 trigger_error() called at [/home/userDir/public_html/includes/functions/plugin_support.php:41]
    #2 plugin_version_check_for_updates() called at [/home/userDir/public_html/Admin/includes/init_includes/init_sitemapxml.php:167]
    #3 require(/home/userDir/public_html/Admin/includes/init_includes/init_sitemapxml.php) called at [/home/userDir/public_html/includes/autoload_func.php:48]
    #4 require(/home/userDir/public_html/includes/autoload_func.php) called at [/home/userDir/public_html/Admin/includes/application_top.php:171]
    #5 require(/home/userDir/public_html/Admin/includes/application_top.php) called at [/home/userDir/public_html/Admin/product.php:10]



    [25-Feb-2021 01:19:26 America/Denver] PHP Notice: CURL error checking plugin versions: in /home/userDir/public_html/includes/functions/plugin_support.php on line 41



    [25-Feb-2021 01:19:26 America/Denver] PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/userDir/public_html/includes/classes/class.StringHelper.php on line 68

    Any idea what is wrong from looking at the debug file? Thanks in advance.

  2. #2
    Join Date
    Feb 2009
    Location
    UK
    Posts
    850
    Plugin Contributions
    0

    Default Re: Cannot add or edit products.

    Quote Originally Posted by TamyA View Post

    [25-Feb-2021 01:19:26 America/Denver] PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/userDir/public_html/includes/classes/class.StringHelper.php on line 68

    Any idea what is wrong from looking at the debug file? Thanks in advance.
    [/COLOR]
    I suspect this is the cause of your troubles. You don't give details of your plugins but I'm guessing you have CEON URI Mapping v4.5 installed and that it is not compatible with your outdated PHP version. See these posts referencing the same issue:

    https://www.zen-cart.com/showthread....86#post1350086

    and

    https://www.zen-cart.com/showthread....91#post1350091

    From other posts in that thread, it seems likely that other issues will arise with that plugin unless you upgrade your PHP version. In addition, you could also consider upgrading CEON URI MAPPING to a newer version (v5.0 in Plugins). There is an even newer version on CEON's website (v5.1) but I'm not sure if it is compatible with ZC v1.5.5f.
    Simon

  3. #3
    Join Date
    Feb 2007
    Posts
    220
    Plugin Contributions
    0

    Default Re: Cannot add or edit products.

    Simon. Thank you so much, i forgot that we downgraded PHP recently to fix another problem, now i can edit products and i will check the add new product shortly. Thank you so much for your help.

  4. #4
    Join Date
    Jul 2012
    Posts
    15,651
    Plugin Contributions
    17

    Default Re: Cannot add or edit products.

    Quote Originally Posted by simon1066 View Post
    I'm not sure if it is compatible with ZC v1.5.5f.
    Based on the fileset having a ZC 1.5.5 related folder I would hazard a guess that the 5.1 version is compatible with it.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v154 I cannot see/add/edit any categories or products through the admin area
    By CostaCupcake in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 8 Jan 2016, 08:55 PM
  2. Help! Cannot Add or Edit Products
    By dkmojo in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 26 Apr 2011, 08:40 PM
  3. cannot ADD ORDER or edit
    By serrow in forum General Questions
    Replies: 1
    Last Post: 2 Jul 2010, 05:02 AM
  4. Cannot Add or edit image in categories
    By speedcreed in forum General Questions
    Replies: 5
    Last Post: 11 May 2010, 09:19 PM
  5. Cannot edit or add product after install
    By Nellie4469 in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 3 Feb 2008, 06:04 PM

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