Page 17 of 21 FirstFirst ... 71516171819 ... LastLast
Results 161 to 170 of 207
  1. #161
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

    I deleted "onmouseout="return nd()" from "Admin->Orders" to see if thats where it was comming from and its not.
    It still shows up.

    2nd. It works fine when someone order 1 item. But if they order 2 or more it gets wackey.

  2. #162
    Join Date
    Nov 2005
    Posts
    62
    Plugin Contributions
    0

    Default Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

    My host just updated to PHP5 today, and it killed this mod.

    I now get this error in the admin sidebox where this Info is normally displayed:

    Fatal error: Cannot use object of type queryFactoryResult as array in /home2/spunycom/public_html/admin/index.php on line 177

    In my admin/index.php, line 177 is echo $orders['orders_id']; in the Info At a Glance code:
    Code:
    // ====> BOF: INFO AT-A-GLANCE <====
    echo $orders['orders_id'];
    $artikel = "";
    $num = 1;
    $result_artikels = $db->Execute("select products_name, products_quantity from " . TABLE_ORDERS_PRODUCTS . " where orders_id = '" . zen_db_input($orders->fields['orders_id']) . "' ");
    while(!$result_artikels->EOF){
    $artikel .= ($result_artikels->fields["products_quantity"]) . "x " . ($result_artikels->fields["products_name"]) . "<br>";
    $num++;
    $result_artikels->MoveNext();
    }
    {
    $parsedComment = explode("\r", $artikel);
    $cleanComment = "";
    $i=0;
    while($i < count($parsedComment)) {
    $cleanComment .= trim($parsedComment[$i]);
    $i++;
    if ($i < count($parsedComment)) $cleanComment .= '<br \> ';
    }
    ?>
    <script language="javascript"><!--
    document.write('<?php echo '<a href="javascript:void(0);" onmouseover="return overlib(\\\'' . $cleanComment . '\\\');" onmouseout="return nd();"><img src="images/icons/comment2.gif" align="top" border=0></a>&nbsp;'; ?>');
    --></script>
    <?php } ?>
    <?php // ====> EOF: INFO AT-A-GLANCE <====
    Does anyone know how to make this compatable with PHP5?

    I'm using Zen 1.3.6
    Last edited by Taipa; 1 Nov 2007 at 11:12 PM.

  3. #163
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

    Hmm I don't think zen-cart itself is compatible with PHP5. Just because they updated doesn't mean they are forcing you to use it yet. We still got 94 days before the golive data where they force the switch.

    Contact your provider, they would have to tell you if they were switching you to PHP5 and they should be able to put a custom php.ini file or htaccess switch to force php4. But I think you'd lose all zen-cart functionality if they upgraded to php5

  4. #164
    Join Date
    Nov 2005
    Posts
    62
    Plugin Contributions
    0

    Default Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

    I use camelot-hosting (from the Hosting page on this site), and they just upgraded to PHP5. They're a Zen Cart host, so I don't think they'd puposely screw everyone over if Zen Cart did not work with PHP5 at all.

    Everything else with my Zen Cart works just fine, it's just the Info at a Glance part that's causing an error, and I don't know enough about PHP to fix it myself. :/

  5. #165
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

    Quote Originally Posted by Taipa View Post
    I use camelot-hosting (from the Hosting page on this site), and they just upgraded to PHP5. They're a Zen Cart host, so I don't think they'd puposely screw everyone over if Zen Cart did not work with PHP5 at all.

    Everything else with my Zen Cart works just fine, it's just the Info at a Glance part that's causing an error, and I don't know enough about PHP to fix it myself. :/
    Well many hosts are PHP5 but they still support the PHP4 customers by adding a configuration line in the server setup. Ask them if they switched you over.. but still I don't think half of zen-cart would work on PHP5. But perhaps something else got changed in their upgrade.

    All of the hosts I've used are both as well. They can't stop supporting PHP4 until the GOphp5 live date.

  6. #166
    Join Date
    May 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

    I just have moved to PHP5 and everything works fine except Info At A Glance mod.
    I have the same error
    Fatal error: Cannot use object of type queryFactoryResult as array in /home/account/public_html/admin/index.php on line 184

    Info At A Glance is a great and handy mod and it is sad that it does not work with PHP5.

  7. #167
    Join Date
    May 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

    I have found the solution for Fatal Error in PHP5, in admin/index.php one must change the Line 182:
    PHP Code:
    echo $orders['orders_id']; 
    to
    PHP Code:
    echo $orders->fields['orders_id']; 

  8. #168
    Join Date
    Jul 2006
    Posts
    43
    Plugin Contributions
    0

    Default Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

    Quote Originally Posted by X.O. View Post
    I have found the solution for Fatal Error in PHP5, in admin/index.php one must change the Line 182:
    PHP Code:
    echo $orders['orders_id']; 
    to
    PHP Code:
    echo $orders->fields['orders_id']; 
    X.O.,

    Thanks for figuring that out and posting it for everyone.

    So, no other issues at all with php5?

  9. #169
    Join Date
    Nov 2005
    Posts
    62
    Plugin Contributions
    0

    Default Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

    Quote Originally Posted by X.O. View Post
    I have found the solution for Fatal Error in PHP5, in admin/index.php one must change the Line 182:
    PHP Code:
    echo $orders['orders_id']; 
    to
    PHP Code:
    echo $orders->fields['orders_id']; 
    Worked like a charm, thank you!!


    No other problems on PHP5 so far!

  10. #170
    Join Date
    May 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Info/Orders at a Glance Admin Contribution for 1.2.7 and 1.3.0.

    Quote Originally Posted by OFelixCulpa View Post
    So, no other issues at all with php5?
    I noticed two other issues with my Zen-Cart Site and my new server with PHP5:
    1. HTML emails are not displaying correctly, see this thread http://www.zen-cart.com/forum/showthread.php?p=462015
    2. Tools-Template Selection-New language returns the folowing error:
    Catchable fatal error: Object of class queryFactoryResult could not be converted to string in /home/myaccount/public_html/admin/includes/functions/html_output.php on line 333, see this thread http://www.zen-cart.com/forum/showth...t.php+line+333.
    Averything else is ok. So far...

 

 
Page 17 of 21 FirstFirst ... 71516171819 ... LastLast

Similar Threads

  1. Problem in info at glance
    By NewPowerCord in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 4 Jul 2014, 06:29 PM
  2. My contribution: Buttons for the Admin Section
    By clsmky in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 5 Oct 2011, 03:27 AM
  3. 'Info at a Glance Admin' Readme error
    By adem.i in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 30 Mar 2011, 08:18 PM
  4. Problem with Mastercard and the Edit Orders contribution mod
    By larryhyman in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 13 Jul 2007, 06:46 PM
  5. Set up USPS for retail orders and UPS for wholesale orders.
    By mkm in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 27 May 2007, 06:56 AM

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