Note that there are some explanatory texts on larger screens.

plurals
  1. POShipStation issue with auto importing due to time issue?
    primarykey
    data
    text
    <p>Im new to the whole ecommerce scene, but im trying to get it where OpenCart will work with ShipStation to fill out shipment orders and handle the payments of them. However im getting this error in the error_log for the ShipStation extension module. </p> <p>UPDATE: Whats supposed to happen is when im on the app ShipStation and click Update from stores, it sends a request to this export.php script (thats shooting me the error).</p> <pre><code>2013-10-07 20:25:03 - PHP Notice: Undefined offset: 1 in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-07 20:25:03 - PHP Notice: Undefined offset: 1 in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-07 20:25:03 - PHP Notice: Undefined offset: 2 in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-07 20:25:03 - PHP Notice: A non well formed numeric value encountered in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-07 20:25:03 - PHP Notice: A non well formed numeric value encountered in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-07 20:25:03 - PHP Notice: Undefined offset: 1 in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-07 20:25:03 - PHP Notice: Undefined offset: 1 in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-07 20:25:03 - PHP Notice: Undefined offset: 2 in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-07 20:25:03 - PHP Notice: A non well formed numeric value encountered in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-07 20:25:03 - PHP Notice: A non well formed numeric value encountered in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-07 22:25:08 - PHP Notice: Undefined offset: 1 in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-07 22:25:08 - PHP Notice: Undefined offset: 1 in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-07 22:25:08 - PHP Notice: Undefined offset: 2 in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-07 22:25:08 - PHP Notice: A non well formed numeric value encountered in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-07 22:25:08 - PHP Notice: A non well formed numeric value encountered in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-07 22:25:08 - PHP Notice: Undefined offset: 1 in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-07 22:25:08 - PHP Notice: Undefined offset: 1 in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-07 22:25:08 - PHP Notice: Undefined offset: 2 in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-07 22:25:08 - PHP Notice: A non well formed numeric value encountered in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-07 22:25:08 - PHP Notice: A non well formed numeric value encountered in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-08 0:21:11 - PHP Notice: Undefined offset: 1 in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-08 0:21:11 - PHP Notice: Undefined offset: 1 in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-08 0:21:11 - PHP Notice: Undefined offset: 2 in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-08 0:21:11 - PHP Notice: A non well formed numeric value encountered in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-08 0:21:11 - PHP Notice: A non well formed numeric value encountered in /home/begumbou/public_html/shipstation/controller/export.php on line 15 2013-10-08 0:21:11 - PHP Notice: Undefined offset: 1 in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-08 0:21:11 - PHP Notice: Undefined offset: 1 in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-08 0:21:11 - PHP Notice: Undefined offset: 2 in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-08 0:21:11 - PHP Notice: A non well formed numeric value encountered in /home/begumbou/public_html/shipstation/controller/export.php on line 22 2013-10-08 0:21:11 - PHP Notice: A non well formed numeric value encountered in /home/begumbou/public_html/shipstation/controller/export.php on line 22 </code></pre> <p>line 15 states </p> <pre><code>$data['startdate'] = date('Y-m-d H:i:s', mktime($starttime[0], $starttime[1], 0, $startdate[0], $startdate[1], $startdate[2])); </code></pre> <p>and line 22 states </p> <pre><code>$data['enddate'] = date('Y-m-d H:i:s', mktime($endtime[0], $endtime[1], 0, $enddate[0], $enddate[1], $enddate[2])); </code></pre> <p>Heres all the code put together</p> <pre><code> if (isset($this-&gt;request-&gt;get['start_date'])) { $start_date_time = explode(' ', $this-&gt;request-&gt;get['start_date']); $startdate = explode('/', $start_date_time[0]); $starttime = explode(':', $start_date_time[1]); $data['startdate'] = date('Y-m-d H:i:s', mktime($starttime[0], $starttime[1], 0, $startdate[0], $startdate[1], $startdate[2])); } if (isset($this-&gt;request-&gt;get['end_date'])) { $end_date_time = explode(' ', $this-&gt;request-&gt;get['end_date']); $enddate = explode('/', $end_date_time[0]); $endtime = explode(':', $end_date_time[1]); $data['enddate'] = date('Y-m-d H:i:s', mktime($endtime[0], $endtime[1], 0, $enddate[0], $enddate[1], $enddate[2])); </code></pre> <p>UPDATE ERROR_LOG</p> <pre><code>[08-Oct-2013 17:33:39 UTC] Array ( [0] =&gt; 01%3a08 ) [08-Oct-2013 17:33:39 UTC] Array ( [0] =&gt; 17%3a33 ) </code></pre> <p>this was on the raw_error_logs, it matches the array given above.</p> <pre><code>162.209.46.39 - - [08/Oct/2013:13:33:39 -0400] "GET /shipstation/index.php?action=export&amp;start_date=10%2f08%2f2013+01%3a08&amp;end_date=10%2f08%2f2013+17%3a33&amp;page=1&amp;SS-UserName=R4ND0ML3TT3RSANDNUB3RS1T00K0UT&amp;SS-Password=R4ND0ML3TT3RSANDNUB3RS1T00K0UT HTTP/1.1" 302 448 "-" "ShipStation" </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload