Vendor Payment screen

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
8 years 2 months ago #229174

Hi,

Great; you have the issue we fixed in December.

Please redownload HikaMarket 1.6.7 ; I think you have the issue that we fixed begin of december.

So I don't know what you have done 4 days ago but I don't think that you have re-downloaded the package that I have uploaded on December 16, 2015 at 15:53 and which contain the patch according to the other thread which reported that issue the first time.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
8 years 2 months ago #229244

Hi Jerome,

Am I doing something wrong then?
I go to my subscription on the hikashop website. I see, what I assume to be, the latest version of the software. I download the package. Then I install it on my website. Joomla tells me installation was successful.
Then trying to pay a vendor gives me the white screen.

Today I tried again with the same result.

Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
8 years 2 months ago #229249

Hi,

Yes, I think that there is something wrong somehow/somewhere.
But I am sure at 100% that the patch is in production and if you really re-download HikaMarket 1.6.7 in our website, you will have the patch.

So, let's apply that patch manually !
Edit the file "administrator/components/com_hikamarket/classes/vendor.php" and replace

$query = 'SELECT a.* FROM '.hikamarket::table('shop.order').' AS hk_order WHERE (' . implode(') AND (', $filters) . ')';
By
$query = 'SELECT hk_order.* FROM '.hikamarket::table('shop.order').' AS hk_order WHERE (' . implode(') AND (', $filters) . ')';

And I invite you to check your website write permission and also to your browser download cache.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
8 years 2 months ago #229308

Hi Jerome,

When I opened the Vendor.php file the code you wanted to change manually already was there. So it appeared that the update went well.
I also cleared my browsers cache and the server cache. The white screen still shows.
This leaves open one remark in your last answer. 'check website write permissions'. Although I didn't change permissions I need to know which permissions to set to which file/directory to know what is right or wrong?

Sjaak

Last edit: 8 years 2 months ago by Sjaak.

Please Log in or Create an account to join the conversation.

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
8 years 2 months ago #229310

Hi,

The browser cache was for the download of HikaMarket.
The write permission was for the update of HikaMarket in your server.

If you still have a white screen it means that you still have an error.
But if the previous SQL error is fixed, we can imagine that you have another issue.
And we return to the same question : what is your error message ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
8 years 2 months ago #229340

Hi Jerome,

I don't get an error message on my screen. The screen stays white even with error reporting set to maximum.
I searched my server and found a directory called 'Logs' outside the root. In that directory I found a file called 'error_log'. Is that what you need?

Below I past the text in that file after I tried to do a payment:

<br />
<b>Deprecated</b>:  Function ereg() is deprecated in <b>/home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/include/fun_extra.php</b> on line <b>475</b><br />
<br />
<b>Deprecated</b>:  Function ereg() is deprecated in <b>/home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/include/fun_extra.php</b> on line <b>477</b><br />
<br />
<b>Deprecated</b>:  Function ereg() is deprecated in <b>/home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/include/fun_extra.php</b> on line <b>479</b><br />
<br />
<b>Deprecated</b>:  Function ereg() is deprecated in <b>/home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/include/fun_extra.php</b> on line <b>481</b><br />
<br />
<b>Deprecated</b>:  Function ereg() is deprecated in <b>/home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/include/fun_extra.php</b> on line <b>483</b><br />
[Tue Feb 09 07:54:03.238639 2016] [fcgid:warn] [pid 30131] [client 90.145.52.106:55251] mod_fcgid: stderr: PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/include/fun_list.php on line 653, referer: http://www.artlantismedia.com/administrator/index.php?option=com_hikamarket&ctrl=vendor
[Tue Feb 09 07:54:03.238675 2016] [fcgid:warn] [pid 30131] [client 90.145.52.106:55251] mod_fcgid: stderr: PHP Warning:  is_link(): open_basedir restriction in effect. File(/home/httpd/vhosts/artlantismedia.com/conf) is not within the allowed path(s): (/home/httpd/vhosts/artlantismedia.com/:/tmp/) in /home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/libraries/File_Operations.php on line 288, referer: http://www.artlantismedia.com/administrator/index.php?option=com_hikamarket&ctrl=vendor
[Tue Feb 09 07:54:03.238682 2016] [fcgid:warn] [pid 30131] [client 90.145.52.106:55251] mod_fcgid: stderr: PHP Warning:  is_link(): open_basedir restriction in effect. File(/home/httpd/vhosts/artlantismedia.com/conf) is not within the allowed path(s): (/home/httpd/vhosts/artlantismedia.com/:/tmp/) in /home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/libraries/File_Operations.php on line 288, referer: http://www.artlantismedia.com/administrator/index.php?option=com_hikamarket&ctrl=vendor
[Tue Feb 09 07:54:03.238687 2016] [fcgid:warn] [pid 30131] [client 90.145.52.106:55251] mod_fcgid: stderr: PHP Warning:  is_link(): open_basedir restriction in effect. File(/home/httpd/vhosts/artlantismedia.com/statistics) is not within the allowed path(s): (/home/httpd/vhosts/artlantismedia.com/:/tmp/) in /home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/libraries/File_Operations.php on line 288, referer: http://www.artlantismedia.com/administrator/index.php?option=com_hikamarket&ctrl=vendor
[Tue Feb 09 07:54:03.238693 2016] [fcgid:warn] [pid 30131] [client 90.145.52.106:55251] mod_fcgid: stderr: PHP Warning:  is_link(): open_basedir restriction in effect. File(/home/httpd/vhosts/artlantismedia.com/statistics) is not within the allowed path(s): (/home/httpd/vhosts/artlantismedia.com/:/tmp/) in /home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/libraries/File_Operations.php on line 288, referer: http://www.artlantismedia.com/administrator/index.php?option=com_hikamarket&ctrl=vendor
[Tue Feb 09 07:54:13.170132 2016] [fcgid:warn] [pid 30131] [client 90.145.52.106:55284] mod_fcgid: stderr: PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/include/fun_list.php on line 653, referer: http://www.artlantismedia.com/administrator/index.php?option=com_osefileman
[Tue Feb 09 07:54:30.745955 2016] [fcgid:warn] [pid 27478] [client 90.145.52.106:55295] mod_fcgid: stderr: PHP Deprecated:  Function ereg() is deprecated in /home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/include/fun_extra.php on line 475, referer: http://www.artlantismedia.com/administrator/index.php?option=com_osefileman&action=list&dir=logs&order=name&srt=yes
[Tue Feb 09 07:54:30.745979 2016] [fcgid:warn] [pid 27478] [client 90.145.52.106:55295] mod_fcgid: stderr: PHP Deprecated:  Function ereg() is deprecated in /home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/include/fun_extra.php on line 477, referer: http://www.artlantismedia.com/administrator/index.php?option=com_osefileman&action=list&dir=logs&order=name&srt=yes
[Tue Feb 09 07:54:30.745983 2016] [fcgid:warn] [pid 27478] [client 90.145.52.106:55295] mod_fcgid: stderr: PHP Deprecated:  Function ereg() is deprecated in /home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/include/fun_extra.php on line 479, referer: http://www.artlantismedia.com/administrator/index.php?option=com_osefileman&action=list&dir=logs&order=name&srt=yes
[Tue Feb 09 07:54:30.745997 2016] [fcgid:warn] [pid 27478] [client 90.145.52.106:55295] mod_fcgid: stderr: PHP Deprecated:  Function ereg() is deprecated in /home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/include/fun_extra.php on line 481, referer: http://www.artlantismedia.com/administrator/index.php?option=com_osefileman&action=list&dir=logs&order=name&srt=yes
[Tue Feb 09 07:54:30.746001 2016] [fcgid:warn] [pid 27478] [client 90.145.52.106:55295] mod_fcgid: stderr: PHP Deprecated:  Function ereg() is deprecated in /home/httpd/vhosts/artlantismedia.com/httpdocs/administrator/components/com_osefileman/include/fun_extra.p

Last edit: 8 years 2 months ago by Jerome. Reason: [code] is nice

Please Log in or Create an account to join the conversation.

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
8 years 2 months ago #229372

Hi,

So I will need an administrator access to your website and also a FTP access to be able to check files directly.
Please use the "contact us" form to send us such kind of private information.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
8 years 2 months ago #229472

Hi Jerome,

I sent you login details via the contact form.

Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
8 years 2 months ago #229537

Hi,

Thanks for the access but unfortunately, the URL to access to the backend don't work.
I'm automatically redirected to the front-end homepage.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
8 years 2 months ago #229605

Hi,

I was able to take a look at your website and it looks like your issue is coming from a external plugin and as no link with HikaMarket.

If I edit the HikaShop order class and I replace

	if($new) {
		$send_email = $this->sendEmailAfterOrderCreation;
		$dispatcher->trigger('onAfterOrderCreate', array(&$order, &$send_email));
By
	if($new) {
		$send_email = false;
		if($order_type != 'vendorpayment') {
			$send_email = $this->sendEmailAfterOrderCreation;
			$dispatcher->trigger('onAfterOrderCreate', array(&$order, &$send_email));
		}
I am then able to pay the vendors.

It means that, during the trigger "onAfterOrderCreate" (or in the email "order_creation_notification") ; there is an issue.
Because we cannot see anything in the log (a PHP error or a SQL error), I suppose that a plugin is performing an "exit" which stop completely the PHP processing.

So I am afraid that I cannot do anything in HikaMarket to solve that issue if it is not coming from HikaMarket.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 8 years 2 months ago by Jerome. Reason: replacing test on "== sale" into a test on "!= vendorpayment"

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
8 years 2 months ago #229639

Hi Jerome,

Is the change you mention currently still active? I can now use the payment button.
Can the software function with the changes you made?
If the problem is not caused by hikashop/-market software then what can you advise me to do to find out which plugin can be the cause?

Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
8 years 2 months ago #229654

Hi,

When I submit my message, I was able to pay one vendor (the one who have 1 order of 3€).
Before the patch, I couldn't. After the patch it worked.
Now I can't access anymore to your backend (as previous).. So I can't say anymore !

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 5
8 years 2 months ago #229660

Ooops, Sorry about that.

i didn't know you wanted to go back in so I reactivated the safety layer. It's deactivated now. You should be able to log in again.

Sjaak

Please Log in or Create an account to join the conversation.

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
8 years 2 months ago #229698

Hi,

Sorry, I made it working once again.
See the "order" with ID 7571 : administrator/index.php?option=com_hikashop&ctrl=order&task=edit&cid=7571

After the creation of that vendor payment, I revert some elements.
Because the vendor order "4931" has been marked as paid ; I removed the information into the column "order_vendor_paid" to re-mark it as unpaid.

The vendor payment is working in your website.
The order is generated, the subsales are marked as paid...

So if you have issues ; the best would be to explain what you're doing.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.081 seconds
Powered by Kunena Forum