*

Daniel PM

  • ****
  • 111 posts
Question about 'Send to friend' button and 'user items'
« on: February 15, 2016, 06:48:30 AM »
Hello, I would like to know if something is wrong with my server settings or folder permissions, because I have been testing the 'send to a friend' button (the one with the paper airplane icon), but no email arrives to the 'friend' email, I know the email configuration is fine because the 'messages' feature work ok.

In other topic, when I test the theme, registering a new user an posting an ad, I log off and then enter that ad as a guest user, and when I click over the 'items' button below the username, to see all the ads published by that user, I get an error page (the one with the cell and monitor)

Thanks for reading this, hoping I get a solution.

Regards.

Daniel.
Daniel PM

*

MB Themes

Re: Question about 'Send to friend' button and 'user items'
« Reply #1 on: February 15, 2016, 07:33:27 AM »
@Daniel PM
1) I will test it today
2) Send screenshot + link where it is.

//Edit: point 1) tested and mails are working fine
« Last Edit: February 15, 2016, 07:39:01 AM by frosticek »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MB Themes

Re: Question about 'Send to friend' button and 'user items'
« Reply #2 on: February 15, 2016, 08:28:09 AM »
@Daniel PM
1) tested on your site and in theme everything is ok
2) Go to file:
oc-content/plugins/list_seller_items/index.php

Find line:
Code: [Select]
  if(osc_get_preference('rewriteEnabled', 'osclass') <> 1) {
    $url = osc_base_url() . 'index.php?page=search&seller_post=' . osc_item_user_id();
  } else {
    $url = osc_base_url() . 'search/seller_post,' . osc_item_user_id() . '/iPage';
  }


Replace with:
Code: [Select]
$url = osc_base_url() . 'index.php?page=search&seller_post=' . osc_item_user_id();
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Daniel PM

  • ****
  • 111 posts
Re: Question about 'Send to friend' button and 'user items'
« Reply #3 on: February 15, 2016, 03:50:44 PM »
Thanks, user items showing just fine, problem solved.

I will retry on sending 'to a friend' more emails, it's weird I don't receive any. I will record a video of my desktop and I will send you the link. (when I send the ad to a friend, the popup box shows fine, and even says that the email has been sent to 'friend name', but the email does not arrives.

Thanks a lot frosticek, great support! :) :)
Daniel PM

*

Daniel PM

  • ****
  • 111 posts
Re: Question about 'Send to friend' button and 'user items'
« Reply #4 on: February 15, 2016, 07:20:03 PM »
I had to delete the send to a friend button, because it just didn't send the email. I know is not a Zara theme issue. Probably my server is messed up.

-----------------------

To delete that button I went to oc-content/themes/zara/item.php and deleted line 208

<a id="send-friend" href="<?php echo osc_item_send_friend_url(); ?>" class="tr1" title="<?php echo osc_esc_html(__('Send this listing to your friend', 'zara')); ?>"><i class="fa fa-paper-plane tr1"></i></a>




There, no more paper plane icon :P. besides, that's now part of social networks anyways.

Thanks for your help Frosticek :)
Daniel PM

*

Marko

  • ***
  • 66 posts
Re: Question about 'Send to friend' button and 'user items'
« Reply #5 on: February 16, 2016, 04:57:57 AM »
No issues on my end. :)

*

Gile

  • ***
  • 42 posts
Re: Question about 'Send to friend' button and 'user items'
« Reply #6 on: May 10, 2016, 12:50:01 PM »
I got this error while try to send to friend function :
Code: [Select]
Warning: current() expects parameter 1 to be array, null given in .../public_html/oc-includes/osclass/emails.php on line 521
Warning: Cannot modify header information - headers already sent by (output started at .../public_html/oc-includes/osclass/utils.php:1740) in  ..../public_html/oc-includes/osclass/utils.php on line 1745


*

MB Themes

Re: Question about 'Send to friend' button and 'user items'
« Reply #7 on: May 10, 2016, 01:44:39 PM »
@darko
You see that error does not reference to theme files.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Daniel PM

  • ****
  • 111 posts
Re: Question about 'Send to friend' button and 'user items'
« Reply #8 on: May 10, 2016, 03:49:29 PM »
My share button works fine now :) :)
Daniel PM

*

Gile

  • ***
  • 42 posts
Re: Question about 'Send to friend' button and 'user items'
« Reply #9 on: May 11, 2016, 03:41:21 PM »
I start move content to another server , I want to find out if server settings made some error issue.
I'll back toy soon  ;)

*

Gile

  • ***
  • 42 posts
Re: Question about 'Send to friend' button and 'user items'
« Reply #10 on: May 20, 2016, 05:59:15 PM »
@darko
You see that error does not reference to theme files.


Hi, Thanks for support.After I moved the contents to another server error is gone and now works ok.
So, to conclude : many errors that I discovered depend on server settings.My recommendation is not to use a share servers they are limited to the options service provider.


Cheers  ;)

*

MB Themes

Re: Question about 'Send to friend' button and 'user items'
« Reply #11 on: May 20, 2016, 09:42:07 PM »
@darko
You can save few dollars on cheap server, but it will not save your time...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Gile

  • ***
  • 42 posts
Re: Question about 'Send to friend' button and 'user items'
« Reply #12 on: May 20, 2016, 09:56:03 PM »
I agree ,you're right. The best way is to lease a dedicated VPS and configure it according to your needs :)
Of course you need to know the server technology  ;)