Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2012
    Posts
    13
    Plugin Contributions
    0

    Default Can not access orders from my Admin panel

    I have recently set up the various checkout methods (tested all as a "customer" and all work fine and I get email showing orders) but I can no longer view any order information in my admin panel from new or older orders processed through my old checkout method with FirstData.

    My PayPal Express orders show up in my Admin as a new order but when I click on the customer name to view order I get this error:

    ERROR http://www.wholebodystore.com/myadmi...8&origin=index

    None of my Checkout by Amazon orders show up but I choose to only see them in my Amazon account and I get emails to alert me.

    None of my GoogleCheckout orders show up but they process nicely in the Google interface and I get emails to alert me.

    How do I get to see my order details from my admin panel for my PayPal orders?

    I will appreciate any help!!

    Thanks,

    Kelly

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    2,896
    Plugin Contributions
    27

    Default Re: Can not access orders from my Admin panel

    Kelly, have you made any changes to /YOURADMIN/orders.php? The problem you posted implies that some piece of code is adding the name of the module (orders.php) twice (that's why the link includes orders.phporders.php).

    Also, now that you have posted the name of your admin directory, be sure to rename it quickly!
    Last edited by lat9; 2 May 2012 at 06:36 PM. Reason: Removed unhelpful size of v1.5.0 module ...

  3. #3
    Join Date
    Apr 2012
    Posts
    13
    Plugin Contributions
    0

    Default Re: Can not access orders from my Admin panel

    Yes, I do have Google Checkout in their twice (not sure how I am an amateur) but I do not see any reference to my amazon checkout or paypal express checkout? Here is what I do see for Google Checkout!

    // ** GOOGLE CHECKOUT **
    chdir("./..");
    require_once(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/payment/googlecheckout.php');
    $payment_value= MODULE_PAYMENT_GOOGLECHECKOUT_TEXT_TITLE;
    $result = $db->Execute("select google_order_number from google_orders where orders_id= ". (int)$oID);
    $num_rows = $result->RecordCount();

    if($num_rows != 0) {
    $customer_notified = google_checkout_state_change($check_status, $status, $oID,
    (@$_POST['notify']=='on'?1:0),
    (@$_POST['notify_comments']=='on'?$comments:''));
    }
    $customer_notified = isset($customer_notified)?$customer_notified:'0';
    // ** END GOOGLE CHECKOUT **
    if (isset($_POST['notify']) && ($_POST['notify'] == 'on')) {
    $notify_comments = '';
    if (isset($_POST['notify_comments']) && ($_POST['notify_comments'] == 'on') && zen_not_null($comments)) {
    $notify_comments = EMAIL_TEXT_COMMENTS_UPDATE . $comments . "\n\n";
    }
    // ** GOOGLE CHECKOUT **
    $force_email = false;
    if($num_rows != 0 && (strlen(htmlentities(strip_tags($notify_comments))) > GOOGLE_MESSAGE_LENGTH && MODULE_PAYMENT_GOOGLECHECKOUT_USE_CART_MESSAGING == 'True')) {
    $force_email = true;
    $messageStack->add_session(GOOGLECHECKOUT_WARNING_SYSTEM_EMAIL_SENT, 'warning');
    }
    $message = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" .
    EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n" .
    EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n\n" .
    EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']) . "\n\n" .
    strip_tags($notify_comments) .
    EMAIL_TEXT_STATUS_UPDATED . sprintf(EMAIL_TEXT_STATUS_LABEL, $orders_status_array[$status] ) .
    EMAIL_TEXT_STATUS_PLEASE_REPLY;

    $html_msg['EMAIL_CUSTOMERS_NAME'] = $check_status->fields['customers_name'];
    $html_msg['EMAIL_TEXT_ORDER_NUMBER'] = EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID;
    $html_msg['EMAIL_TEXT_INVOICE_URL'] = '<a href="' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') .'">'.str_replace(':','',EMAIL_TEXT_INVOICE_URL).'</a>';
    $html_msg['EMAIL_TEXT_DATE_ORDERED'] = EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']);
    $html_msg['EMAIL_TEXT_STATUS_COMMENTS'] = nl2br($notify_comments);
    $html_msg['EMAIL_TEXT_STATUS_UPDATED'] = str_replace('\n','', EMAIL_TEXT_STATUS_UPDATED);
    $html_msg['EMAIL_TEXT_STATUS_LABEL'] = str_replace('\n','', sprintf(EMAIL_TEXT_STATUS_LABEL, $orders_status_array[$status] ));
    $html_msg['EMAIL_TEXT_NEW_STATUS'] = $orders_status_array[$status];
    $html_msg['EMAIL_TEXT_STATUS_PLEASE_REPLY'] = str_replace('\n','', EMAIL_TEXT_STATUS_PLEASE_REPLY);

    if($num_rows == 0 || $force_email) {
    //send emails, not a google order or configured to use both messaging systems
    zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');
    $customer_notified = '1';
    //send extra emails
    }
    if (SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS == '1' and SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO != '') {
    zen_mail('', SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO, SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_SUBJECT . ' ' . EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status_extra');
    $messageStack->add_session(GOOGLECHECKOUT_SUCCESS_SEND_ADMIN_COPY_EMAIL, 'success');
    }
    // ** END GOOGLE CHECKOUT **


    PS Thanks for the tip on my admin name!!
    Quote Originally Posted by lat9 View Post
    Kelly, have you made any changes to /YOURADMIN/orders.php? The problem you posted implies that some piece of code is adding the name of the module (orders.php) twice (that's why the link includes orders.phporders.php).

    Also, now that you have posted the name of your admin directory, be sure to rename it quickly!

  4. #4
    Join Date
    Apr 2012
    Posts
    13
    Plugin Contributions
    0

    Default Re: Can not access orders from my Admin panel

    Yes, I do have Google Checkout in their twice (not sure how I am an amateur) but I do not see any reference to my amazon checkout or paypal express checkout? Here is what I do see for Google Checkout!

    // ** GOOGLE CHECKOUT **
    chdir("./..");
    require_once(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/payment/googlecheckout.php');
    $payment_value= MODULE_PAYMENT_GOOGLECHECKOUT_TEXT_TITLE;
    $result = $db->Execute("select google_order_number from google_orders where orders_id= ". (int)$oID);
    $num_rows = $result->RecordCount();

    if($num_rows != 0) {
    $customer_notified = google_checkout_state_change($check_status, $status, $oID,
    (@$_POST['notify']=='on'?1:0),
    (@$_POST['notify_comments']=='on'?$comments:''));
    }
    $customer_notified = isset($customer_notified)?$customer_notified:'0';
    // ** END GOOGLE CHECKOUT **
    if (isset($_POST['notify']) && ($_POST['notify'] == 'on')) {
    $notify_comments = '';
    if (isset($_POST['notify_comments']) && ($_POST['notify_comments'] == 'on') && zen_not_null($comments)) {
    $notify_comments = EMAIL_TEXT_COMMENTS_UPDATE . $comments . "\n\n";
    }
    // ** GOOGLE CHECKOUT **
    $force_email = false;
    if($num_rows != 0 && (strlen(htmlentities(strip_tags($notify_comments))) > GOOGLE_MESSAGE_LENGTH && MODULE_PAYMENT_GOOGLECHECKOUT_USE_CART_MESSAGING == 'True')) {
    $force_email = true;
    $messageStack->add_session(GOOGLECHECKOUT_WARNING_SYSTEM_EMAIL_SENT, 'warning');
    }
    $message = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" .
    EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n" .
    EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n\n" .
    EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']) . "\n\n" .
    strip_tags($notify_comments) .
    EMAIL_TEXT_STATUS_UPDATED . sprintf(EMAIL_TEXT_STATUS_LABEL, $orders_status_array[$status] ) .
    EMAIL_TEXT_STATUS_PLEASE_REPLY;

    $html_msg['EMAIL_CUSTOMERS_NAME'] = $check_status->fields['customers_name'];
    $html_msg['EMAIL_TEXT_ORDER_NUMBER'] = EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID;
    $html_msg['EMAIL_TEXT_INVOICE_URL'] = '<a href="' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') .'">'.str_replace(':','',EMAIL_TEXT_INVOICE_URL).'</a>';
    $html_msg['EMAIL_TEXT_DATE_ORDERED'] = EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status->fields['date_purchased']);
    $html_msg['EMAIL_TEXT_STATUS_COMMENTS'] = nl2br($notify_comments);
    $html_msg['EMAIL_TEXT_STATUS_UPDATED'] = str_replace('\n','', EMAIL_TEXT_STATUS_UPDATED);
    $html_msg['EMAIL_TEXT_STATUS_LABEL'] = str_replace('\n','', sprintf(EMAIL_TEXT_STATUS_LABEL, $orders_status_array[$status] ));
    $html_msg['EMAIL_TEXT_NEW_STATUS'] = $orders_status_array[$status];
    $html_msg['EMAIL_TEXT_STATUS_PLEASE_REPLY'] = str_replace('\n','', EMAIL_TEXT_STATUS_PLEASE_REPLY);

    if($num_rows == 0 || $force_email) {
    //send emails, not a google order or configured to use both messaging systems
    zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');
    $customer_notified = '1';
    //send extra emails
    }
    if (SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS == '1' and SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO != '') {
    zen_mail('', SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO, SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_SUBJECT . ' ' . EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status_extra');
    $messageStack->add_session(GOOGLECHECKOUT_SUCCESS_SEND_ADMIN_COPY_EMAIL, 'success');
    }
    // ** END GOOGLE CHECKOUT **


    PS Thanks for the tip on my admin name!!


    Quote Originally Posted by lat9 View Post
    Kelly, have you made any changes to /YOURADMIN/orders.php? The problem you posted implies that some piece of code is adding the name of the module (orders.php) twice (that's why the link includes orders.phporders.php).

    Also, now that you have posted the name of your admin directory, be sure to rename it quickly!

 

 

Similar Threads

  1. Can't Access Admin Panel?
    By wizer in forum Basic Configuration
    Replies: 13
    Last Post: 5 Jan 2012, 10:26 PM
  2. admin panel can't access
    By mrm_loader in forum General Questions
    Replies: 2
    Last Post: 18 Jul 2009, 11:00 AM
  3. Locked out from Admin Panel and nobody can make orders- PLEASE HELP
    By mark@haibikeshop.com in forum General Questions
    Replies: 1
    Last Post: 26 Aug 2007, 06:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •