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,103

Results 641 to 660 of 816
11 Aug 2017, 5:41 AM
#641
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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

LadyoftheCave:

I am trying to run the batch form printing. Everything looks fine when I click on customers-batch form print. But when I have selected the right order, and I click on print forms I will receive a blank page. The logfile is showing me the following:

[10-Aug-2017 14:05:26 Europe/Amsterdam] PHP Fatal error: Cannot redeclare zen_parse_url() in /var/www/vhosts/.../.../..../...../includes/application_top.php on line 160

Do you happen to know what I can do to fix this?
If your plugin replaces application_top, then it probably isn't compatible with v1.5.5 ... because v1.5.4 defined the function for zen_parse_url() in admin/includes/application_top.php but v155 moved it to /admin/includes/defined_paths.php .... so if you've stuffed it back into application_top as well, then you're trying to define it twice, which isn't allowed.

29 Aug 2017, 1:58 PM
#642
wolfderby avatar

wolfderby

Zen Follower

Join Date:
Dec 2008
Location:
Pittsburgh, PA
Posts:
241
Plugin Contributions:
0

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

so I have this add-on running w/ 1.5.5e and I'm noticing in my error logs that "Invoice" or admin/invoice.php throws this error message:

[29-Aug-2017 09:13:20 America/New_York] Request URI: /my-special-admin-named-folder/invoice.php?oID=106944, IP address: xx.xxx.149.155
#1  mysql_query() called at [/home/content/xx/5902262/html/my-special-admin-named-folder/invoice.php:356]

[29-Aug-2017 09:13:20 America/New_York] PHP Warning:  mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/content/62/5902262/html/my-special-admin-named-folder/invoice.php on line 356
[29-Aug-2017 09:13:20 America/New_York] Request URI: /my-special-admin-named-folder/invoice.php?oID=106944, IP address: xx.xxx.149.155
#1  mysql_query() called at [/home/content/xx/5902262/html/my-special-admin-named-folder/invoice.php:356]

[29-Aug-2017 09:13:20 America/New_York] PHP Warning:  mysql_query(): A link to the server could not be established in /home/content/xx/5902262/html/my-special-admin-named-folder/invoice.php on line 356
[29-Aug-2017 09:13:20 America/New_York] Request URI: /my-special-admin-named-folder/invoice.php?oID=106944, IP address: xx.xxx.149.155
#1  mysql_fetch_array() called at [/home/content/xx/5902262/html/my-special-admin-named-folder/invoice.php:358]

[29-Aug-2017 09:13:20 America/New_York] PHP Warning:  mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/xx/5902262/html/my-special-admin-named-folder/invoice.php on line 358

...if I drill down into this as best as my n00b skills allow, I see that line 354's sql query of $dbc echos as something I can run in phpmyadmin successfully, but I'm not familiar w/ the db connection and how that works to figure this one out. Actually commenting out from line 355 of ```
$result = mysql_query($dbc);

$cv = $row[1];

...keeps the error from throwing, but it doesn't pull the formatting...

$dbc="select currency, currency_value from " . TABLE_ORDERS . " where orders_id ='" . $_GET['oID'] . "'"

...all in all this doesn't effect the output for me (that I can tell), but I'd imagine if you had customized currency value formatting it wouldn't work.
29 Aug 2017, 3:07 PM
#643
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,956
Plugin Contributions:
8

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

the problem is that the mysql_ functions are deprecated in the version of php you are currently running.

you can change the code as follows:

// FROM:
                $dbc="select currency, currency_value from " . TABLE_ORDERS . " where orders_id ='" . $_GET['oID'] . "'";
                $result = mysql_query($dbc);
                $row = mysql_fetch_array ($result, MYSQL_NUM);
                $cu = $row[0];
                $cv = $row[1];
//TO:
                $dbc = "select currency, currency_value from " . TABLE_ORDERS . " where orders_id = :oID";
                $dbc = $db->bindVars($dbc, ':oID', $_GET['oID'], 'integer');
                $result = $db->Execute($dbc);
                $cu = $result->fields['currency'];
                $cv = $result->fields['currency_value'];

i think that should work.

good luck!

19 Sep 2017, 5:49 PM
#644
believer avatar

believer

New Zenner

Join Date:
Apr 2010
Posts:
3
Plugin Contributions:
0

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

Does anyone know if there is a PHP 7.0 7.1 compatible version of Super Orders in the works or has anyone done the mods to make it work? Any help would be greatly appreciated. Thank you.

18 Oct 2017, 9:51 AM
#645
angdrumm avatar

angdrumm

New Zenner

Join Date:
Jan 2010
Posts:
29
Plugin Contributions:
0

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

I seem to be having a small problem with batch printing invoices. I am runing Zen Cart v1.5.5 with super orders v 4.0.9 and edit orders 4.1.5. All of a sudden (9th Oct) if we print 1 invoice then it prints fine. When we print a batch of 2 or more invoices then the store address prints fine on the first invoice but on all the rest it does not print at all.
Can anyone help by pointing me in the direction of where to look? I have trawled back through 13 pages here to see if I can find it but to no avail.
Thanks in advance

15 Nov 2017, 10:00 AM
#646
angdrumm avatar

angdrumm

New Zenner

Join Date:
Jan 2010
Posts:
29
Plugin Contributions:
0

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

Can anyone help with this???

15 Nov 2017, 9:42 PM
#647
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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

angdrumm:

Can anyone help with this???

Might want to double check that the modified admin/invoice.php file was properly merged with the existing file. There doesn't appear to be anything in the original file that would specifically prevent display/redisplay of your business related header. Of course should also investigate what changed back on or before that date between then and when it last worked as expected.

25 Jan 2018, 9:07 PM
#648
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

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

teaj:

After installing the CSS/JS Loader and FEC addons, I'm now having problems with the batch form print again.

After setting criteria and searching for orders if the 'Check All' button is pressed the page is reset and the list of orders is gone. It seems to forget the criteria, it's not being included in the request / address bar as it should be.

I believe this is the fix for this issue:

super_batch_forms.php change line 249 from

if (isset($_GET['oid_range_first'])) {

to

if (isset($_GET['start_date']) ||  isset($_GET['oid_range_first'])) {
25 Jan 2018, 9:35 PM
#649
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

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

... and if you search on more fields, you'd want to add those to the if statement. For my client, these two fields will suffice.

30 Jan 2018, 2:24 AM
#650
staft avatar

staft

New Zenner

Join Date:
Aug 2008
Posts:
23
Plugin Contributions:
1

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

angdrumm:

I seem to be having a small problem with batch printing invoices. I am runing Zen Cart v1.5.5 with super orders v 4.0.9 and edit orders 4.1.5. All of a sudden (9th Oct) if we print 1 invoice then it prints fine. When we print a batch of 2 or more invoices then the store address prints fine on the first invoice but on all the rest it does not print at all.
Can anyone help by pointing me in the direction of where to look? I have trawled back through 13 pages here to see if I can find it but to no avail.
Thanks in advance

Didn't have this exact same issue, but switching from Firefox to Chrome fixed it.

Ours was with barcodes for order id printing on the 1st invoice, but the rest of the invoices wouldn't have the barcode.

19 Feb 2018, 2:42 AM
#651
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

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

1.5.5f / Edit Orders 4.3.1 / Super Orders 4.0.5

In Super Orders Batch Form printing when I click on "Check All" the screen refreshes and all the orders that I searched for are removed.
When I use batch for print to print packing slips none of the product images appear on the packing slips even though I have that option selected.
They show up on individual packing slips when using the packing slip button in the orders list window just not on the batch printing.
Anyone else having these issues that possibly got them resolved?

So far everything else is working great.

Thanks for any assistance folks.

19 Feb 2018, 10:36 AM
#652
angdrumm avatar

angdrumm

New Zenner

Join Date:
Jan 2010
Posts:
29
Plugin Contributions:
0

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

staft:

Didn't have this exact same issue, but switching from Firefox to Chrome fixed it.

Ours was with barcodes for order id printing on the 1st invoice, but the rest of the invoices wouldn't have the barcode.

That fixed it for us too, thanks :)

13 Mar 2018, 1:58 AM
#653
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

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

https://www.wildsteedworx.com
1.5.5f
PHP5.6
Super Orders 4-0-9 10K
Edit Orders 4.3.1
Ty-Package Tracker 3.1.4
Admin Notes Advanced 1.04

Would anyone know if it is Super Orders, Edit Orders or both that are not PHP 7 compatible and when they might become PHP 7 compatible?
If I upgrade my PHP configuration, via Bluehost, to PHP 7 everything from the Order Status History down disappears.

Thank You

13 Mar 2018, 3:45 PM
#654
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,080
Plugin Contributions:
56

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

From what I've seen upgrading sites that use Super Orders, it's Super Orders that has PHP 7.0+ issues. The most recent version of Edit Orders (4.3.3) has been validated under PHP 7.1.4.

14 Mar 2018, 9:47 PM
#655
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

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

lat9:

From what I've seen upgrading sites that use Super Orders, it's Super Orders that has PHP 7.0+ issues. The most recent version of Edit Orders (4.3.3) has been validated under PHP 7.1.4.

Thank You for your feedback

2 Jun 2018, 3:37 AM
#656
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

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

https://www.wildsteedworx.com
1.5.5f
PHP 7
Super Orders 4-0-9 10K
Edit Orders 4.3.1
Ty-Package Tracker 3.1.4
Admin Notes Advanced 1.04

So everything had been running along fine and I decided to install the Winchester Black Responsive from Picaflor Azure, excellent template thank you very much.

The template installation went fine and everything is working except I have an issue now with the images on the packing Slips showing up tall and skinny where as they did not before the template install. I assumed it had to be something that the template did so I posted there but it was suggested that it would be better if I posted here so here I am. I did see a while back where another individual was having this same issue, excluding the template install, but I could not find where anyone had answered their question. Can anyone give me some direction as to what might have caused the images to start showing up tall and skinny now.
Thank You for any assistance.

3 Jun 2018, 2:15 AM
#657
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

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

wsworx:

https://www.wildsteedworx.com
1.5.5f
PHP 7
Super Orders 4-0-9 10K
Edit Orders 4.3.1
Ty-Package Tracker 3.1.4
Admin Notes Advanced 1.04

So everything had been running along fine and I decided to install the Winchester Black Responsive from Picaflor Azure, excellent template thank you very much.

The template installation went fine and everything is working except I have an issue now with the images on the packing Slips showing up tall and skinny where as they did not before the template install. I assumed it had to be something that the template did so I posted there but it was suggested that it would be better if I posted here so here I am. I did see a while back where another individual was having this same issue, excluding the template install, but I could not find where anyone had answered their question. Can anyone give me some direction as to what might have caused the images to start showing up tall and skinny now.
Thank You for any assistance.

So a little update for those interested.
While the Winchester black template was not the direct cause of the image stretch issue it was installing the template that caused the issue, chalk it up to still learning thank you, as I also am using Image Handler and it requires two files be in your includes/modules/YOUR TEMPLATE and includes/templates/YOUR TEMPLATE files. So once those files were dropped in the issue went away.

27 Oct 2018, 8:39 AM
#658
deno avatar

deno

New Zenner

Join Date:
Mar 2009
Posts:
76
Plugin Contributions:
0

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

Sorry but i'm a total novice to installing these extensions but I just tried to do this and got a white screen on entering the admin panel.

Here's the log if that's any help.

[27-Oct-2018 08:30:13 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_num_rows() in /var/www/vhosts/ee5b4f0.online-server.cloud/httpdocs/gep/store/MYADMIN/includes/init_includes/init_so_config.php:13
Stack trace:
#0 /var/www/vhosts/ee5b4f0.online-server.cloud/httpdocs/gep/store/includes/autoload_func.php(48): require()
#1 /var/www/vhosts/ee5b4f0.online-server.cloud/httpdocs/gep/store/MYADMIN/includes/application_top.php(171): require('/var/www/vhosts...')
#2 /var/www/vhosts/ee5b4f0.online-server.cloud/httpdocs/gep/store/MYADMIN/index.php(10): require('/var/www/vhosts...')
#3 {main}
  thrown in /var/www/vhosts/ee5b4f0.online-server.cloud/httpdocs/gep/store/MYADMIN/includes/init_includes/init_so_config.php on line 13

I am using a custom theme though so I imagine that's the issue?

https://yourstore.perfectusinc.com/

Thanks for any help you can throw my way.

Dene

27 Oct 2018, 12:54 PM
#659
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

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

What version of Zen Cart?
What version of PHP?
What other plugins?

27 Oct 2018, 2:05 PM
#660
deno avatar

deno

New Zenner

Join Date:
Mar 2009
Posts:
76
Plugin Contributions:
0

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

jeking:

What version of Zen Cart?
What version of PHP?
What other plugins?

Apologies. I should have stated all that.

1.5.5f

PHP 7.1.23

No other plugins. Just that theme.

www.gep.co.uk/store/