I installed the label printing module into my cart. When I all of the buttons are there and when I tell it to print it only shows a blank page that says ASTRA BARCODE up top and then a print and back button on bottom. No actual document to print.
I installed the label printing module into my cart. When I all of the buttons are there and when I tell it to print it only shows a blank page that says ASTRA BARCODE up top and then a print and back button on bottom. No actual document to print.
Ok what is happening is it is putting the images it is getting from fedex(.png file) into my admin folder. The problem is it is not looking for them in admin. What controls wher the module looks for the image at?
I was having the same problem and have spent the last couple of days trying to figure it out. I think I have it working now. First I went and got the latest version 1.11 from http://www.numinix.com/zen-cart/admi...s-for-zen-cart
I removed the DIR_WS_FEDEX_LABELS line from my cart/configure.php.
Went through the install process with the new version and checked that I re-patched all my core files based on the info in the txt.
(It was still doing what you described so......)
I edited admin/includes/extra_datafiles/fedex_filenames.php and for the DIR_WS_FEDEX_LABELS put in the absolute path to my admin/images/fedex/ directory.
I then edited cart/admin/includes/function/general.php as follows:
found the line that said:
$fed->label(DIR_WS_FEDEX_LABELS . $trackNum . '.png');
and changed to reflect the absolute path to the director y
$fed->label('/home/content/x/y/z/somename/html/cart/admin/images/fedex/'. $trackNum . '.png');
I got the absolute path information from the configure.php file and added in the bits about the /images/fedex/
It seems to be working now. Hope it helps
I am also getting the astra barcode with options to print or go back but no printable label. I have quadruple checked the install and cannot figure out what is going wrong.
Has anyone had any resolve if this has happened to them?
Thanks in advance,
Ben
Bookmarks