Zen Cart Logo
Forums / All Other Contributions/Addons / Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Views: 83,899

Results 241 to 260 of 660
30 Mar 2011, 6:23 PM
#241
laurelsstitchery avatar

laurelsstitchery

Zen Follower

Join Date:
Jun 2010
Posts:
145
Plugin Contributions:
0

Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

DivaVocals:

and what error are you getting??

Blank page = Error

Post the information from the log file that would have been generated as a result of the error..

I received this same "blank page" error. My error log contained the following:
"[30-Mar-2011 11:12:35] PHP Fatal error: Cannot redeclare zen_get_country_id() (previously declared in /MY_DOMAIN/MY_CATALOG/MY_ADMIN/includes/functions/extra_functions/edit_orders_functions.php:33) in /MY_DOMAIN/MY_CATALOG/MY_ADMIN/includes/functions/extra_functions/DELETEedit_orders.php on line 45"

I had just renamed the edit_orders.php file instead of deleting it. Once I deleted it, all was well and working fine. :)

30 Mar 2011, 6:43 PM
#242
lindenboy avatar

lindenboy

New Zenner

Join Date:
Feb 2011
Location:
Indianapolis, IN
Posts:
38
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

UPDATE: Discovered deletion of items can occur by making quantity zero. Still assuming that inventory is replenished (haven't bothered to test for certain at this point).

JJ

4 Apr 2011, 5:07 AM
#243
guitarstore avatar

guitarstore

New Zenner

Join Date:
Dec 2009
Posts:
28
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Hello.

I have not been able to find answers I am hoping for help. I have recently updated to Zen Cart 1.3.9.h and I want to update to Super Orders 3. It says to upgrade my Edit Orders first. 

I have uploaded and tested several times including the patch but always get blank pages. I was not even able to go back to admin and install the sql patches. I had to go into phpmyadmin to install them but it is still not working.

I have checked that all the files go into the correct folder and deleted the edit_order.php file that the installation instructions informs.

I am running linux and php v. 5.2.17

If anyone could assist with this that would be great as I would love to update this and Super Orders.

Thanks Again.

GS

4 Apr 2011, 3:05 PM
#244
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

guitarstore:

Hello.

I have not been able to find answers I am hoping for help. I have recently updated to Zen Cart 1.3.9.h and I want to update to Super Orders 3. It says to upgrade my Edit Orders first. 

I have uploaded and tested several times including the patch but always get blank pages. I was not even able to go back to admin and install the sql patches. I had to go into phpmyadmin to install them but it is still not working.

I have checked that all the files go into the correct folder and deleted the edit_order.php file that the installation instructions informs.

I am running linux and php v. 5.2.17

If anyone could assist with this that would be great as I would love to update this and Super Orders.

Thanks Again.

GS

Blank pages often mean you have a syntax error somewhere. Here's what you need to look at:

  • Your cache folder located at store root/cache. See what the error logs are saying. They will point you in the right direction in terms of what's causing the blank page error.
  • Your merged files (if any) - check to see if you made any syntax errors to the files you merged when you installed this mod.
    For example, I use a custom logo in my packing slips and invoices, so I had to merge my customizations from admin/invoice with admin/super_invoice and admin/packingslip with admin/super_packingslip, so if I had a blank page, I would check the syntax in those files after I check the error logs in my cache folder.
4 Apr 2011, 5:38 PM
#245
guitarstore avatar

guitarstore

New Zenner

Join Date:
Dec 2009
Posts:
28
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Hi Scriptjunkie.

Thanks for your quick reply and for you help.

I checked the log and this is what it said:

PHP Fatal error: Cannot redeclare zen_get_country_id() (previously declared in /public_html/store/MY_ADMIN/includes/functions/extra_functions/edit_orders.php:34) in /public_html/store/MY_ADMIN/includes/functions/extra_functions/edit_orders_functions.php on line 44

Would be great if you can assist with this.

Best Regards,

GS

4 Apr 2011, 6:02 PM
#246
guitarstore avatar

guitarstore

New Zenner

Join Date:
Dec 2009
Posts:
28
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Ok,

I actually fixed it. I had renemed my admin/includes/functions/extrafunctions/edit_order.php

to copy_edit _order.php

I though I would just rename it in case I needed it for backup but it still had an effect on the site. I now deleted it and seems to be working fine.

Thanks again,

GS

4 Apr 2011, 8:26 PM
#247
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

guitarstore:

Ok,

I actually fixed it. I had renemed my admin/includes/functions/extrafunctions/edit_order.php

to copy_edit _order.php

I though I would just rename it in case I needed it for backup but it still had an effect on the site. I now deleted it and seems to be working fine.

Thanks again,

GS

Glad you figured it out! FYI, one thing I've learned here on the forum (I think even in this very thread), is that ZC gets a bit testy when there are files with duplicate or near duplicate names, such as filename.php and filename_backup.php or filename_copy.php, etc.

If you need to keep a copy for back up, simply open it, copy it, and paste it into a notepad file. Then save it on your PC with it's regular file name (instead of on the server).

What follows is an off topic discussion of file back up and storage, for which I know I'll be forgiven because it is so important:

I keep a clean copy of all of ZCs files from the zip file pack that I use to install the cart, as well as a clean copy of all files from all mods I have installed. This way, if I need them again, it's a simple upload.

I also keep copies of any file I've modified, using the same type of file renaming listed above - but again it's on my PC vs. on the server. This way, I have a clean copy of everything - original AND modified files for all ZC and Mod files.

Lastly, anything I have saved on my PC's hard drive I also have backed up on 2 separate pieces of removable storage (an external hard drive and a plug in pocket drive) - because I've learned the hard way that just one form of back up is NOT enough. When my OS blew up and wrecked my hard drive - I was thanking heaven for my external hard drive...until I tried to plug it in to a new computer only to find out that it too had failed.

Ever since then, I've kept two external copies in addition to my PC copy (this is in addition to the working original files on the server).

So you're definitely doing the right thing trying to save a copy for back up purposes, you just saved it in the wrong place (on your server instead of your own PC).

You might want to periodically go into your Cpanel and download a copy of all your databases (zen cart, word press, whatever you have, etc) PLUS have cpanel create a back up of your entire site. Most hosting companies will allow you to store one full back up of your site on your server.

It is crucially important to do this before installing or upgrading any mods or making any significant customizations to your store or website.

4 Apr 2011, 9:38 PM
#248
guitarstore avatar

guitarstore

New Zenner

Join Date:
Dec 2009
Posts:
28
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

That is good advice. I do keep some backups on the server but I will change this now. I also do regular backups of my entire site on 2 different devices and I especial backup before I do any major mod installs etc.

Thanks again!

GS

5 Apr 2011, 1:38 AM
#249
divavocals avatar

divavocals

Totally Zenned

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

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

You know I love you so I'm TOTALLY gonna forgive you!!:laugh::laugh::laugh:

Plus this is important information.. I'm gonna add another tip.. a quick search of this thread would have revealed the source of the issue.. Now I tell people to search all the time.. WHY.. Because I'VE learned a TONE from searching this forum or support threads.. Often times my question is already addressed..

You have to be CREATIVE when searching too.. I've learned through trial and error not to search for WHOLE error messages.. a well placed partial search will usually yield good results.. In this case I would have searched for "Cannot redeclare zen". Searching this support thread for this would have turned up the reason.. AND because people like to leave backup copies of files on their live stores this error has come up FREQUENTLY in this support thread..

ScriptJunkie is right, if you want to keep a "protective" copy of your store's files when installing modules, back the WHOLE store up locally.. It may sound like a hassle, but having a backup of the store files and the database LOCALLY will allow you to rollback to a previous state in relatively short order, and it is a better practice to do this versus leaving backup files all over your live (or test) store..

When working on a client site, I have three versions of the store

  1. Vanilla Version (Zen Cart with basic setup/configuration in place NO MODULES)
  2. Working copy this is the last WORKING version of my store + any new modules I plan to install.. Initially this copy and the vanilla copy will look alike.
  3. Backup copy - This is the is the last WORKING version of my store.

The way this works is as follows:
When I am getting ready to install a new module, I make a backup of the last working version of my store and put it in my backup folder..

I make a copy of the backup and put it in the working folder..

I make all the changes/merges/updates to the working store files and upload the changes back to my site.. If all tests out well, I make a new back up and put it in my backup folder.

If it goes wrong and I back myself into a corner or decide I no longer want the module, I can easily roll back to my backup copy..

ScriptJunkie:

Glad you figured it out! FYI, one thing I've learned here on the forum (I think even in this very thread), is that ZC gets a bit testy when there are files with duplicate or near duplicate names, such as filename.php and filename_backup.php or filename_copy.php, etc.

If you need to keep a copy for back up, simply open it, copy it, and paste it into a notepad file. Then save it on your PC with it's regular file name (instead of on the server).
**
What follows is an off topic discussion of file back up and storage, for which I know I'll be forgiven because it is so important:**

I keep a clean copy of all of ZCs files from the zip file pack that I use to install the cart, as well as a clean copy of all files from all mods I have installed. This way, if I need them again, it's a simple upload.

I also keep copies of any file I've modified, using the same type of file renaming listed above - but again it's on my PC vs. on the server. This way, I have a clean copy of everything - original AND modified files for all ZC and Mod files.

Lastly, anything I have saved on my PC's hard drive I also have backed up on 2 separate pieces of removable storage (an external hard drive and a plug in pocket drive) - because I've learned the hard way that just one form of back up is NOT enough. When my OS blew up and wrecked my hard drive - I was thanking heaven for my external hard drive...until I tried to plug it in to a new computer only to find out that it too had failed.

Ever since then, I've kept two external copies in addition to my PC copy (this is in addition to the working original files on the server).

So you're definitely doing the right thing trying to save a copy for back up purposes, you just saved it in the wrong place (on your server instead of your own PC).

You might want to periodically go into your Cpanel and download a copy of all your databases (zen cart, word press, whatever you have, etc) PLUS have cpanel create a back up of your entire site. Most hosting companies will allow you to store one full back up of your site on your server.

It is crucially important to do this before installing or upgrading any mods or making any significant customizations to your store or website.

5 Apr 2011, 2:11 AM
#250
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

DivaVocals:

You know I love you so I'm TOTALLY gonna forgive you!!:laugh::laugh::laugh:

Awwwww thank you :smile:

Great tips in your post! At first, it seems like a hassle, but very quickly one becomes used to backing up and working "redundantly"...and if you've ever had to say goodbye to your precious data and start from scratch....then you know that no amount of "redundancy" is too much! Better safe than sorry!

5 Apr 2011, 9:08 PM
#251
csimmons83 avatar

csimmons83

New Zenner

Join Date:
Nov 2010
Posts:
14
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Can anyone tell me if this mod allows you to add additional shipping charges to an order and then charge the customers credit card without having to reauthorize the additional charges? I am using linkpoint/First Data for cc processing.

The situation we are in is selling perishable food items and if a customer orders an item and selects flat rate shipping during the summer then we would like to automatically upgrade them to 2nd day.

6 Apr 2011, 1:29 AM
#252
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

csimmons83:

Can anyone tell me if this mod allows you to add additional shipping charges to an order and then charge the customers credit card without having to reauthorize the additional charges? I am using linkpoint/First Data for cc processing.

The situation we are in is selling perishable food items and if a customer orders an item and selects flat rate shipping during the summer then we would like to automatically upgrade them to 2nd day.

Sounds to me like you need to get rid of the option of flat rate, and only charge 2nd day in the summer months, if you are selling perishable food. If you leave the flat rate option and a customer picks flat rate you can't just charge there card upgrading there shipping without letting them know first. You need to make it clear on your site this is what you attend to do if they pick flat rat shipping.
Maybe you need to just offer 2nd day that way there is no need to do what your asking. No offence but If you went back and upgrade my shipping without letting me know what going on I sure wouldn't buy from you again.

6 Apr 2011, 1:48 AM
#253
divavocals avatar

divavocals

Totally Zenned

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

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

csimmons83:

Can anyone tell me if this mod allows you to add additional shipping charges to an order and then charge the customers credit card without having to reauthorize the additional charges?Short answer is no.. Any edits you make to an order which increase the amount of the order will not be re-authorized or re-charged.. You would need to process the difference manually..

There are other options for tracking supplemental shipping. One option a client of mine uses requires the hideCategories module.. Basically she sets up hidden category an in this category is a supplemental shipping charge "product template". This "product template" is an inactive product and it's only purpose is to save her the trouble of having to create this product over and over again.. This "product template" is basically a shipping charge product which contains all the product details which will tell your customer that this is an additional shipping charge. She simply "clones" (using the copy product function) this product, updates the price and description as needed, sets the inventory quantity to "1" (so no one else can "accidentally" buy this one off product) and activates it.

Then she sends the customer a direct link to the product. The customer can then pay for the additional shipping charges without her having to process a manual credit card transaction or send out a separate PayPal invoice.

That is one method to accomplish this.. there are others.. (I gotta MILLION ideas:laugh:) The point is you may have to think out the box a little to achieve what you want.. Edit Orders will not reprocess a customer credit card..

countrycharm:

Sounds to me like you need to get rid of the option of flat rate, and only charge 2nd day in the summer months, if you are selling perishable food. If you leave the flat rate option and a customer picks flat rate you can't just charge there card upgrading there shipping without letting them know first. You need to make it clear on your site this is what you attend to do if they pick flat rat shipping.
Maybe you need to just offer 2nd day that way there is no need to do what your asking.nods in agreement:yes:

Yep, IMHO, there are other options to get to the end result..

countrycharm:

No offence but If you went back and upgrade my shipping without letting me know what going on I sure wouldn't buy from you again.nods in agreement:yes:

9 Apr 2011, 5:08 PM
#254
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

New install of 1.3.9h
first mod installed Stock by attributes, Edit orders, then ty tracker, usps click and ship, info at a glance, super orders, then uninstalled click and ship.

Having issues with Edit orders specifically, and stock totals.

Also, seems there are extra boxes created in the items total column. When I type something like an extra charge for handling, it totals it but creates a new set of empty boxes.

Under Admin > Configure > Edit orders there is only one option: to turn it on to work with super orders. Is that right?

Edit orders lets us add items, even those with attributes, :) even those with out of stock attributes :( (if you cancel order and choose to put the items back in stock, it puts the out of stock item in stock. Solution may be to delete items individually and choose no when asked if should put back? or is this a problem with my install? why did it not know i don't have "red" in stock?

9 Apr 2011, 5:17 PM
#255
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

just read this...thanks...any more insight helpful:

Details on the attributes issues posted here: links known issue
http://www.zen-cart.com/forum/showpost.php?p=994163&postcount=217

9 Apr 2011, 7:35 PM
#256
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

Another issue besides

extra empty boxes in the totals column...

also

gobbletegook emails sent when order status is updated.

updates from orders.php and super orders.php are fine.

9 Apr 2011, 7:42 PM
#257
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

this is what the email looks like that is generated when an update is done via the Edit orders page:

Ž?XG¢"KQp4cx“,¸dåø•@5 Ä¥"â‘Ã$©7(Fâ8 aÈø‰ Dtl2C*"B‘tGPæÑÜ2A Ž‹¨‰RPÓ1‰2Gƒ$5æ^#©©RÆGPÔ#™½C$""BÑÀÙ™ l#äz"BÑ„fÀåÑ•hú8DpÉø‰Øàl¢>m‰Ú3arÍZDp6)´èöGކTJ’#£ÀY„"$ÉFpb"%edp6†Db%ah`ŽˆñÅ;ÌbwhŽ‹¢8D®"$Ñ‹²æKÄIB'c¢8 ñ¼f‰u²=šÐÌ À®tZrNIɹ—rëÓ"Yjò#£lŽ a##ï]…›ÏŒÃ9¢=ÿâ"L‘´xˆá’ 5;ӝðS¾ÿTÂi¡•“¼‘ ; ‰Û£ŒŽ'Uþ“ ·=ù Ï]nû¾ÌÌ#yŒT•å$"'oÜÞqÿñ÷Ï"=3çMÓUÊ28ÌÌÁÈñÇøÞh¯ÿÈÇïGeçŒJŒÎÐ"=íßÚw0eÌÁ ÌÈÚ#¯;åõÿ¯ùïúÃü}/éâ9íÿÌÿïXÕ 6FfÍ¢èÇÙ Ê|Óß±Qí¥ uøþs¿ÿÿøŠëF‡46Sà“‘ÕtâÂs0E_7˜ÿ¢¯ýqÅGÛÇf0G‚8þùûüŠ?Ùcÿw®>çŒ)ލ¯÷Ûz Á ffr4^ªAä¢%ˆ‹ qÖÖ×ûÇñØ#»íf¿ÿÿ¯ÿúOÄ&çº48)âŒ> [I?Ó ¢7$á—3…G¿íK£qÄFs‚iééëê68¦>+kù‡ïét¿þ—ýTEÕÇ0ôgsCk»¾ÕBfȹ Ì3d™»ÿ_ˆŠˆ´Õn×Öþm¥k<>nÿÿÿÿµMGôC§ŒÏ™íN=VÕ2;NâÏŒ¸Ì û=X¦Ö@ò †F¿¤"""h§4îýýqÅElŒm¯;ÿÿœøÿ‚ÅTSÒ4taó½˜}|±þ¶DqÓ0fi »ìšq¬DDDGßÒî«î6*6?ïš×<õþ¯ÿÿ‡Û§¤æ{SFaÿ~¿è4ϳ0PÌ3ˆŽ–‘u¡¼î™Ÿ»ÿû±†/³e黸mõÖ¿?þ¬Aæ|ñFŒîgÌ?×û´4Ѓ³hÔùžë²+ý|DDDGi¯î³tR_‘Ž;àŽõýŸÿ_ÿ¦0¿ô4ÝtqÂÑ¡Ìí٪ȣÿ ši„·˜ˆälf¶k_ä+"Šv—¨ˆˆ°Dt׺ÝUqweë^ËüãþhUÖ¿ÿÿÿÞÕ;S>xF0îgÔÃö´ÓÒ¼&™üÀLÄËæÑ¼ŽMÿdR$eFI##yªqh8i¯ßûb£v8ÿ{ýgÿýÿÿþ?ñÖö ©¡²Ÿ;¸Õ{ïIpšÞ|9r0)ˆŽFÈéžCùé,בùØÜ=¼D0’˜§Mtý+áÅGúÙ¿ÿÿ×ÿÿô˜=ÿޏ4hÌ>xò1úßý÷¥¨A¢NFäìîFç»/?þ†Fe>{)ÕŒ#惆9Q™F5ˆˆˆ»°ŸßÝÿŽ6+â»Þ¿_Sçÿ¶ÿøhã†=¿ëþ°_ÒtžƒtÁhÏ™óæ}Ç÷ªvhd|Ã0V`Áraø M®§þ ÿõÿ¿ÈƒƒúïÝŠëFŒÏ©‡£Æg0âÿÐ×M?LeÁ̃¤àÎ>Ø%_ÏþKÿÿQÿÒuº~gÂF‡ò£3àˆþ—z ÌÍ™ ÈæaœõË  &Ÿ®ßþ¿ý¶*3 Ž+Á{_g¿¯¯×÷×##ÿø‚ñN½:}òOF|ÃÙÇ~©òcÕVá¦z1˜Èä`Ë–'qÙ{çÿÿÁl?ÿúÿõëI¾wL)ŸÎî×âÐv|ŽFˆÏc¡B""""#ÿÁÿoÕÿ##ãŒ¿ðD{mfŒîþ¹¿íÿÅ}ÿEFŒ:÷§³KFŒîçŒ)£Gµ¯×õµ}lW#]®¼ 
11 Apr 2011, 1:33 PM
#258
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

zencart 1.3.9h new install
all mods installed cleanly and seem to be working enough for our store to be live without client side issues.

but our admin is another story:

i really need some help with this email issue. it only happens when notify customer is chosen when updating the notes section from edit_orders.php

I'm testing all our email functions and the emails are find from orders and super_orders.php.

11 Apr 2011, 2:13 PM
#259
divavocals avatar

divavocals

Totally Zenned

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

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

athena:

zencart 1.3.9h new install
all mods installed cleanly and seem to be working enough for our store to be live without client side issues.

but our admin is another story:

i really need some help with this email issue. it only happens when notify customer is chosen when updating the notes section from edit_orders.php

I'm testing all our email functions and the emails are find from orders and super_orders.php.I'm afraid that this issue seems unique to your store.. Can't replicate the issue, and therefore I can't begin to guess why it's happening to you..:dontgetit

It's possible that you have a corrupt download or that your FTP program may have corrupted the files.. Sorry this is the best guess I can provide.. Unless I can replicate this or others report the same issue (and this is the first time this issue has been reported) it's difficult to troubleshoot one off issues..

My suggestion is to download a fresh copy of Edit Orders and re-install again..

11 Apr 2011, 2:17 PM
#260
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Edit Orders v3.0 for ZC 1.3.9 [Support Thread]

OK....I'm going back in.... :(