The patch work fine on 1.39d.
The patch work fine on 1.39d.
I am not sure where I went wrong.
I am able to add Subs and assign them to product.
I can not send a PO out. I either get a blank screen or the strange words that say the database can not be contacted.
Alright Now I am back to getting the Parse error:
Parse error: syntax error, unexpected $end in www/store1
/send_pos.php on line 967
I also get the same error for unknown customers
Parse error: syntax error, unexpected $end in www/store1/send_pos_nc.php on line 700
I have modified both send_pos and send_pos_nc
with the following:
if (!function_exists('zen_get_products_manufacturers_name')) {
function zen_get_products_manufacturers_name($product_id) {{
I know the parse error is due to a missing curly bracket but where?
Please help
Where to put the bracket is explained here:
http://www.zen-cart.com/forum/showth...=86503&page=40
Read the last post on that page. It sounds like you forgot the } just like you said.
Okay here is the complete function that I currently have:
if (!function_exists('zen_get_products_manufacturers_name')) {
function zen_get_products_manufacturers_name($product_id) {
global $db;
$product_query = "select m.manufacturers_name
from " . TABLE_PRODUCTS . " p, " .
TABLE_MANUFACTURERS . " m
where p.products_id = '" . (int)$product_id . "'
and p.manufacturers_id = m.manufacturers_id";
$product =$db->Execute($product_query);
return ($product->RecordCount() > 0) ? $product->fields['manufacturers_name'] : "";
}}
I have the closing curly inplace and this thing still gives the parse error.
I got it working. never mind thanks
@Burnin Carbon
how did you fix it?
I mean i installed Drop Shipping Purchase Orders Module and when i click on PO- Send/Resend it displays a white page.
Help me fix it.![]()
Everytime I go to Send/Resend, select, and click send, it makes me log back in and do it all over again. Has anyone ever run into this?
mani
There are four files that need modification.
Two in Admin and two in the includes.
Once I figured out there is four files I edited the ones in the includes folder and tested. worked perfectly.
mateogp
The answer to your question is "yes", I am not sure as to what is going on here. It only does it once in a while, not every time. What I do before going to send POs is go into the EXTRAs in admin first. On my server I can usually tell when it's going to act up, my admin slows way down. I hope that help. I know its not the answer you wanted to hear but at least you have some info now.
Bookmarks