VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: securomdj on October 29, 2011, 12:46:58 PM

Title: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: securomdj on October 29, 2011, 12:46:58 PM
I have installed: J 1.7.2 & VM 2.0.0-RC-2k

when i try to add a new payments method i get this error:

(//)

Translate to english:

0 - There was an error.
Table creditcards not supported. File not found.

Anyone ?

[attachment cleanup by admin]
Title: Re: Error creating Payment Method
Post by: alatak on October 29, 2011, 16:55:30 PM
Hi,

txs for reporting. We did a mistake. We are fixing it :)
Title: Re: Error creating Payment Method
Post by: alatak on October 30, 2011, 11:17:23 AM
Hi,

We removed one file and we should not have done it :).
To solve your problem, and wait until the next release, unzip the attached file and place it in:

administrator/components/com_virtuemart/tables

The problem is fixed for the next release.

[attachment cleanup by admin]
Title: Re: [Solved&Fixed]Error creating Payment Method
Post by: securomdj on October 30, 2011, 11:29:32 AM
its work !

thanks u  ;D
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: alatak on October 30, 2011, 12:40:56 PM
Hi,
Great :)
Title: Re: Error creating Payment Method
Post by: healthtrainer on October 31, 2011, 22:52:21 PM
Quote from: alatak on October 30, 2011, 11:17:23 AM
Hi,

We removed one file and we should not have done it :).
To solve your problem, and wait until the next release, unzip the attached file and place it in:

administrator/components/com_virtuemart/tables

The problem is fixed for the next release.
Which file shall I unzip?
thanks healthtrainer
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: alatak on November 01, 2011, 09:01:09 AM
hi,
please look at the file attached to the post.
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: addijhaq on November 02, 2011, 03:19:50 AM
added the creditcard.php file to the proper folder in my directory. It now shows up properly, but i'm getting two error messages still.

Warning: Invalid argument supplied for foreach() in /home/content/38/8288638/html/libraries/joomla/database/database/mysql.php on line 368

Warning: Invalid argument supplied for foreach() in /home/content/38/8288638/html/libraries/joomla/html/html/select.php on line 536


how can this be resolved?


-Addison
Title: Not solved? Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: edandrea on November 02, 2011, 07:44:45 AM
I am getting a slightly different error. I've uploaded the file to the correct directory but am getting this. Is there another file missing as well - table.php?

Warning: require_once(/home/ /public_html/joomla17/administrator/components/com_virtuemart/tables/creditcards.php) [function.require-once]: failed to open stream: No such file or directory in /home//public_html/joomla17/libraries/joomla/database/table.php on line 163

Fatal error: require_once() [function.require]: Failed opening required '/home/ /public_html/joomla17/administrator/components/com_virtuemart/tables/creditcards.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home//public_html/joomla17/libraries/joomla/database/table.php on line 163
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: alatak on November 02, 2011, 08:48:09 AM
Hi,

the error says that you probably did not put the file in the correct folder.
(/home/ /public_html/joomla17/administrator/components/com_virtuemart/tables/creditcards.php
This is the correct place.
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: edandrea on November 02, 2011, 18:01:09 PM
You were right. I uploaded the folder instead of the file. But now I have two different error messages,

Warning: Invalid argument supplied for foreach() in /home//public_html/joomla17/libraries/joomla/database/database/mysqli.php on line 391

Warning: Invalid argument supplied for foreach() in /home//public_html/joomla17/libraries/joomla/html/html/select.php on line 536

Only two payment methods show in the drop down when I go to add them. Are there only two payment methods or should there be more? All I see is VM-Payment Standard and VM- Payment PayPal

Thanks for your help.
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: alatak on November 02, 2011, 18:06:22 PM
Hi,

QuoteWarning: Invalid argument supplied for foreach() in /home//public_html/joomla17/libraries/joomla/database/database/mysqli.php on line 391

Warning: Invalid argument supplied for foreach() in /home//public_html/joomla17/libraries/joomla/html/html/select.php on line 536

this looks like Joomla warnings.

QuoteOnly two payment methods show in the drop down when I go to add them. Are there only two payment methods or should there be more? All I see is VM-Payment Standard and VM- Payment PayPal

Yes correct , rigth now we do have only those 2.
In the next revision, or may be the next next, there will be also authorize.net.

As i already said in another post, we are providing the most used payment methods. We hope the community will do some also. If you need another payment urgent, you may ask a professional :)

Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: vador on November 03, 2011, 00:18:38 AM
Quote from: addijhaq on November 02, 2011, 03:19:50 AM
added the creditcard.php file to the proper folder in my directory. It now shows up properly, but i'm getting two error messages still.

Warning: Invalid argument supplied for foreach() in /home/content/38/8288638/html/libraries/joomla/database/database/mysql.php on line 368

Warning: Invalid argument supplied for foreach() in /home/content/38/8288638/html/libraries/joomla/html/html/select.php on line 536


how can this be resolved?


-Addison

Same problem here.
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: alatak on November 03, 2011, 08:15:52 AM
Hi,
QuoteSame problem here.

Those are warningd, so you can still work. I have no idea why you have them. I can't reproduce the problem.
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: rumancola on November 07, 2011, 07:16:22 AM
same problem.....'/home/romechco/public_html/libraries/joomla/database/database/mysql.php on line 368'

does it mean the table doesn't exist within the database?
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: sweetriv on November 07, 2011, 07:20:31 AM
I was getting the same problem and your file fixed it - thank you for that.  Now the problem is that there are no Payment Methods or Shipping Methods in the Drop Down boxes.

Please help.
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: rumancola on November 07, 2011, 07:27:34 AM
after inserting the creditcard.php, the subsequent error, when trying to create a new creditcard option is :

VirtueMartModelCreditcard::store TableCreditcards: :store failed
Table 'romechco_jos1.jos_virtuemart_creditcards' doesn't exist SQL=INSERT INTO `jos_virtuemart_creditcards` (`virtuemart_creditcard_id`,`creditcard_name`,`creditcard_code`,`virtuemart_vendor_id`,`ordering`,`shared`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`) VALUES ('0','Visa','visa','1','0','0','0','2011-11-07 06:25:56','42','2011-11-07 06:25:56','42','0','0')
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: alatak on November 07, 2011, 10:11:52 AM
Hi

The entry Credit Card from the menus has been removed in the next version, because it should be handled by the payment plugin.

What kind of payment are u trying to set up?
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: rumancola on November 07, 2011, 11:58:28 AM
primarily visa via gateway. thanks for the response, perhaps i should have spent more time familiarising myself with the new version first...:)
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: alatak on November 07, 2011, 12:01:54 PM
Hi,

As you migth have notice, atm, we only have 2 payment methods: payapl, and standard that can be used for cach on delivery or similar king of payments.

I have developed authorize.net. I will be included pretty soon. Still need to do some test.

All other payment methods are not yet developed.
If your need is urgent, you may ask a professional to do it :).
Title: Re: [Solved&Fixed]Error creating Payment Method RELEASE K PROBLEM
Post by: rumancola on November 07, 2011, 13:01:36 PM
i was hoping to use eWAY but that now means going back to 1.19 and joomla 1.5 which is not really an option...:( i may wait for the authorize.net if the client has patience....
Title: Re: Error creating Payment Method
Post by: archi4shah on November 24, 2011, 10:21:28 AM
Quote from: alatak on October 30, 2011, 11:17:23 AM
Hi,

We removed one file and we should not have done it :).
To solve your problem, and wait until the next release, unzip the attached file and place it in:

administrator/components/com_virtuemart/tables

The problem is fixed for the next release.


still getting the same problem.. :(