Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Ordernumbers for Magento

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • peter ross
  • peter ross's Avatar Topic Author
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

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

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

  • peter ross
  • peter ross's Avatar Topic Author
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.

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

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

  • peter ross
  • peter ross's Avatar Topic Author
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

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
  • Page:
  • 1