Zen Cart Logo
Forums / Addon Admin Tools / Super Orders v4.0 Support Thread for ZC v1.5.x

Super Orders v4.0 Support Thread for ZC v1.5.x

Sticky

Views: 172,099

Results 101 to 120 of 816
13 Jan 2013, 8:21 PM
#101
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Super Orders v4.0 Support Thread for ZC v1.5.x

imnotbadguy:

Do I missed some steps? ThanksProbably.. suggest reviewing the installation and try again.. Then you need to check your error logs and see what they say..

14 Jan 2013, 5:56 AM
#102
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

Hey I just installed this package on my store per the instructions. there were no other mods installed so I didn't need to merge any files. I was logged in to the admin section of my site but when I clicked on a new link I got a server error page that says "The website encountered an error while retrieving". Now I can't access the sites backend. I did everything as the instructions said, renamed the folders and everything.

14 Jan 2013, 6:07 AM
#103
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

novastar:

Hey I just installed this package on my store per the instructions. there were no other mods installed so I didn't need to merge any files. I was logged in to the admin section of my site but when I clicked on a new link I got a server error page that says "The website encountered an error while retrieving". Now I can't access the sites backend. I did everything as the instructions said, renamed the folders and everything.

To anyone w/ the same issue, see this thread. Don't know if it works yet, on the phone w/ host.

14 Jan 2013, 7:31 AM
#104
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

novastar:

Hey I just installed this package on my store per the instructions. there were no other mods installed so I didn't need to merge any files. I was logged in to the admin section of my site but when I clicked on a new link I got a server error page that says "The website encountered an error while retrieving". Now I can't access the sites backend. I did everything as the instructions said, renamed the folders and everything.and the error log said?????

15 Jan 2013, 12:35 AM
#105
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

I don't see any debug files from the admin side. How do I get those to show up?

15 Jan 2013, 5:04 AM
#107
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

DivaVocals:

Suggest you start here: http://www.zen-cart.com/content.php?124-i-am-getting-a-blank-page-%28or-blank-part-of-a-page%29

Yeah honestly I try to find the solution before I come to the forums and I tried to get it to show strict error reporting but it didn't work out. All that showed was the server error 500 page. I made the file in extra configures and I also tried to create a configure.php file in the local directory but it didn't show any errors. I don't know why the log files for the Admin won't show up though.

15 Jan 2013, 5:15 AM
#108
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

novastar:

Yeah honestly I try to find the solution before I come to the forums and I tried to get it to show strict error reporting but it didn't work out. All that showed was the server error 500 page. I made the file in extra configures and I also tried to create a configure.php file in the local directory but it didn't show any errors. I don't know why the log files for the Admin won't show up though.

Got the log file this is it:

[15-Jan-2013 05:07:22 UTC] PHP Parse error:  syntax error, unexpected '.' in /html/admin/includes/classes/fpdf/fpdf.php on line 1047

I removed the dot that was in the ini_set function and tried again but it still doesn't work.

15 Jan 2013, 5:23 AM
#109
novastar avatar

novastar

Zen Follower

Join Date:
Jul 2009
Posts:
127
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

Got it, there was another occurrence of the same code further into the script. Removed both of the concatenation operators (one on each line that is) and it works now. Thanks.

15 Jan 2013, 6:51 AM
#110
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

novastar:

Got it, there was another occurrence of the same code further into the script. Removed both of the concatenation operators (one on each line that is) and it works now. Thanks.
Yes the solution for that error was posted just a few pages back..

27 Jan 2013, 11:57 PM
#111
matchlock avatar

matchlock

New Zenner

Join Date:
Jun 2011
Posts:
92
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

I just installed Super Orders 4 and all seems well except any orders previously in the system do not have item prices in the order details area. Please excuse me if this has already been addressed I didn't find it with my search.

28 Jan 2013, 12:07 AM
#112
matchlock avatar

matchlock

New Zenner

Join Date:
Jun 2011
Posts:
92
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

matchlock:

I just installed Super Orders 4 and all seems well except any orders previously in the system do not have item prices in the order details area. Please excuse me if this has already been addressed I didn't find it with my search.

I just did a test order and this applies to new orders as well.

28 Jan 2013, 12:09 AM
#113
matchlock avatar

matchlock

New Zenner

Join Date:
Jun 2011
Posts:
92
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

matchlock:

I just did a test order and this applies to new orders as well.

sorry for the multiple hosts. Hopefully this last bit of log info will help

[27-Jan-2013 16:07:23] PHP Fatal error: Call to undefined method currencies::get_decimal_places() in /xxxxx/orders.php on line 1260

28 Jan 2013, 1:20 AM
#114
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

matchlock:

sorry for the multiple hosts. Hopefully this last bit of log info will help

[27-Jan-2013 16:07:23] PHP Fatal error: Call to undefined method currencies::get_decimal_places() in /xxxxx/orders.php on line 1260Sounds like your install is incorrect or you've installed something else that also modifies orders.php and those edits are the source of your issue..

29 Jan 2013, 1:48 PM
#115
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

Hi I have installed Super orders V4 on zen 1.51 everything seems to be working ok apart from I am 2 style sheets missing that are refered to in admin/orders.php

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <link rel="stylesheet" type="text/css" href="includes/super_stylesheet.css"> <link rel="stylesheet" type="text/css" href="includes/edit_orders.css"> <link rel="stylesheet" type="text/css" href="includes/typt_stylesheet.css"> <link rel="stylesheet" type="text/css" media="print" href="includes/stylesheet_print.css"> <link rel="stylesheet" type="text/css" href="includes/cssjsmenuhover.css" media="all" id="hoverJS"> <script language="javascript" src="includes/menu.js"></script> <script language="javascript" src="includes/general.js"></script> <script type="text/javascript">

edit_orders.css and typt_stylesheet.css don't exist I found this out by checking the servers error logs.

Is this something that has been left over from previous versions?

29 Jan 2013, 4:33 PM
#116
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

AfterHouR:

Hi I have installed Super orders V4 on zen 1.51 everything seems to be working ok apart from I am 2 style sheets missing that are refered to in admin/orders.php

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <link rel="stylesheet" type="text/css" href="includes/super_stylesheet.css"> <link rel="stylesheet" type="text/css" href="includes/edit_orders.css"> <link rel="stylesheet" type="text/css" href="includes/typt_stylesheet.css"> <link rel="stylesheet" type="text/css" media="print" href="includes/stylesheet_print.css"> <link rel="stylesheet" type="text/css" href="includes/cssjsmenuhover.css" media="all" id="hoverJS"> <script language="javascript" src="includes/menu.js"></script> <script language="javascript" src="includes/general.js"></script> <script type="text/javascript">

edit_orders.css and typt_stylesheet.css don't exist I found this out by checking the servers error logs.

Is this something that has been left over from previous versions?
They are for Ty Package Tracker and Edit orders.. just remove them.. But if you use these modules later you will need to add them back..

29 Jan 2013, 5:02 PM
#117
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

Oh ok. Thanks for the quick response, I have now removed them :)

2 Feb 2013, 4:27 AM
#118
deel avatar

deel

New Zenner

Join Date:
Jan 2013
Location:
Eustis, Florida, United States
Posts:
84
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

Can you tell me if it is possible to print out all the orders in a specified period but to have one order per page? I can see that I can print the orders during a specified time frame but it wants to just put as many to a page as will fit.

Thanks for your help!

4 Feb 2013, 6:03 PM
#119
sharon_j avatar

sharon_j

New Zenner

Join Date:
Dec 2012
Location:
Tampa,FL
Posts:
25
Plugin Contributions:
0

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

Hello Diva,

I am having major issues with the install. I am using zen cart 1.51, php 5.3, mysql 5.0.91-log. Super Orders v.4.0 downloaded from the plug in section latest mod Dec 12, 2012. This is a clean install, I have not added any other mods that touch the files in Super Orders, so I had no need to merge. As per the instructions, I had planned on using Edit Orders and Ty package Tracker, so I went ahead and installed them first, checking my site after each to make sure they had installed correctly.

I did not load the COWOA files. After the install, I was able to log into my admin for just a moment, then when I clicked a link, I received a 500 error. Could not access my admin or front-end of my site. After FTP'ing my logs, I had the errors in the fpdf.php file listed a few posts back. After correcting that file, I am able to access my admin, but front end is still down,and I notice that now instead of my url in the address bar taking me to main page , it is trying to take me to a login page-index.php?main_page=login. My error logs are as follows:

  1. 04-Feb-2013 15:24:39 UTC] PHP Warning: file(//*///public_html/cache/zc_d6616cb5f4c2cb55d422ea67feb723b0.sql): failed to open stream: No such file or directory in /**//**/*public_html/includes/classes/cache.php on line 149

  2. [04-Feb-2013 15:24:39 UTC] PHP Warning: implode(): Invalid arguments passed in //*//*/public_html/includes/classes/cache.php on line 150

3.[04-Feb-2013 15:24:39 UTC] PHP Warning: Variable passed to each() is not an array or object in //*//*/public_html/includes/classes/db/mysql/query_factory.php on line 153

As far as the first error is concerned, I do have /public_html/cache/zc_d6616cb5f4c2cb55d422ea67feb723b0.sql, Also, I do not have a prefix on my db, as I thought at first when I saw the zc_ that maybe it was erring looking for a zc_ prefix.

This are the offending lines from the first and second errors listed in the log for cache.php

function sql_cache_read($zf_query) {
    global $db;
    $zp_cache_name = $this->cache_generate_cache_name($zf_query);
    switch (SQL_CACHE_METHOD) {
      case 'file':
      $zp_fa = file(DIR_FS_SQL_CACHE . '/' . $zp_cache_name . '.sql');   (this is my line 149)
      $zp_result_array = unserialize(implode('', $zp_fa));
      return $zp_result_array;
      break;
      case 'database':
      $sql = "select * from " . TABLE_DB_CACHE . " where cache_entry_name = '" . $zp_cache_name . "'";
      $zp_cache_result = $db->Execute($sql);
      $zp_result_array = unserialize(base64_decode($zp_cache_result->fields['cache_data']));
      return $zp_result_array;
      break;
      case 'memory':
      return true;
      break;
      case 'none':
      default:
      return true;
      break;

Here is my query_factory.php

global $zc_cache;
    if ($zf_limit) {
      $zf_sql = $zf_sql . ' LIMIT ' . $zf_limit;
    }
    $this->zf_sql = $zf_sql;
    if ( $zf_cache AND $zc_cache->sql_cache_exists($zf_sql, $zf_cachetime) ) {
      $obj = new queryFactoryResult;
      $obj->cursor = 0;
      $obj->is_cached = true;
      $obj->sql_query = $zf_sql;
      $zp_result_array = $zc_cache->sql_cache_read($zf_sql);
      $obj->result = $zp_result_array;
      if (sizeof($zp_result_array) > 0 ) {
        $obj->EOF = false;
        while (list($key, $value) = each($zp_result_array[0])) {   (this is my line 153)
          $obj->fields[$key] = $value;
        }
        return $obj;
      } else {
        $obj->EOF = true;

Thank you so much for your help.

Sharon

4 Feb 2013, 6:07 PM
#120
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Super Orders v4.0 Support Thread for ZC v1.5.x

Sharon J:

Hello Diva,

I am having major issues with the install. I am using zen cart 1.51, php 5.3, mysql 5.0.91-log. Super Orders v.4.0 downloaded from the plug in section latest mod Dec 12, 2012. This is a clean install, I have not added any other mods that touch the files in Super Orders, so I had no need to merge. As per the instructions, I had planned on using Edit Orders and Ty package Tracker, so I went ahead and installed them first, checking my site after each to make sure they had installed correctly.

I did not load the COWOA files. After the install, I was able to log into my admin for just a moment, then when I clicked a link, I received a 500 error. Could not access my admin or front-end of my site. After FTP'ing my logs, I had the errors in the fpdf.php file listed a few posts back. After correcting that file, I am able to access my admin, but front end is still down,and I notice that now instead of my url in the address bar taking me to main page , it is trying to take me to a login page-index.php?main_page=login. My error logs are as follows:

  1. 04-Feb-2013 15:24:39 UTC] PHP Warning: file(//*///public_html/cache/zc_d6616cb5f4c2cb55d422ea67feb723b0.sql): failed to open stream: No such file or directory in /**//**/*public_html/includes/classes/cache.php on line 149

  2. [04-Feb-2013 15:24:39 UTC] PHP Warning: implode(): Invalid arguments passed in //*//*/public_html/includes/classes/cache.php on line 150

3.[04-Feb-2013 15:24:39 UTC] PHP Warning: Variable passed to each() is not an array or object in //*//*/public_html/includes/classes/db/mysql/query_factory.php on line 153

As far as the first error is concerned, I do have /public_html/cache/zc_d6616cb5f4c2cb55d422ea67feb723b0.sql, Also, I do not have a prefix on my db, as I thought at first when I saw the zc_ that maybe it was erring looking for a zc_ prefix.

This are the offending lines from the first and second errors listed in the log for cache.php

function sql_cache_read($zf_query) {
global $db;
$zp_cache_name = $this->cache_generate_cache_name($zf_query);
switch (SQL_CACHE_METHOD) {
case 'file':
$zp_fa = file(DIR_FS_SQL_CACHE . '/' . $zp_cache_name . '.sql'); (this is my line 149)
$zp_result_array = unserialize(implode('', $zp_fa));
return $zp_result_array;
break;
case 'database':
$sql = "select * from " . TABLE_DB_CACHE . " where cache_entry_name = '" . $zp_cache_name . "'";
$zp_cache_result = $db->Execute($sql);
$zp_result_array = unserialize(base64_decode($zp_cache_result->fields['cache_data']));
return $zp_result_array;
break;
case 'memory':
return true;
break;
case 'none':
default:
return true;
break;

> 
> Here is my query_factory.php
> 
> ```php
global $zc_cache;
    if ($zf_limit) {
      $zf_sql = $zf_sql . ' LIMIT ' . $zf_limit;
    }
    $this->zf_sql = $zf_sql;
    if ( $zf_cache AND $zc_cache->sql_cache_exists($zf_sql, $zf_cachetime) ) {
      $obj = new queryFactoryResult;
      $obj->cursor = 0;
      $obj->is_cached = true;
      $obj->sql_query = $zf_sql;
      $zp_result_array = $zc_cache->sql_cache_read($zf_sql);
      $obj->result = $zp_result_array;
      if (sizeof($zp_result_array) > 0 ) {
        $obj->EOF = false;
        while (list($key, $value) = each($zp_result_array[0])) {   (this is my line 153)
          $obj->fields[$key] = $value;
        }
        return $obj;
      } else {
        $obj->EOF = true;

Thank you so much for your help.

Sharon
Honestly I have no clue what the cause of these errors are.. NONE of these files are part of the SO fileset..