Search found 750 matches

by RWAP
Sun Mar 11, 2018 10:12 am
Forum: Bugs
Topic: Minor Bug in Facebook Button
Replies: 0
Views: 74

Minor Bug in Facebook Button

In modules\class\FacebookButton.php

FInd:

Code: Select all

$fbUserInfo = $facebook->api('/' + $userId);
This should read:

Code: Select all

$fbUserInfo = $facebook->api('/' . $userId);
by RWAP
Mon Mar 05, 2018 6:22 am
Forum: General Discussion
Topic: Enuuk and PHP 7
Replies: 2
Views: 367

Re: Enuuk and PHP 7

If you are thinking about upgrading to PHP 7.2, there are some issues you need to look out for in the source code. In particular, count($offers) will return a PHP warning if $offers is null (or a non-array). In various places in the code, you will find statements such as : if (count($offers)) { This...
by RWAP
Thu Nov 30, 2017 5:03 pm
Forum: Bugs
Topic: Listing items with start price > 1000
Replies: 0
Views: 148

Listing items with start price > 1000

There is a bug in class\Fee.php which means if you list an item with a start price of over 1000, you never get charged any fees - they are simply not added to the frozen fee table. In Class\Fee.php, find: $sql = 'insert into '.self::FEES_USERS_TABLE.' (feeId, userId, `date`, amount, offerId, comment...
by RWAP
Wed Nov 15, 2017 3:07 pm
Forum: Bugs
Topic: Payment Gateway - responseOther()
Replies: 0
Views: 122

Payment Gateway - responseOther()

There is a minor bug in class\PaymentGateway.php which means that if an invoice payment is pending for example, it will not get updated correctly in the Enuuk database. Find: protected function responseOther(MyPDO $DB, $id) { switch(paymentType) { This should read: protected function responseOther(M...
by RWAP
Wed Nov 15, 2017 9:44 am
Forum: Bugs
Topic: Map Location of Seller
Replies: 0
Views: 87

Map Location of Seller

Enuuk stores the latitude and longitude of the seller in case you have enabled the map view on the offer details page. However, if the seller updates their address, the stored latitude and longitude never get updated. To overcome this, in class\Action\User.php, in public function edit() find: if (st...
by RWAP
Mon Aug 28, 2017 12:35 pm
Forum: Adverts for Modifications
Topic: Increased Speed and Reduced Server Load
Replies: 10
Views: 1736

Re: Increased Speed and Reduced Server Load

We apologise for the delay in releasing v3.00 of this module; but we have been working hard to find the best compromise between caching and direct SQL calls (bearing in mind the cache built into MySQL itself). However, we have one user who has reported that adding items (to his list of 9000+ items o...
by RWAP
Tue Aug 22, 2017 12:57 pm
Forum: Bugs
Topic: Editing User Custom Fields
Replies: 0
Views: 290

Editing User Custom Fields

There is a bug in the way custom fields in a user's profile are processed, meaning they don't work if you have more than one custom field (and in particular, the user cannot delete the whole information if it is not a mandatory field). In class\User.php Find: if (count($this->customFields)) { $sql =...
by RWAP
Tue Aug 22, 2017 6:52 am
Forum: Adverts for Modifications
Topic: Emails as auctions near the end
Replies: 4
Views: 554

Re: Emails as auctions near the end

v1.1 of this module has now been released, which incorporates an improvement to the way notifications are issued and updated in the database to help reduce server load.
by RWAP
Tue Jul 25, 2017 11:17 am
Forum: Adverts for Modifications
Topic: Enhanced Favourites
Replies: 2
Views: 692

Re: Enhanced Favourites

v1.3 of this module has now been released which improves the handling of how the items in favourite shops / sellers are counted to reduce server load and increase page speed We have also implemented a small change to how the system checks if an item is already in your favourites list to improve the ...
by RWAP
Fri Jun 23, 2017 7:44 am
Forum: Bugs
Topic: PayPal buttons - blank screens
Replies: 0
Views: 218

PayPal buttons - blank screens

I have come across an instance where clicking on the PayPal button was leading to a blank screen due to the paypal button code having two _cmd parameters (albeit the same). I fixed this on my own site some time ago, but cannot see that I documented it as a bug. It is easy to fix, in class\Gateway\Pa...