Welcome Guest, Not a member yet? Register   Sign In
Urgent help, pulling my hair out!!!
#1

[eluser]the_unforgiven[/eluser]
I installed a spark GoCardless via the sparks website:
http://getsparks.org/packages/GoCardless.../HEAD/show

Did everything it told me to do and works like a dream locally...
Minute i've uploaded to server i get this stupid error:
Code:
Cannot find spark path at sparks/gocardless/0.3.2/

Have I missed something, although it worked locally? same php versions on both local and server, so am sat pulling my hair out cos i dont know why!

please someone help me
#2

[eluser]the_unforgiven[/eluser]
I changed the folder to lowercase and now get the following error:

"Unable to load the requested class: gocardless"
#3

[eluser]the_unforgiven[/eluser]
Code:
all installed via Sparks

Code:
CONTROLLER:

function pay()
{
         $this->config->load('gocardless');
  $this->load->spark('gocardless/0.3.2');
  
  
  foreach ($this->cart->contents() as $items) {
  $delivery = '2.50'; // Set standard delivery price
     if ($items['subtotal'] > '50.00')
     {
      echo '';
     }
      
  }
  

  $payment_details = array(
    'amount'          => $this->cart->total()+$delivery,
    'name'            => $this->session->userdata('name')
  );

  $url = GoCardless::new_bill_url($payment_details);

  $data['paym'] = $url;
  $data['title'] = 'Payment';
  $data['content'] = 'payment';
  $this->load->view('template', $data);
}




Theme © iAndrew 2016 - Forum software by © MyBB