Welcome to Geeklog, Anonymous Tuesday, April 23 2024 @ 03:22 pm EDT

Geeklog Forums

PayPal plugin instalation problem


Status: offline

Pushkar

Forum User
Regular Poster
Registered: 04/14/09
Posts: 99
Location:Ukraine, Kyiv
After manual instalation of paypal plugin I have an error:
Text Formatted Code
Fatal error: Cannot use object of type jcart as array in /home/ebpocom/public_html/plugins/paypal/classes/jcart.class.php on line 295

how to fix it?
thanks
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hi Pushkar,

If your register globals is ON, then you need to set it to OFF if you want the paypal plugin running.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Pushkar

Forum User
Regular Poster
Registered: 04/14/09
Posts: 99
Location:Ukraine, Kyiv
it does not interfere with the work of other modules and the work site in general?
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hi,

You should prepare to not use register global
This feature has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.

See http://www.php.net/manual/en/security.globals.php

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Pushkar

Forum User
Regular Poster
Registered: 04/14/09
Posts: 99
Location:Ukraine, Kyiv
I switch off register globals but still have this problem when I open any admin page Frown

Text Formatted Code
An error has occurred:

(This text is only displayed to users in the group 'Root')

2 - extract() [function.extract]: First argument should be an array @ /home/ebpocom/public_html/plugins/paypal/classes/jcart.class.php line 265

array(6) {
  ["jcart"]=>
  &object(jcart)#16 (6) {
    ["total"]=>
    int(0)
    ["itemcount"]=>
    int(0)
    ["items"]=>
    array(0) {
    }
    ["itemprices"]=>
    array(0) {
    }
    ["itemqtys"]=>
    array(0) {
    }
    ["itemname"]=>
    array(0) {
    }
  }
  ["block"]=>
  int(1)
  ["_CONF"]=>
  &array(211) {
    ["site_enabled"]=>
 
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Could you try to add the line below to your existing .htaccess file:
Text Formatted Code
    php_flag register_globals off


Thanks,

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Pushkar

Forum User
Regular Poster
Registered: 04/14/09
Posts: 99
Location:Ukraine, Kyiv
:banana: thanks it works

can you tell me one more else: I want to use Paypal plugin as simple catalog of goods (without price and shopping cart). How to switch of this options?
thanks
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Price and cart are not options. You will need to hack the plugin.

::Ben


I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Pushkar

Forum User
Regular Poster
Registered: 04/14/09
Posts: 99
Location:Ukraine, Kyiv
Frown sad ... Is it possible to make the category and subcategory? Categories are. But not enough subcategories
 Quote

Status: offline

kobab

Forum User
Regular Poster
Registered: 02/22/10
Posts: 73
http://www.ivywe.co.jp/download/index.php?id=databox

Pushkar,
Databox plugin of the above could be match to your needs.
Unfortunatelly, still beta version and no English support so far though.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Quote by: Pushkar

Frown sad ... Is it possible to make the category and subcategory? Categories are. But not enough subcategories



This will be a nice feature for the next release.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

All times are EDT. The time is now 03:22 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content