Bitcoin Forum
November 11, 2024, 06:59:09 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Zen Cart bitcoin payment module HELP  (Read 1387 times)
digital (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
August 22, 2011, 02:29:36 AM
Last edit: August 22, 2011, 05:53:38 PM by digital
 #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
F4C3
Newbie
*
Offline Offline

Activity: 31
Merit: 0



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.
digital (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


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
Newbie
*
Offline Offline

Activity: 31
Merit: 0



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.
digital (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


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
Merit: 10


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!