VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

TOPIC: Error in configuration & no checkout possible

Error in configuration & no checkout possible 07 Oct 2015 18:00 #1

Hi,

we've installed the order number plugin for magento. If activate the configuration for orders and/or invoices there occurs an error (standard error message for users, no specific output) at the end of checkout. So, selling is not possible anymore with the plugin activated.

Further there is an error message if we try to add a new counter and save it in the backend config:
"Beim Speichern dieser Konfiguration ist ein Fehler aufgetreten: Notice: Undefined index: counter in /var/www/vhosts/vps5332.alfahosting-vps.de/tmshop/app/code/community/OpenTools/Ordernumber/Model/Backend/Counters.php on line 62"

As far as the basic configuration was not very unique/special I think that this is the most interesting thing about the whole problem. In the counter list there was no counter shown and as I said ... adding one doesn't work because the error occurs if we try to save it.

Please help us soon, because we need to rewrite the numbers but can't use your plugin at all, at the moment.

Thanks
Peter Ross
The administrator has disabled public write access.

Error in configuration & no checkout possible 09 Oct 2015 23:03 #2

Dear Peter,
Sorry to hear about your problems. Which version of Magento and of PHP are you using?

The "Error" message is actually "just" a warning message, so it should not prevent the plugin from successfully creating the counter (unless you set php to treat all warnings as errors and exit, which is a possible, but rarely used PHP configuration setting). We will look into its cause, but it should not be the reason for your problems.

Do you have any php error or warning messages in your web server's log file?
In particular, if the checkout (done via AJAX) is not possible, there should be a proper PHP warning in the log file about the cause of the issue.

Best regards,
Reinhold
The administrator has disabled public write access.

Error in configuration & no checkout possible 09 Oct 2015 23:11 #3

Exception message: Notice: Undefined index: deletecounter in [removed]/app/code/community/OpenTools/Ordernumber/Model/Backend/Counters.php on line 78

2015-10-07T15:32:04+00:00 ERR (3):
exception 'Exception' with message 'Warning: Invalid argument supplied for foreach() in [removed]/app/code/community/OpenTools/Ordernumber/Helper/Data.php on line 180' in [removed]/app/code/core/Mage/Core/functions.php:245

These two errors are in the exception.log...

They occured more than one time ...
I think the first one is the one when I tried to add a new counter and the second one is the one which occured on checkout.

Magento 1.9.2.1
PHP Version 5.5.9-1ubuntu4.12

Please help.
The administrator has disabled public write access.

Error in configuration & no checkout possible 10 Oct 2015 16:12 #4

Dear Peter,
Thank you for the log file excerpts. The two issues are actually quite related. Also, the issues don't appear in production mode, only in developer mode.

We have now identified and fixed the problems and released version 1.0.1 (available for download at the product page or the "Your downloads" page here).
Alternatively, you can also just copy the two attached files to:
(Attachments removed, already in released version)

Please let me know whether this fixes your issues.
Best regards,
Reinhold
The administrator has disabled public write access.

Error in configuration & no checkout possible 12 Oct 2015 12:46 #5

No we can add a counter but there is still an error at the end of checkout process:

2015-10-12T10:41:55+00:00 ERR (3):
exception 'Exception' with message 'Warning: Invalid argument supplied for foreach() in /var/www/vhosts/vps5332.alfahosting-vps.de/tmshop/app/code/community/OpenTools/Ordernumber/Helper/Data.php on line 184' in /var/www/vhosts/vps5332.alfahosting-vps.de/tmshop/app/code/core/Mage/Core/functions.php:245
Stack trace:

Still no orders possible with your plugin enabled... :-((( Very annoying
The administrator has disabled public write access.

Error in configuration & no checkout possible 15 Oct 2015 01:24 #6

Dear Peter,
Sorry for the inconvenience. Apparently we forgot to include one changed file (app/code/community/OpenTools/Ordernumber/Model/Observer.php) in the package for version 1.0.1. Please either copy the attached file to
app/code/community/OpenTools/Ordernumber/Model/Observer.php
on your server, or install version 1.0.2 (which is just version 1.0.1 with that single fix added).

Best regards,
Reinhold

Edit: Attachment php file removed, as it is already in a released version
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular