Bitcoin Forum
December 11, 2016, 02:15:11 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Zen Cart bitcoin payment module HELP  (Read 1183 times)
digital
Hero Member
*****
Offline Offline

Activity: 490


View Profile
August 22, 2011, 02:29:36 AM
 #1

Im trying to add the bitcoin payment module to my ecommerce website.

The module is located here:
https://github.com/jalder/Zen-Cart-Bitcoin-Payment-Module

I've checked everything twice, all the files look like their in the correct places.  But when I go to enable the payment module on the Payment Modules page, it looks like the page is broken, as only three of the modules even appear in the list when there should be 10-15 listed.  Plus at the top of the module list I get an error:

Parse error: syntax error, unexpected '{' in /html/store/includes/modules/payment/bitcoin.php on line 79

Also in the Extras menu there is a Bitcoin Payment Center  option, when clicked I get an empty white page with this error:

Parse error: syntax error, unexpected '{' in /html/store/admin/bitcoin.php on line 52


I wanted to post in the original thread that introduced the module, but Im a noob to the board hence don't have the ability.
I've made some little changes to the code in the hopes if would eliminate the errors, but it just created more/other errors so I reverted back.

Im hoping that something was just missed  during the last package update, or some other simple thing is amiss.  I have no problems with the RPC server, but I can't even get to the configuration page for the payment module because of the above issues.

Any help would be huge, hopefully it's noticed in the Newbies section... lol
  
 

If I help you out: 17QatvSdciyv2zsdAbphDEUzST1S6x46c3
References (bitcointalk.org/index.php?topic=): 50051.20  50051.100  53668.0  53788.0  53571.0  53571.0  52212.0  50729.0  114804.0  115468  78106  69061  58572  54747
1481422511
Hero Member
*
Offline Offline

Posts: 1481422511

View Profile Personal Message (Offline)

Ignore
1481422511
Reply with quote  #2

1481422511
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481422511
Hero Member
*
Offline Offline

Posts: 1481422511

View Profile Personal Message (Offline)

Ignore
1481422511
Reply with quote  #2

1481422511
Report to moderator
1481422511
Hero Member
*
Offline Offline

Posts: 1481422511

View Profile Personal Message (Offline)

Ignore
1481422511
Reply with quote  #2

1481422511
Report to moderator
1481422511
Hero Member
*
Offline Offline

Posts: 1481422511

View Profile Personal Message (Offline)

Ignore
1481422511
Reply with quote  #2

1481422511
Report to moderator
F4C3
Jr. Member
*
Offline Offline

Activity: 31



View Profile
August 22, 2011, 06:16:25 PM
 #2

Are you running PHP5 on this server or PHP4?  The lines noted by the error message match with the "try-catch" exception.  I don't believe try-catches worked in PHP4.

Coin Daemon: A bitcoind Hosting Service
digital
Hero Member
*****
Offline Offline

Activity: 490


View Profile
August 22, 2011, 07:03:31 PM
 #3

Yep yep, that did it.  So glad it was something simple.

Upgraded to php 5.2 and it all works fine now.  Now I just have to decide whether to host my own rpc server or to use Coin Daemon...

Oh, and I would like to repay the favor.  Let me know where you would like the btc sent.

If I help you out: 17QatvSdciyv2zsdAbphDEUzST1S6x46c3
References (bitcointalk.org/index.php?topic=): 50051.20  50051.100  53668.0  53788.0  53571.0  53571.0  52212.0  50729.0  114804.0  115468  78106  69061  58572  54747
F4C3
Jr. Member
*
Offline Offline

Activity: 31



View Profile
August 22, 2011, 07:26:36 PM
 #4

Glad you got it up and running.

I'd hate to be the bearer of bad news, but I am thinking about taking down Coin Daemon this week due to lack of funds to pay for it and the intense amount of disk space required to host the blocks.  I can give you some pointers on hosting your own bitcoind if you would like.

Coin Daemon: A bitcoind Hosting Service
digital
Hero Member
*****
Offline Offline

Activity: 490


View Profile
August 22, 2011, 09:08:25 PM
 #5

Well I guess that answers my question for me then....

I will definitely keep you in mind if I run into problems.

If I help you out: 17QatvSdciyv2zsdAbphDEUzST1S6x46c3
References (bitcointalk.org/index.php?topic=): 50051.20  50051.100  53668.0  53788.0  53571.0  53571.0  52212.0  50729.0  114804.0  115468  78106  69061  58572  54747
Sandoz
Member
**
Offline Offline

Activity: 85


View Profile
August 24, 2011, 05:59:35 AM
 #6

Glad you got it up and running.

I'd hate to be the bearer of bad news, but I am thinking about taking down Coin Daemon this week due to lack of funds to pay for it and the intense amount of disk space required to host the blocks.  I can give you some pointers on hosting your own bitcoind if you would like.

A shame! Wouldn't it be possible to have only one blockchain shared between all instances of bitcoind?
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!