How to re-create (can probably be re-created more easily, this is how I found the error):
1. Install a fresh copy of OpenCart v.1.3.2
2. Create a valid user account with a valid address (made the Address in Australia)
3. Make sure you are logged out and there is nothing in your cart
4. Add something to your cart when you are browsing (I used Laptop -> Macbook from the example)
5. Click 'Checkout'
6. Fill in the 'Returning Customer' box with the valid user account created in step 2. and click 'login'
Instead of being taken to the Shipping page you are taken to the Payment page and the following errors are displayed:
The first one is the error I am concerned about. The subsequent errors should probably be addressed by checking a blank error.txt is created in the installer, and confirm it is writable at installation time?Notice: Undefined index: shipping_address_id in <basedir>/catalog/controller/checkout/payment.php on line 35
Warning: fopen(<basedir>/system/logs/error.txt) [function.fopen]: failed to open stream: Permission denied in <basedir>/system/library/logger.php on line 12
Warning: fwrite(): supplied argument is not a valid stream resource in <basedir>/system/library/logger.php on line 14
Warning: fclose(): supplied argument is not a valid stream resource in <basedir>/system/library/logger.php on line 16