Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26
  1. #11
    Join Date
    May 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Need Help Please

    another strange thing is that if i comment out line 57 it still shows the same error in line 57

  2. #12
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Need Help Please

    Server or Browser caching?

  3. #13
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Need Help Please

    PHP Code:
    (strrchr([$product_name][$i
    All these instances should look like these:

    PHP Code:
    (strrchr($product_name[$i

  4. #14
    Join Date
    May 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Need Help Please

    Code:
    if(strrchr($product_name[$i], '\\'))$image = substr(strrchr($product_image[$i])), '\\', 1;else $image = substr(strrchr($product_image[$i])), '/', 1;
    Parse error: syntax error, unexpected ',' in /home/tower/public_html/admin/quick_add_products.php on line 54

  5. #15
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Need Help Please

    else $image = substr(strrchr($product_image[$i])), '/', 1;

    If you put the closing brackets in the right place, it might work better?
    Perhaps you mean

    else $image = substr(strrchr($product_image[$i], '/'), 1);

  6. #16
    Join Date
    May 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Need Help Please

    returns the same error

  7. #17
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Need Help Please

    Make a backup of the file.

    On the error block you mentionned, if you replace it with this one:

    PHP Code:
    if (eregi('\\'$product_name[$i])) {
        
    $image substr($product_image[$i], 1);
    } else {
        
    $image str_replace('\\''/'$image);
        
    $image substr($image1);

    Will it still return the same error message ?

  8. #18
    Join Date
    May 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Need Help Please

    thx oracle that code seems to have worked ...

    next error lol

    Parse error: syntax error, unexpected T_STRING in /home/tower/public_html/admin/quick_add_products.php on line 66

    Code:
    $db->Execute("INSERT INTO " . TABLE_PRODUCTS_TO_CATEGORIES . " VALUES ('" . $products_id->products_id . "', '" . $product_categories[$i] . "'));
    note there is only a few lines left of code before it starts to display the page... hopefully this will be all that faults...

  9. #19
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Need Help Please

    PHP Code:
    $db->Execute("INSERT INTO " TABLE_PRODUCTS_TO_CATEGORIES " VALUES ('" $products_id->products_id "', '" $product_categories[$i] . "')); 
    to:

    PHP Code:
    $db->Execute("INSERT INTO " TABLE_PRODUCTS_TO_CATEGORIES " VALUES ('" . (int)$products_id->products_id "', '" $product_categories[$i] . "')"); 

  10. #20
    Join Date
    May 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Need Help Please

    still same error

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v150 I need help with my product listing please help im going insane!!
    By Darion in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 10 Sep 2012, 04:16 AM
  2. v150 I need help with my product listing please help im going insane!!
    By Darion in forum General Questions
    Replies: 1
    Last Post: 10 Sep 2012, 02:12 AM
  3. please help need help for reviews and tips page
    By abs007 in forum General Questions
    Replies: 2
    Last Post: 9 Apr 2009, 02:14 PM
  4. Need help with color scheme - URGENT PLEASE HELP
    By nepton in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 18 Nov 2008, 03:48 AM
  5. Mcafee scan says I need to fix I need help please??
    By touchclothing in forum General Questions
    Replies: 2
    Last Post: 30 Sep 2008, 08:57 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